Public Member Functions |
| | DtToolbarFactoryManager (const QString &name="toolbarFactoryManager") |
| | DtToolbarFactoryManager (const DtToolbarFactoryManager &) |
| virtual | ~DtToolbarFactoryManager () |
| virtual bool | init (DtFeatureActionManager *) |
| void | setUserToolbarSystemEnabled (bool) |
| | Enables/disables user toolbar system. Default is enabled.
|
| bool | userToolbarSystemEnabled () const |
| DtToolbarFactoryManager & | operator= (const DtToolbarFactoryManager &) |
| virtual void | write (QTextStream &) |
| | Archives object to/from stream (only archives editable items), and, as such, will merge them into the current factory after read.
|
| virtual void | read (QTextStream &) |
| | Reads/writes archiver.
|
| virtual void | clear () |
| virtual void | addToolbar (const QString &toolbar, const QString &windowTitle, const QString &toolTip=DtKeepTooltip, bool editable=false) |
| | Routines associated with toolbars and toolbar creation.
|
| virtual void | addToolbar (const DtFeatureToolbar &) |
| virtual void | addToolbarButton (const QString &toolbar, const QString &feature) |
| | Note that DtToolbarSeparator is used to create a separator on the toolbar Adds a toolbar button to a toolbar.
|
| virtual void | addToolbarButtons (const QString &toolbar, const QVector< QString > &features) |
| | Adds a list of actions to the toolbar.
|
| virtual void | addToolbarMenu (const QString &toolbar, const QString &feature, const QVector< QString > &features, const QString &toolTip=DtKeepTooltip) |
| | Adds a new dropdown menu to the toolbar.
|
| virtual void | addToolbarMenuItem (const QString &toolbar, const QString &feature, const QString &itemToAdd, const QString &before=QString::null) |
| virtual void | removeToolbarMenuItem (const QString &toolbar, const QString &feature, const QString &item) |
| virtual void | setToolbarIsEditable (const QString &toolbar, bool) |
| | Sets whether or not the toolbar is editable by the user. The default is false.
|
| virtual void | removeToolbar (const QString &toolbar) |
| | Removes the toolbar from the system.
|
| virtual void | removeToolbarButton (const QString &toolbar, const QString &feature) |
| | Removes a button or series of buttons from a toolbar.
|
| virtual void | removeToolbarButton (const QString &toolbar, int iIndex) |
| virtual void | removeToolbarButtons (const QString &toolbar, const QVector< QString > &features) |
| virtual void | removeAllToolbarButtons (const QString &toolbar) |
| | Removes all toolbar buttons from the particular toolbar.
|
| virtual void | addFeatureToToolbar (const DtToolbarItem &feature, QToolBar *tool, QWidget *parent) |
| | Adds the particular feature to the specified toolbar.
|
| virtual DtFeatureToolbar | toolbarFor (const QString &toolbar) const |
| | Returns a copy of the toolbar structure.
|
| virtual QToolBar * | createToolBar (const QString &toolbar, QWidget *parent=NULL) |
| | Creates and returns a new QToolBar with the specified parent.
|
| virtual QVector< QToolBar * > | createUserCreatedToolbars (QWidget *parent) |
| | Creates all user "editable" toolbars if not already created. Returns a list of created toolbars.
|
| virtual QString | keyForToolBar (QToolBar *) const |
| | Returns the unique key for the specified tool bar.
|
| virtual void | setChecked (const QString &feature, bool checked) |
| | If there is an action associated with this item, then, set it to be checked.
|
| virtual bool | toolbarExists (const QString &toolbar) const |
| | Returns true if the toolbar exists.
|
| virtual bool | hasToolbarNamed (const QString &name) const |
| | Returns true if there is a toolbar with the specified name.
|
| virtual QString | keyForToolBar (const QString &name) const |
| | Returs the key for the specified toolbar name.
|
| virtual QString | uniqueToolbarId () const |
| | Returns a unique id for a toolbar.
|
| virtual void | merge (const DtToolbarFactoryManager &, bool removeMissingToolbars=true) |
| | Merges in supplied toobar manager.
|
const QHash< QString,
DtFeatureToolbar > & | featureToolbars () const |
| virtual void | merge (const QString &toolbar, const DtFeatureToolbar &) |
| | Merges in the toolbar specified to the supplied toolbar information.
|
| virtual DtToolbarFactoryManager * | clone () |
| | Returns a clone of this object.
|
| | DtArchivableObject (QString name, DtArchivableObjectCreator fcn) |
| | This constructor will add this object to the archivable object factory.
|
| | DtArchivableObject (QString name) |
| | DtArchivableObject () |
| virtual | ~DtArchivableObject () |
| virtual QString | name () const |
| DtArchiver * | archiver () |
| | Returns the archiver of this object.
|
| virtual void | setLevel (int i) |
| virtual int | level () const |
This structure will be used to create a widget that is added to a toolbar.