![]() |
VR-Forces 4.10 Class Documentation
|
A Toolbar manager which is how to lookup and find toolbars using toolbar paths. More...

Public Member Functions | |
| virtual | ~DtQtToolbarManager () |
| Register a new instance of the toolbar manager, this is only necessary if replacing the existing DtToolbarManager. More... | |
| void | registerToolbar (const DtToolbarPath &path, QToolBar *menu) |
| Register a toolbar, this is done automatically by the DtToolbarAssembler. More... | |
| QToolBar * | findToolbar (const DtToolbarPath &path) const |
| Find a toolbar by its path. More... | |
| virtual bool | getToolbarState (const DtToolbarPath &path, DtToolbarConfiguration::ToolbarState &state) |
| Retreives the state of a given toolbar. More... | |
Public Member Functions inherited from makVrv::DtToolbarManager | |
| virtual | ~DtToolbarManager () |
| DTOR. More... | |
Public Member Functions inherited from makVrv::DtVirtualBaseClass | |
| DtVirtualBaseClass () | |
| Do nothing constructor. More... | |
| virtual | ~DtVirtualBaseClass () |
| Virtual do nothing destructor. More... | |
Static Public Member Functions | |
| static DtQtToolbarManager & | instance (DtDe &de) |
| Get an instance of the Toolbar manager. More... | |
Static Public Member Functions inherited from makVrv::DtToolbarManager | |
| static DtToolbarManager & | instance (DtDe &) |
| Get an instance of the assembler. More... | |
Public Attributes | |
| boost::signalslib::signal < void(const DtToolbarPath &)> | signal_toolbarDeleted |
| Signals when a toolbar has been deleted. More... | |
Protected Slots | |
| void | onToolbarDestroyed (QObject *obj) |
| When a toolbar is destroyed. More... | |
Protected Member Functions | |
| DtQtToolbarManager (DtDe &de) | |
| Protected CTOR, use the instance function. More... | |
Protected Member Functions inherited from makVrv::DtToolbarManager | |
| DtToolbarManager (DtDe &de) | |
Protected Attributes | |
| ToolbarMap | myToolbars |
Protected Attributes inherited from makVrv::DtToolbarManager | |
| DtDe & | myDe |
Private Types | |
| typedef std::map < DtToolbarPath, QToolBar * > | ToolbarMap |
Friends | |
| class | DtQtToolbarManagerCreator |
A Toolbar manager which is how to lookup and find toolbars using toolbar paths.
Toolbars are automatically registered by the DtToolbarAssembler.
|
private |
|
virtual |
Register a new instance of the toolbar manager, this is only necessary if replacing the existing DtToolbarManager.
DTOR
|
protected |
Protected CTOR, use the instance function.
|
static |
Get an instance of the Toolbar manager.
| void makVrv::DtQtToolbarManager::registerToolbar | ( | const DtToolbarPath & | path, |
| QToolBar * | menu | ||
| ) |
Register a toolbar, this is done automatically by the DtToolbarAssembler.
| QToolBar* makVrv::DtQtToolbarManager::findToolbar | ( | const DtToolbarPath & | path | ) | const |
Find a toolbar by its path.
|
virtual |
Retreives the state of a given toolbar.
Returns false if the path's not found
Implements makVrv::DtToolbarManager.
|
protectedslot |
When a toolbar is destroyed.
|
friend |
| boost::signalslib::signal<void (const DtToolbarPath&)> makVrv::DtQtToolbarManager::signal_toolbarDeleted |
Signals when a toolbar has been deleted.
|
protected |