tfFilter Class Reference
#include <tffilter.h>

Signals | |
| void | removeClicked (tfFilter *tff) |
| void | addClicked (tfFilter *tff) |
Public Member Functions | |
| tfFilter (QWidget *parent, const char *name, int action, QString regExp, QString replace, QString pstyleName, int less, int more, int style, bool match, bool enabled, bool regexp) | |
| tfFilter (QWidget *parent=0, const char *name=0) | |
| ~tfFilter () | |
| void | setRemovable (bool b) |
| int | getAction () |
| QString | regExp () |
| QString | replaceWith () |
| QString | getPStyleName () |
| int | getLessThan () |
| int | getMoreThan () |
| int | getStyle () |
| bool | removeMatch () |
| bool | isEnabled () |
| bool | isRegExp () |
Private Slots | |
| void | enableToggled (bool on) |
| void | addClick () |
| void | removeClick () |
| void | firstChanged (int index) |
| void | secondChanged (int index) |
| void | thirdChanged (int index) |
| void | fourthChanged (int index) |
| void | fifthChanged (int index) |
| void | sixthChanged (int index) |
Private Member Functions | |
| void | createWidget () |
| void | getFirstCombo () |
| void | getSecondCombo () |
| void | getThirdCombo (int secondIndex) |
| void | getFourthCombo () |
| void | getFifthCombo () |
| void | getSixthCombo () |
| void | resetBRow () |
| void | getParagraphStyles () |
Private Attributes | |
| QCheckBox * | enableCheck |
| QBoxLayout * | alayout |
| QBoxLayout * | blayout |
| QFrame * | actionFrame |
| QComboBox * | firstCombo |
| QLabel * | firstLabel |
| QComboBox * | secondCombo |
| QCheckBox * | secondRegexpCheck |
| QLabel * | secondLabel |
| QComboBox * | thirdCombo |
| QLabel * | thirdLabel |
| QComboBox * | fourthCombo |
| QLabel * | fourthLabel |
| QComboBox * | fifthCombo |
| QCheckBox * | fifthRegexpCheck |
| QLabel * | fifthLabel |
| QComboBox * | sixthCombo |
| QPushButton * | removeButton |
| QPushButton * | addButton |
| int | currentAction |
| PrefsContext * | prefs |
| PrefsTable * | history |
Detailed Description
Definition at line 39 of file tffilter.h.
Constructor & Destructor Documentation
| tfFilter::tfFilter | ( | QWidget * | parent, | |
| const char * | name, | |||
| int | action, | |||
| QString | regExp, | |||
| QString | replace, | |||
| QString | pstyleName, | |||
| int | less, | |||
| int | more, | |||
| int | style, | |||
| bool | match, | |||
| bool | enabled, | |||
| bool | regexp | |||
| ) |
Definition at line 26 of file tffilter.cpp.
References APPLY, createWidget(), currentAction, enableCheck, enableToggled(), fifthCombo, fifthRegexpCheck, firstChanged(), firstCombo, fourthChanged(), fourthCombo, LESS_THAN, MORE_THAN, REMOVE, REPLACE, secondCombo, secondRegexpCheck, setCurrentComboItem(), sixthCombo, STARTS_WITH, and thirdCombo.
| tfFilter::tfFilter | ( | QWidget * | parent = 0, |
|
| const char * | name = 0 | |||
| ) |
| tfFilter::~tfFilter | ( | ) |
Definition at line 585 of file tffilter.cpp.
Member Function Documentation
| void tfFilter::createWidget | ( | ) | [private] |
Definition at line 82 of file tffilter.cpp.
References actionFrame, addButton, addClick(), alayout, blayout, currentAction, enableCheck, enableToggled(), fifthCombo, fifthLabel, fifthRegexpCheck, firstCombo, firstLabel, fourthCombo, fourthLabel, getFirstCombo(), PrefsFile::getPluginContext(), PrefsContext::getTable(), history, PrefsManager::instance(), loadIcon(), prefs, PrefsManager::prefsFile, REMOVE, removeButton, removeClick(), secondCombo, secondLabel, secondRegexpCheck, sixthCombo, thirdCombo, thirdLabel, and tr().
Referenced by tfFilter().
| void tfFilter::getFirstCombo | ( | ) | [private] |
Definition at line 244 of file tffilter.cpp.
References actionFrame, alayout, firstChanged(), firstCombo, firstLabel, getSecondCombo(), resetBRow(), and tr().
Referenced by createWidget().
| void tfFilter::getSecondCombo | ( | ) | [private] |
Definition at line 271 of file tffilter.cpp.
References actionFrame, alayout, APPLY, currentAction, firstLabel, getThirdCombo(), REMOVE, REPLACE, resetBRow(), secondChanged(), secondCombo, secondLabel, secondRegexpCheck, and tr().
Referenced by firstChanged(), and getFirstCombo().
| void tfFilter::getThirdCombo | ( | int | secondIndex | ) | [private] |
Definition at line 327 of file tffilter.cpp.
References actionFrame, alayout, APPLY, blayout, currentAction, getFourthCombo(), getParagraphStyles(), REMOVE, REPLACE, thirdChanged(), thirdCombo, and thirdLabel.
Referenced by getSecondCombo().
| void tfFilter::getFourthCombo | ( | ) | [private] |
Definition at line 374 of file tffilter.cpp.
References actionFrame, APPLY, blayout, currentAction, fourthChanged(), fourthCombo, fourthLabel, getFifthCombo(), thirdLabel, and tr().
Referenced by getThirdCombo().
| void tfFilter::getFifthCombo | ( | ) | [private] |
Definition at line 409 of file tffilter.cpp.
References actionFrame, blayout, fifthChanged(), fifthCombo, fifthLabel, fifthRegexpCheck, getSixthCombo(), and tr().
Referenced by getFourthCombo().
| void tfFilter::getSixthCombo | ( | ) | [private] |
Definition at line 438 of file tffilter.cpp.
References actionFrame, blayout, sixthChanged(), and sixthCombo.
Referenced by getFifthCombo().
| void tfFilter::resetBRow | ( | ) | [private] |
Definition at line 450 of file tffilter.cpp.
References fifthCombo, fifthLabel, fifthRegexpCheck, fourthCombo, fourthLabel, sixthCombo, and thirdLabel.
Referenced by getFirstCombo(), and getSecondCombo().
| void tfFilter::getParagraphStyles | ( | ) | [private] |
Definition at line 488 of file tffilter.cpp.
References StyleSet< STYLE >::count(), ScribusMainWindow::doc, ScribusDoc::paragraphStyles(), ScribusCore::primaryMainWindow(), ScCore, and thirdCombo.
Referenced by getThirdCombo().
| void tfFilter::setRemovable | ( | bool | b | ) |
| int tfFilter::getAction | ( | ) |
Definition at line 497 of file tffilter.cpp.
References currentAction.
Referenced by tfDia::writeFilterRow().
| QString tfFilter::regExp | ( | ) |
Definition at line 502 of file tffilter.cpp.
References APPLY, currentAction, fifthCombo, REMOVE, REPLACE, and secondCombo.
Referenced by tfDia::writeFilterRow().
| QString tfFilter::replaceWith | ( | ) |
Definition at line 524 of file tffilter.cpp.
References thirdCombo.
Referenced by tfDia::writeFilterRow().
| QString tfFilter::getPStyleName | ( | ) |
Definition at line 531 of file tffilter.cpp.
References thirdCombo.
Referenced by tfDia::writeFilterRow().
| int tfFilter::getLessThan | ( | ) |
Definition at line 538 of file tffilter.cpp.
References fifthCombo.
Referenced by getMoreThan(), and tfDia::writeFilterRow().
| int tfFilter::getMoreThan | ( | ) |
Definition at line 565 of file tffilter.cpp.
References getLessThan().
Referenced by tfDia::writeFilterRow().
| int tfFilter::getStyle | ( | ) |
Definition at line 551 of file tffilter.cpp.
References fourthCombo.
Referenced by tfDia::writeFilterRow().
| bool tfFilter::removeMatch | ( | ) |
Definition at line 558 of file tffilter.cpp.
References sixthCombo.
Referenced by tfDia::writeFilterRow().
| bool tfFilter::isEnabled | ( | ) |
Definition at line 570 of file tffilter.cpp.
References enableCheck.
Referenced by tfDia::writeFilterRow().
| bool tfFilter::isRegExp | ( | ) |
Definition at line 575 of file tffilter.cpp.
References APPLY, currentAction, fifthRegexpCheck, REMOVE, REPLACE, and secondRegexpCheck.
Referenced by tfDia::writeFilterRow().
| void tfFilter::removeClicked | ( | tfFilter * | tff | ) | [signal] |
Referenced by removeClick().
| void tfFilter::addClicked | ( | tfFilter * | tff | ) | [signal] |
Referenced by addClick().
| void tfFilter::enableToggled | ( | bool | on | ) | [private, slot] |
Definition at line 156 of file tffilter.cpp.
References actionFrame.
Referenced by createWidget(), and tfFilter().
| void tfFilter::addClick | ( | ) | [private, slot] |
| void tfFilter::removeClick | ( | ) | [private, slot] |
Definition at line 166 of file tffilter.cpp.
References removeClicked().
Referenced by createWidget().
| void tfFilter::firstChanged | ( | int | index | ) | [private, slot] |
Definition at line 171 of file tffilter.cpp.
References currentAction, and getSecondCombo().
Referenced by getFirstCombo(), and tfFilter().
| void tfFilter::secondChanged | ( | int | index | ) | [private, slot] |
| void tfFilter::thirdChanged | ( | int | index | ) | [private, slot] |
| void tfFilter::fourthChanged | ( | int | index | ) | [private, slot] |
Definition at line 187 of file tffilter.cpp.
References ALL_PARAGRAPHS, APPLY, currentAction, fifthCombo, fifthLabel, fifthRegexpCheck, fourthLabel, LESS_THAN, MORE_THAN, sixthCombo, STARTS_WITH, thirdLabel, and tr().
Referenced by getFourthCombo(), and tfFilter().
| void tfFilter::fifthChanged | ( | int | index | ) | [private, slot] |
| void tfFilter::sixthChanged | ( | int | index | ) | [private, slot] |
Member Data Documentation
QCheckBox* tfFilter::enableCheck [private] |
Definition at line 43 of file tffilter.h.
Referenced by createWidget(), isEnabled(), and tfFilter().
QBoxLayout* tfFilter::alayout [private] |
Definition at line 44 of file tffilter.h.
Referenced by createWidget(), getFirstCombo(), getSecondCombo(), and getThirdCombo().
QBoxLayout* tfFilter::blayout [private] |
Definition at line 45 of file tffilter.h.
Referenced by createWidget(), getFifthCombo(), getFourthCombo(), getSixthCombo(), and getThirdCombo().
QFrame* tfFilter::actionFrame [private] |
Definition at line 46 of file tffilter.h.
Referenced by createWidget(), enableToggled(), getFifthCombo(), getFirstCombo(), getFourthCombo(), getSecondCombo(), getSixthCombo(), and getThirdCombo().
QComboBox* tfFilter::firstCombo [private] |
Definition at line 47 of file tffilter.h.
Referenced by createWidget(), getFirstCombo(), and tfFilter().
QLabel* tfFilter::firstLabel [private] |
Definition at line 48 of file tffilter.h.
Referenced by createWidget(), getFirstCombo(), and getSecondCombo().
QComboBox* tfFilter::secondCombo [private] |
Definition at line 49 of file tffilter.h.
Referenced by createWidget(), getSecondCombo(), regExp(), and tfFilter().
QCheckBox* tfFilter::secondRegexpCheck [private] |
Definition at line 50 of file tffilter.h.
Referenced by createWidget(), getSecondCombo(), isRegExp(), and tfFilter().
QLabel* tfFilter::secondLabel [private] |
QComboBox* tfFilter::thirdCombo [private] |
Definition at line 52 of file tffilter.h.
Referenced by createWidget(), getParagraphStyles(), getPStyleName(), getThirdCombo(), replaceWith(), and tfFilter().
QLabel* tfFilter::thirdLabel [private] |
Definition at line 54 of file tffilter.h.
Referenced by createWidget(), fourthChanged(), getFourthCombo(), getThirdCombo(), and resetBRow().
QComboBox* tfFilter::fourthCombo [private] |
Definition at line 55 of file tffilter.h.
Referenced by createWidget(), getFourthCombo(), getStyle(), resetBRow(), and tfFilter().
QLabel* tfFilter::fourthLabel [private] |
Definition at line 56 of file tffilter.h.
Referenced by createWidget(), fourthChanged(), getFourthCombo(), and resetBRow().
QComboBox* tfFilter::fifthCombo [private] |
Definition at line 57 of file tffilter.h.
Referenced by createWidget(), fourthChanged(), getFifthCombo(), getLessThan(), regExp(), resetBRow(), and tfFilter().
QCheckBox* tfFilter::fifthRegexpCheck [private] |
Definition at line 58 of file tffilter.h.
Referenced by createWidget(), fourthChanged(), getFifthCombo(), isRegExp(), resetBRow(), and tfFilter().
QLabel* tfFilter::fifthLabel [private] |
Definition at line 59 of file tffilter.h.
Referenced by createWidget(), fourthChanged(), getFifthCombo(), and resetBRow().
QComboBox* tfFilter::sixthCombo [private] |
Definition at line 60 of file tffilter.h.
Referenced by createWidget(), fourthChanged(), getSixthCombo(), removeMatch(), resetBRow(), and tfFilter().
QPushButton* tfFilter::removeButton [private] |
QPushButton* tfFilter::addButton [private] |
int tfFilter::currentAction [private] |
Definition at line 63 of file tffilter.h.
Referenced by createWidget(), firstChanged(), fourthChanged(), getAction(), getFourthCombo(), getSecondCombo(), getThirdCombo(), isRegExp(), regExp(), and tfFilter().
PrefsContext* tfFilter::prefs [private] |
PrefsTable* tfFilter::history [private] |
The documentation for this class was generated from the following files:
