Part of the filter setup dialog (class FilterSetupDialog) to show a criteria of the selected filter. More...
#include <filtercriteriawidget.h>
Public Member Functions | |
FilterCriteriaWidget (QWidget *parent=0) | |
~FilterCriteriaWidget () | |
void | setNumCriteria (int source, int condition, uint value) |
void | setTextCriteria (int source, int condition, QString value, bool cs) |
void | setTextListCriteria (int source, int condition, QString value, bool cs) |
FilterCriteria_Type | getValues () |
Private Slots | |
void | slotSetWidgets () |
void | slotOpenRegExpCheck () |
Private Attributes | |
KComboBox * | cmbSource |
KComboBox * | cmbConditionText |
KComboBox * | cmbConditionTextList |
KComboBox * | cmbConditionNum |
KLineEdit * | txtCompValueText |
KIntNumInput * | spbCompValueNum |
QCheckBox * | chkCaseSensitive |
KPushButton * | btnOpenRegExpEditor |
Part of the filter setup dialog (class FilterSetupDialog) to show a criteria of the selected filter.
Definition at line 76 of file filtercriteriawidget.h.
FilterCriteriaWidget::FilterCriteriaWidget | ( | QWidget * | parent = 0 |
) |
Constructor
parent | parent widget |
Definition at line 21 of file filtercriteriawidget.cpp.
FilterCriteriaWidget::~FilterCriteriaWidget | ( | ) |
Destructor
Definition at line 152 of file filtercriteriawidget.cpp.
FilterCriteria_Type FilterCriteriaWidget::getValues | ( | ) |
Returns the values of the criteria.
Definition at line 346 of file filtercriteriawidget.cpp.
void FilterCriteriaWidget::setNumCriteria | ( | int | source, | |
int | condition, | |||
uint | value | |||
) |
Sets the values of a numeric criteria.
source | Object of Comparison (see constants.h for valid values)
|
Definition at line 245 of file filtercriteriawidget.cpp.
void FilterCriteriaWidget::setTextCriteria | ( | int | source, | |
int | condition, | |||
QString | value, | |||
bool | cs | |||
) |
Sets the values of a text criteria.
source | Object of Comparison (see constants.h for valid values)
|
Definition at line 277 of file filtercriteriawidget.cpp.
void FilterCriteriaWidget::setTextListCriteria | ( | int | source, | |
int | condition, | |||
QString | value, | |||
bool | cs | |||
) |
Sets the values of a text list criteria.
source | Object of Comparison (see constants.h for valid values)
|
Definition at line 313 of file filtercriteriawidget.cpp.
void FilterCriteriaWidget::slotOpenRegExpCheck | ( | ) | [private, slot] |
Opens a dialog to check a regex
Definition at line 226 of file filtercriteriawidget.cpp.
void FilterCriteriaWidget::slotSetWidgets | ( | ) | [private, slot] |
Connected with combobox cmbSource. Hides or shows the widgets dependent on the criteria source (text or numeric).
Definition at line 156 of file filtercriteriawidget.cpp.
KPushButton* FilterCriteriaWidget::btnOpenRegExpEditor [private] |
Button to open the regular expression editor.
Definition at line 166 of file filtercriteriawidget.h.
QCheckBox* FilterCriteriaWidget::chkCaseSensitive [private] |
Checkbox to select case sensitive.
Definition at line 161 of file filtercriteriawidget.h.
KComboBox* FilterCriteriaWidget::cmbConditionNum [private] |
Combobox to select the condition of a numeric source (Size, ...)
Definition at line 146 of file filtercriteriawidget.h.
KComboBox* FilterCriteriaWidget::cmbConditionText [private] |
Combobox to select the condition of a text source (From, To, ...)
Definition at line 136 of file filtercriteriawidget.h.
KComboBox* FilterCriteriaWidget::cmbConditionTextList [private] |
Combobox to select the condition of a text list source (Header)
Definition at line 141 of file filtercriteriawidget.h.
KComboBox* FilterCriteriaWidget::cmbSource [private] |
Combobox to select the source of the criteria.
Definition at line 131 of file filtercriteriawidget.h.
KIntNumInput* FilterCriteriaWidget::spbCompValueNum [private] |
Spin Box for a numeric comparative value.
Definition at line 156 of file filtercriteriawidget.h.
KLineEdit* FilterCriteriaWidget::txtCompValueText [private] |
Line for a text comparative value.
Definition at line 151 of file filtercriteriawidget.h.