HBInfoPanel Class Reference

Class specifying look and behavior of panel used to edit HighlightBlock formating. More...

#include <HBInfoPanel.h>

Inheritance diagram for HBInfoPanel:

QGroupBox

List of all members.

Public Member Functions

 HBInfoPanel (QWidget *parent, HighlightBlock *_block)
 Constructor of this panel. Setups edited block and UI it also connects all edits with appropriate slots.

Private Slots

void descriptionChanged ()
 updating description in real time

Private Attributes

HighlightBlockblock
 Currently edited block.
HSyntaxHighlighterSettingssettings
 currently edited settings(just for HSyntaxHighlighterSettings::renameBlock)
QVBoxLayout * mainLayout
 Layout organizing QGroupBox.
QPlainTextEdit * descriptionEdit
 Edit for description editing.
QLabel * descriptionLabel
 Label above description Edit.


Detailed Description

Class specifying look and behavior of panel used to edit HighlightBlock formating.

Definition at line 23 of file HBInfoPanel.h.


Constructor & Destructor Documentation

HBInfoPanel::HBInfoPanel ( QWidget *  parent,
HighlightBlock _block 
) [inline]

Constructor of this panel. Setups edited block and UI it also connects all edits with appropriate slots.

Parameters:
parent QWidget's parent
_block block pointing to edited block

Definition at line 40 of file HBInfoPanel.h.

References block, descriptionChanged(), descriptionEdit, descriptionLabel, HighlightBlock::getDescription(), and mainLayout.


Member Function Documentation

void HBInfoPanel::descriptionChanged (  )  [inline, private, slot]

updating description in real time

Definition at line 58 of file HBInfoPanel.h.

References block, descriptionEdit, and HighlightBlock::setDescription().

Referenced by HBInfoPanel().


Member Data Documentation

Currently edited block.

Definition at line 27 of file HBInfoPanel.h.

Referenced by descriptionChanged(), and HBInfoPanel().

QPlainTextEdit* HBInfoPanel::descriptionEdit [private]

Edit for description editing.

Definition at line 30 of file HBInfoPanel.h.

Referenced by descriptionChanged(), and HBInfoPanel().

QLabel* HBInfoPanel::descriptionLabel [private]

Label above description Edit.

Definition at line 31 of file HBInfoPanel.h.

Referenced by HBInfoPanel().

QVBoxLayout* HBInfoPanel::mainLayout [private]

Layout organizing QGroupBox.

Definition at line 29 of file HBInfoPanel.h.

Referenced by HBInfoPanel().

currently edited settings(just for HSyntaxHighlighterSettings::renameBlock)

Definition at line 28 of file HBInfoPanel.h.


The documentation for this class was generated from the following file:

Generated on Fri Jan 9 00:50:43 2009 for HSyntaxHighlighter by  doxygen 1.5.8