Public Member Functions |
| | DtFeatureActionManager (const QString &name="featureActionManager") |
| | DtFeatureActionManager (const DtFeatureActionManager &) |
| virtual | ~DtFeatureActionManager () |
| virtual bool | init () |
| virtual void | addFeatureAction (const DtFeatureAction &, bool replaceShortcutInAction=true) |
| virtual DtFeatureActionManager & | operator= (const DtFeatureActionManager &) |
| virtual void | replaceShortcut (const QString &feature, const QString &shortcut, bool replaceInAction=true) |
| | Replaces shortcut and set myIsOverride to true.
|
| virtual void | removeFeatureAction (const QString &featureName) |
| virtual void | addFeatureAction (const QString &feature, const QString &shortcut=QString::null, const QString &normalIcon=DtAssignIconByFeatureName, const QString &disabledIcon=DtKeepIcon, const QString &normalOnIcon=DtKeepIcon) |
| virtual void | addFeatureAction (const QString &feature, QObject *slotObj, const char *slot, const QString &displayName, bool isToggle=false, const QString &toolTip=QString::null, const QString &normalIcon=DtAssignIconByFeatureName, const QString &disabledIcon=DtKeepIcon, const QString &normalOnIcon=DtKeepIcon) |
| virtual void | addFeatureAction (const QString &feature, const QString &displayName, const DtToolbarCallbackStructure &str) |
| virtual bool | shortcutInUse (const QString &) const |
| | Returns true if the shortcut exists in the manager.
|
| virtual bool | hasShortcutOverride (const QString &) const |
| | Returns true if the particular feature has a shortcut override in the system.
|
| virtual bool | hasShortcut (const QString &) const |
| | Returns true if the particular feature has a shortcut in the system.
|
| virtual QString | shortcutFor (const QString &) const |
| | Returns the shortcut for the specified feature item.
|
| virtual QString | iconFor (const QString &feature, QIcon::Mode mode=QIcon::Normal, QIcon::State=QIcon::Off, bool useDefault=false) const |
| | Returns icon for specified feature.
|
| virtual void | setCanBePlacedOnToolbar (const QString &feature, bool) |
| | States that this feature should not be available to be placed on a toolbar. Default is true.
|
| virtual bool | canBePlacedOnToolbar (const QString &feature) const |
| virtual QString | featureUsingShortcut (const QString &shortcut) const |
| | Returns the feature using the shortcut.
|
| virtual bool | shortcutIsUsed (const QString &shortcut) |
| | Returns true if shortcut is in use.
|
| virtual void | registerAction (const QString &featureName, QAction *act) |
| | Associates the QAction with the feature name. Used to keep track of shortcuts in use.
|
| virtual DtFeatureAction | featureFor (const QString &feature) const |
| | Returns a copy of the structure associated with the feature.
|
const QHash< QString,
DtFeatureAction > & | featureActions () const |
| virtual void | removeFeatureAction (QAction *) |
| | Removes the feature action associated the with QAction*.
|
| virtual void | clearQActions () |
| | Clears out any QAction assignments.
|
| virtual DtFeatureActionManager * | clone () |
| | Clones this object.
|
| virtual void | merge (const DtFeatureActionManager &) |
| | Merges in other feature action manager. Currently only merges shortcuts.
|
| | 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 |