HBslPatternsPanel Class Reference

Single Line block pattern editing panel Class used to display and edit single text pattern form SingleLineHighlightBlock. More...

#include <HBslPatternsPanel.h>

Inheritance diagram for HBslPatternsPanel:

QGroupBox

List of all members.

Public Member Functions

 HBslPatternsPanel (QWidget *parent, HighlightBlock *_block)
 Constructor of this panel This constructor setups edited block and User interface. He also connects signal textChanged() with slot patternEditChanged(), so any changes made to text in editing field affects block.

Private Slots

void patternEditChanged ()

Private Attributes

SingleLineHighlightBlockblock
 pointer to currently edited block
QLabel * patternLabel
 Label showing basic info.
QPlainTextEdit * patternEdit
 Plain Text Edit where pattern is edited.
QVBoxLayout * layout
 layout used to organize this Widgets


Detailed Description

Single Line block pattern editing panel Class used to display and edit single text pattern form SingleLineHighlightBlock.

Definition at line 22 of file HBslPatternsPanel.h.


Constructor & Destructor Documentation

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

Constructor of this panel This constructor setups edited block and User interface. He also connects signal textChanged() with slot patternEditChanged(), so any changes made to text in editing field affects block.

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

Definition at line 39 of file HBslPatternsPanel.h.

References block, HighlightBlock::getName(), SingleLineHighlightBlock::getPattern(), layout, patternEdit, patternEditChanged(), and patternLabel.


Member Function Documentation

void HBslPatternsPanel::patternEditChanged (  )  [inline, private, slot]

slot for updating pattern after any change

Definition at line 55 of file HBslPatternsPanel.h.

References block, patternEdit, and SingleLineHighlightBlock::setPattern().

Referenced by HBslPatternsPanel().


Member Data Documentation

pointer to currently edited block

Definition at line 26 of file HBslPatternsPanel.h.

Referenced by HBslPatternsPanel(), and patternEditChanged().

QVBoxLayout* HBslPatternsPanel::layout [private]

layout used to organize this Widgets

Definition at line 29 of file HBslPatternsPanel.h.

Referenced by HBslPatternsPanel().

QPlainTextEdit* HBslPatternsPanel::patternEdit [private]

Plain Text Edit where pattern is edited.

Definition at line 28 of file HBslPatternsPanel.h.

Referenced by HBslPatternsPanel(), and patternEditChanged().

Label showing basic info.

Definition at line 27 of file HBslPatternsPanel.h.

Referenced by HBslPatternsPanel().


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

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