![]() |
VR-Forces 5.0.3 Developer's Guide
|
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.

Public Member Functions | |
| DtToolbarItem (const std::string &dockName, DtToolbar *dockable) | |
| virtual | ~DtToolbarItem () |
| virtual QAction * | createAction (DtDe &, QWidget *parent) |
Public Member Functions inherited from makVrv::DtMenuItem | |
| DtMenuItem (const std::string &menuItemIdName) | |
| virtual | ~DtMenuItem () |
| virtual const std::string & | menuItemIdName () const |
Protected Slots | |
| virtual void | on_actionDestoryed (QObject *object) |
Protected Slots inherited from makVrv::DtMenuItem | |
| virtual void | on_aboutToShow () |
Protected Member Functions | |
| virtual void | on_triggered () |
| virtual void | on_checkStateChanged (bool) |
| virtual bool | eventFilter (QObject *obj, QEvent *event) |
| virtual void | slot_toolbarSet () |
Protected Attributes | |
| DtToolbar * | myToolbar |
| QAction * | myAction |
Protected Attributes inherited from makVrv::DtMenuItem | |
| std::string | myMenuIdName |
| 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 |