#include <HBslPatternsPanel.h>

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 | |
| SingleLineHighlightBlock * | block |
| 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 | |
Definition at line 22 of file HBslPatternsPanel.h.
| 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.
| parent | QWidget's parent | |
| _block | block pointing to edited block |
Definition at line 39 of file HBslPatternsPanel.h.
References block, SingleLineHighlightBlock::getPattern(), layout, patternEdit, patternEditChanged(), and patternLabel.
| void HBslPatternsPanel::patternEditChanged | ( | ) | [inline, private, slot] |
slot for updating pattern after any change
Definition at line 56 of file HBslPatternsPanel.h.
References block, patternEdit, and SingleLineHighlightBlock::setPattern().
Referenced by HBslPatternsPanel().
SingleLineHighlightBlock* HBslPatternsPanel::block [private] |
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().
QLabel* HBslPatternsPanel::patternLabel [private] |
Label showing basic info.
Definition at line 27 of file HBslPatternsPanel.h.
Referenced by HBslPatternsPanel().
1.5.8