![]() |
VR-Forces 4.10 Class Documentation
|
An menu item for controlling toolbars. More...

Public Member Functions | |
| DtToolbarItem (const std::string &dockName, DtToolbar *dockable) | |
| CTOR. More... | |
| virtual | ~DtToolbarItem () |
| DTOR. More... | |
| virtual QAction * | createAction (DtDe &, QWidget *parent) |
| Build a menu item (via an action). More... | |
Public Member Functions inherited from makVrv::DtMenuItem | |
| DtMenuItem (const std::string &menuItemIdName) | |
| CTOR. More... | |
| virtual | ~DtMenuItem () |
| DTOR. More... | |
| virtual const std::string & | menuItemIdName () const |
| Get the menu id name, the menu id name is not the same thing as the visible menu text. More... | |
Protected Slots | |
| virtual void | on_actionDestoryed (QObject *object) |
| Called with myAction is destoryed. More... | |
Protected Slots inherited from makVrv::DtMenuItem | |
| virtual void | on_aboutToShow () |
Protected Member Functions | |
| virtual void | on_triggered () |
| Called when the menu item is clicked. More... | |
| virtual void | on_checkStateChanged (bool) |
| Called when the menu item checkbox changes. More... | |
| virtual bool | eventFilter (QObject *obj, QEvent *event) |
| Track show/hide events for toolbar to change check state of action. More... | |
| virtual void | slot_toolbarSet () |
| Called when the toolbar is set for the associated DtToolbar. More... | |
Protected Attributes | |
| DtToolbar * | myToolbar |
| QAction * | myAction |
Protected Attributes inherited from makVrv::DtMenuItem | |
| std::string | myMenuIdName |
An menu item for controlling toolbars.
This allows toolbars to be shown and hidden via a menu item. DtToolbarItem's are automatically registered when a toolbar is created by the DtToolbarBuilder.
| makVrv::DtToolbarItem::DtToolbarItem | ( | const std::string & | dockName, |
| DtToolbar * | dockable | ||
| ) |
CTOR.
|
virtual |
DTOR.
Build a menu item (via an action).
Implements makVrv::DtMenuItem.
|
protectedvirtual |
Called when the menu item is clicked.
Reimplemented from makVrv::DtMenuItem.
|
protectedvirtual |
Called when the menu item checkbox changes.
Reimplemented from makVrv::DtMenuItem.
Track show/hide events for toolbar to change check state of action.
|
protectedvirtual |
Called when the toolbar is set for the associated DtToolbar.
Do not need to call directly and will only be called once
|
protectedvirtualslot |
Called with myAction is destoryed.
|
protected |
|
protected |