TOCIndexPrefs Class Reference
#include <tocindexprefs.h>

Public Slots | |
| virtual void | setup (ToCSetupVector *tocsetups, ScribusDoc *doc) |
| virtual void | generatePageItemList () |
| virtual void | setupItemAttrs (QStringList newNames) |
| virtual void | selectToC (int numberSelected) |
| virtual void | addToC () |
| virtual void | updateToCListBox () |
| virtual void | updateParagraphStyleComboBox () |
| virtual void | deleteToC () |
| virtual void | itemAttributeSelected (const QString &itemAttributeName) |
| virtual void | itemFrameSelected (const QString &frameName) |
| virtual void | itemPageNumberPlacedSelected (const QString &pageLocation) |
| virtual void | itemParagraphStyleSelected (const QString &itemStyle) |
| virtual void | setToCName (const QString &newName) |
| virtual void | nonPrintingFramesSelected (bool showNonPrinting) |
Public Member Functions | |
| TOCIndexPrefs (QWidget *parent=0, const char *name=0, Qt::WFlags fl=0) | |
| Constructs a TOCIndexPrefs as a child of 'parent', with the name 'name' and widget flags set to 'f'. | |
| ~TOCIndexPrefs () | |
| virtual void | changeEvent (QEvent *e) |
| virtual void | enableGUIWidgets () |
| virtual ToCSetupVector * | getNewToCs () |
Protected Slots | |
| virtual void | languageChange () |
Protected Attributes | |
| int | numSelected |
| QString | strPNNotShown |
| QString | strPNEnd |
| QString | strPNBeginning |
| QString | trStrPNNotShown |
| QString | trStrPNEnd |
| QString | trStrPNBeginning |
| ToCSetupVector | localToCSetupVector |
| QString | trStrNone |
| ScribusDoc * | currDoc |
| QString | selectedTOCAttrName |
| QStringList | paragraphStyleList |
| QString | strNone |
Private Member Functions | |
| void | init () |
| void | destroy () |
Detailed Description
Definition at line 33 of file tocindexprefs.h.
Constructor & Destructor Documentation
| TOCIndexPrefs::TOCIndexPrefs | ( | QWidget * | parent = 0, |
|
| const char * | name = 0, |
|||
| Qt::WFlags | fl = 0 | |||
| ) |
Constructs a TOCIndexPrefs as a child of 'parent', with the name 'name' and widget flags set to 'f'.
Definition at line 47 of file tocindexprefs.cpp.
References addToC(), deleteToC(), init(), itemAttributeSelected(), itemFrameSelected(), itemPageNumberPlacedSelected(), itemParagraphStyleSelected(), languageChange(), nonPrintingFramesSelected(), selectToC(), and setToCName().
| TOCIndexPrefs::~TOCIndexPrefs | ( | ) |
Definition at line 75 of file tocindexprefs.cpp.
Member Function Documentation
| void TOCIndexPrefs::changeEvent | ( | QEvent * | e | ) | [virtual] |
| void TOCIndexPrefs::enableGUIWidgets | ( | ) | [virtual] |
Definition at line 300 of file tocindexprefs.cpp.
References currDoc, and localToCSetupVector.
Referenced by addToC(), deleteToC(), and setup().
| ToCSetupVector * TOCIndexPrefs::getNewToCs | ( | ) | [virtual] |
Definition at line 415 of file tocindexprefs.cpp.
References localToCSetupVector.
Referenced by ReformDoc::updateDocumentSettings(), and Preferences::updatePreferences().
| void TOCIndexPrefs::setup | ( | ToCSetupVector * | tocsetups, | |
| ScribusDoc * | doc | |||
| ) | [virtual, slot] |
Definition at line 137 of file tocindexprefs.cpp.
References currDoc, enableGUIWidgets(), generatePageItemList(), localToCSetupVector, selectToC(), updateParagraphStyleComboBox(), and updateToCListBox().
Referenced by Preferences::Preferences(), ReformDoc::ReformDoc(), and Preferences::setupGui().
| void TOCIndexPrefs::generatePageItemList | ( | ) | [virtual, slot] |
Definition at line 156 of file tocindexprefs.cpp.
References currDoc, ScribusDoc::DocItems, PageItem::TextFrame, and trStrNone.
Referenced by setup().
| void TOCIndexPrefs::setupItemAttrs | ( | QStringList | newNames | ) | [virtual, slot] |
Definition at line 173 of file tocindexprefs.cpp.
References itemAttributeSelected(), localToCSetupVector, numSelected, setCurrentComboItem(), strNone, and trStrNone.
Referenced by Preferences::Preferences(), ReformDoc::ReformDoc(), Preferences::setupGui(), ReformDoc::showWidgetInStack(), and Preferences::showWidgetInStack().
| void TOCIndexPrefs::selectToC | ( | int | numberSelected | ) | [virtual, slot] |
Definition at line 190 of file tocindexprefs.cpp.
References Beginning, currDoc, itemAttributeSelected(), itemFrameSelected(), itemPageNumberPlacedSelected(), itemParagraphStyleSelected(), localToCSetupVector, nonPrintingFramesSelected(), NotShown, numSelected, paragraphStyleList, setCurrentComboItem(), setToCName(), strNone, trStrNone, trStrPNBeginning, trStrPNEnd, and trStrPNNotShown.
Referenced by addToC(), init(), setup(), and TOCIndexPrefs().
| void TOCIndexPrefs::addToC | ( | ) | [virtual, slot] |
Definition at line 246 of file tocindexprefs.cpp.
References enableGUIWidgets(), End, ToCSetup::frameName, ToCSetup::itemAttrName, ToCSetup::listNonPrintingFrames, localToCSetupVector, ToCSetup::name, ToCSetup::pageLocation, selectToC(), strNone, ToCSetup::textStyle, tr(), updateParagraphStyleComboBox(), and updateToCListBox().
Referenced by TOCIndexPrefs().
| void TOCIndexPrefs::updateToCListBox | ( | ) | [virtual, slot] |
Definition at line 276 of file tocindexprefs.cpp.
References localToCSetupVector.
Referenced by addToC(), deleteToC(), and setup().
| void TOCIndexPrefs::updateParagraphStyleComboBox | ( | ) | [virtual, slot] |
Definition at line 285 of file tocindexprefs.cpp.
References StyleSet< STYLE >::count(), currDoc, paragraphStyleList, ScribusDoc::paragraphStyles(), and trStrNone.
| void TOCIndexPrefs::deleteToC | ( | ) | [virtual, slot] |
Definition at line 313 of file tocindexprefs.cpp.
References enableGUIWidgets(), localToCSetupVector, and updateToCListBox().
Referenced by TOCIndexPrefs().
| void TOCIndexPrefs::itemAttributeSelected | ( | const QString & | itemAttributeName | ) | [virtual, slot] |
Definition at line 332 of file tocindexprefs.cpp.
References localToCSetupVector, strNone, and trStrNone.
Referenced by selectToC(), setupItemAttrs(), and TOCIndexPrefs().
| void TOCIndexPrefs::itemFrameSelected | ( | const QString & | frameName | ) | [virtual, slot] |
Definition at line 352 of file tocindexprefs.cpp.
References localToCSetupVector, strNone, and trStrNone.
Referenced by selectToC(), and TOCIndexPrefs().
| void TOCIndexPrefs::itemPageNumberPlacedSelected | ( | const QString & | pageLocation | ) | [virtual, slot] |
Definition at line 373 of file tocindexprefs.cpp.
References Beginning, End, localToCSetupVector, NotShown, strPNBeginning, strPNEnd, trStrPNBeginning, and trStrPNEnd.
Referenced by selectToC(), and TOCIndexPrefs().
| void TOCIndexPrefs::itemParagraphStyleSelected | ( | const QString & | itemStyle | ) | [virtual, slot] |
Definition at line 396 of file tocindexprefs.cpp.
References localToCSetupVector, strNone, and trStrNone.
Referenced by selectToC(), and TOCIndexPrefs().
| void TOCIndexPrefs::setToCName | ( | const QString & | newName | ) | [virtual, slot] |
Definition at line 421 of file tocindexprefs.cpp.
References localToCSetupVector.
Referenced by selectToC(), and TOCIndexPrefs().
| void TOCIndexPrefs::nonPrintingFramesSelected | ( | bool | showNonPrinting | ) | [virtual, slot] |
Definition at line 439 of file tocindexprefs.cpp.
References localToCSetupVector.
Referenced by selectToC(), and TOCIndexPrefs().
| void TOCIndexPrefs::languageChange | ( | ) | [protected, virtual, slot] |
Definition at line 90 of file tocindexprefs.cpp.
References tr().
Referenced by changeEvent(), and TOCIndexPrefs().
| void TOCIndexPrefs::init | ( | void | ) | [private] |
Definition at line 111 of file tocindexprefs.cpp.
References CommonStrings::None, numSelected, selectToC(), setCurrentComboItem(), strNone, strPNBeginning, strPNEnd, strPNNotShown, tr(), trStrNone, trStrPNBeginning, trStrPNEnd, and trStrPNNotShown.
Referenced by TOCIndexPrefs().
| void TOCIndexPrefs::destroy | ( | ) | [private] |
Definition at line 132 of file tocindexprefs.cpp.
Member Data Documentation
int TOCIndexPrefs::numSelected [protected] |
Definition at line 63 of file tocindexprefs.h.
Referenced by init(), selectToC(), and setupItemAttrs().
QString TOCIndexPrefs::strPNNotShown [protected] |
QString TOCIndexPrefs::strPNEnd [protected] |
Definition at line 65 of file tocindexprefs.h.
Referenced by init(), and itemPageNumberPlacedSelected().
QString TOCIndexPrefs::strPNBeginning [protected] |
Definition at line 66 of file tocindexprefs.h.
Referenced by init(), and itemPageNumberPlacedSelected().
QString TOCIndexPrefs::trStrPNNotShown [protected] |
QString TOCIndexPrefs::trStrPNEnd [protected] |
Definition at line 68 of file tocindexprefs.h.
Referenced by init(), itemPageNumberPlacedSelected(), and selectToC().
QString TOCIndexPrefs::trStrPNBeginning [protected] |
Definition at line 69 of file tocindexprefs.h.
Referenced by init(), itemPageNumberPlacedSelected(), and selectToC().
ToCSetupVector TOCIndexPrefs::localToCSetupVector [protected] |
Definition at line 70 of file tocindexprefs.h.
Referenced by addToC(), deleteToC(), enableGUIWidgets(), getNewToCs(), itemAttributeSelected(), itemFrameSelected(), itemPageNumberPlacedSelected(), itemParagraphStyleSelected(), nonPrintingFramesSelected(), selectToC(), setToCName(), setup(), setupItemAttrs(), and updateToCListBox().
QString TOCIndexPrefs::trStrNone [protected] |
Definition at line 71 of file tocindexprefs.h.
Referenced by generatePageItemList(), init(), itemAttributeSelected(), itemFrameSelected(), itemParagraphStyleSelected(), selectToC(), setupItemAttrs(), and updateParagraphStyleComboBox().
ScribusDoc* TOCIndexPrefs::currDoc [protected] |
Definition at line 72 of file tocindexprefs.h.
Referenced by enableGUIWidgets(), generatePageItemList(), selectToC(), setup(), and updateParagraphStyleComboBox().
QString TOCIndexPrefs::selectedTOCAttrName [protected] |
Definition at line 73 of file tocindexprefs.h.
QStringList TOCIndexPrefs::paragraphStyleList [protected] |
Definition at line 74 of file tocindexprefs.h.
Referenced by selectToC(), and updateParagraphStyleComboBox().
QString TOCIndexPrefs::strNone [protected] |
Definition at line 75 of file tocindexprefs.h.
Referenced by addToC(), init(), itemAttributeSelected(), itemFrameSelected(), itemParagraphStyleSelected(), selectToC(), and setupItemAttrs().
The documentation for this class was generated from the following files:
