HBmlPatternsPanel Class Reference

Multiple Line block pattern editing panel. class used to display and edit both text patterns form MultiLinesHighlightBlock. More...

#include <HBmlPatternsPanel.h>

Inheritance diagram for HBmlPatternsPanel:

QGroupBox

List of all members.

Public Member Functions

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

Private Slots

void patternEditChanged ()

Private Attributes

MultiLinesHighlightBlockblock
 pointer to currently edited block
QLabel * sPatternLabel
 Label showing basic info above starting pattern edit.
QPlainTextEdit * sPatternEdit
 Plain Text Edit where starting pattern is edited.
QLabel * ePatternLabel
 Label showing basic info above ending pattern edit.
QPlainTextEdit * ePatternEdit
 Plain Text Edit where ending pattern is edited.
QVBoxLayout * layout


Detailed Description

Multiple Line block pattern editing panel. class used to display and edit both text patterns form MultiLinesHighlightBlock.

Definition at line 21 of file HBmlPatternsPanel.h.


Constructor & Destructor Documentation

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

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

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

Definition at line 40 of file HBmlPatternsPanel.h.

References block, ePatternEdit, ePatternLabel, MultiLinesHighlightBlock::getEndingPattern(), MultiLinesHighlightBlock::getStartingPattern(), layout, patternEditChanged(), sPatternEdit, and sPatternLabel.


Member Function Documentation

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

slot for updating both patterns after any change

Definition at line 64 of file HBmlPatternsPanel.h.

References block, ePatternEdit, MultiLinesHighlightBlock::setEndingPattern(), MultiLinesHighlightBlock::setStartingPattern(), and sPatternEdit.

Referenced by HBmlPatternsPanel().


Member Data Documentation

pointer to currently edited block

Definition at line 25 of file HBmlPatternsPanel.h.

Referenced by HBmlPatternsPanel(), and patternEditChanged().

QPlainTextEdit* HBmlPatternsPanel::ePatternEdit [private]

Plain Text Edit where ending pattern is edited.

Definition at line 29 of file HBmlPatternsPanel.h.

Referenced by HBmlPatternsPanel(), and patternEditChanged().

Label showing basic info above ending pattern edit.

Definition at line 28 of file HBmlPatternsPanel.h.

Referenced by HBmlPatternsPanel().

QVBoxLayout* HBmlPatternsPanel::layout [private]

Definition at line 30 of file HBmlPatternsPanel.h.

Referenced by HBmlPatternsPanel().

QPlainTextEdit* HBmlPatternsPanel::sPatternEdit [private]

Plain Text Edit where starting pattern is edited.

Definition at line 27 of file HBmlPatternsPanel.h.

Referenced by HBmlPatternsPanel(), and patternEditChanged().

Label showing basic info above starting pattern edit.

Definition at line 26 of file HBmlPatternsPanel.h.

Referenced by HBmlPatternsPanel().


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