Scribus Developer Documentation - API
logo-pen

Scribus Developer Documentation - API

TOCIndexPrefs Class Reference

#include <tocindexprefs.h>

Collaboration diagram for TOCIndexPrefs:

Collaboration graph
[legend]

List of all members.

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 ToCSetupVectorgetNewToCs ()

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
ScribusDoccurrDoc
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]

Definition at line 80 of file tocindexprefs.cpp.

References languageChange().

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]

void TOCIndexPrefs::setup ( ToCSetupVector tocsetups,
ScribusDoc doc 
) [virtual, slot]

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]

void TOCIndexPrefs::selectToC ( int  numberSelected  )  [virtual, slot]

void TOCIndexPrefs::addToC (  )  [virtual, slot]

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]

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]

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]

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]

Definition at line 64 of file tocindexprefs.h.

Referenced by init().

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]

Definition at line 67 of file tocindexprefs.h.

Referenced by init(), and selectToC().

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().

QString TOCIndexPrefs::trStrNone [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]


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.