Scribus Developer Documentation - API
logo-pen

Scribus Developer Documentation - API

tfFilter Class Reference

#include <tffilter.h>

Collaboration diagram for tfFilter:

Collaboration graph
[legend]

List of all members.

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
PrefsContextprefs
PrefsTablehistory


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 
)

tfFilter::tfFilter ( QWidget *  parent = 0,
const char *  name = 0 
)

Definition at line 76 of file tffilter.cpp.

References createWidget().

tfFilter::~tfFilter (  ) 

Definition at line 585 of file tffilter.cpp.


Member Function Documentation

void tfFilter::createWidget (  )  [private]

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]

void tfFilter::getThirdCombo ( int  secondIndex  )  [private]

void tfFilter::getFourthCombo (  )  [private]

void tfFilter::getFifthCombo (  )  [private]

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]

void tfFilter::getParagraphStyles (  )  [private]

void tfFilter::setRemovable ( bool  b  ) 

Definition at line 151 of file tffilter.cpp.

References removeButton.

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]

Definition at line 161 of file tffilter.cpp.

References addClicked().

Referenced by createWidget().

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]

Definition at line 177 of file tffilter.cpp.

Referenced by getSecondCombo().

void tfFilter::thirdChanged ( int  index  )  [private, slot]

Definition at line 182 of file tffilter.cpp.

Referenced by getThirdCombo().

void tfFilter::fourthChanged ( int  index  )  [private, slot]

void tfFilter::fifthChanged ( int  index  )  [private, slot]

Definition at line 234 of file tffilter.cpp.

Referenced by getFifthCombo().

void tfFilter::sixthChanged ( int  index  )  [private, slot]

Definition at line 239 of file tffilter.cpp.

Referenced by getSixthCombo().


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]

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]

Definition at line 51 of file tffilter.h.

Referenced by createWidget(), and getSecondCombo().

QComboBox* tfFilter::thirdCombo [private]

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]

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]

Definition at line 61 of file tffilter.h.

Referenced by createWidget(), and setRemovable().

QPushButton* tfFilter::addButton [private]

Definition at line 62 of file tffilter.h.

Referenced by createWidget().

int tfFilter::currentAction [private]

Definition at line 64 of file tffilter.h.

Referenced by createWidget().

Definition at line 65 of file tffilter.h.

Referenced by createWidget().


The documentation for this class was generated from the following files:
Created with personalized Doxygen. This is documentation for GPL software Scribus - Open Source Desktop Publishing.