![]() |
VR-Forces 4.3 Class Documentation
|
The base class implementation of a Toolbar Assembler. More...

Public Member Functions | |
| virtual | ~DtToolbarAssembler () |
| DTOR. | |
| virtual void | assemble (const DtToolbarConfiguration &configuration) |
| Assemble a configuration. | |
| virtual void | updateToolbars (const DtToolbarConfiguration &configuration) |
| Updates the toolbar UI layout with the information passed in the configuration. | |
Public Member Functions inherited from makVrv::DtVirtualBaseClass | |
| DtVirtualBaseClass () | |
| Do nothing constructor. | |
| virtual | ~DtVirtualBaseClass () |
| Virtual do nothing destructor. | |
Static Public Member Functions | |
| static DtToolbarAssembler & | instance (DtDe &) |
| Get an instance of the assembler. | |
Protected Types | |
| typedef std::multimap < DtToolbarConfiguration::ToolbarLocation, DtToolbarPath > | LocationPathMap |
| typedef std::map< int, DtToolbarPath > | ToolbarPathsMap |
| typedef std::map< int, ToolbarPathsMap > | ToolbarPathsMapMap |
Protected Member Functions | |
| DtToolbarAssembler (DtDe &de) | |
| void | assembleToolbarPath (const DtToolbarPath &toolbarPath, const DtToolbarConfiguration &configuration, DtToolbarConfiguration::ToolbarLocation location) |
| Assemble a toolbar path. | |
| virtual void | assembleRow (const DtToolbarPath &toolbarPath, DtToolbarConfiguration::ToolbarLocation location) |
| Assemble a row from the path. | |
| virtual void | addToolbarBreak (DtToolbarConfiguration::ToolbarLocation loc) |
| Add a toolbar break at the specified location. | |
| virtual void | assembleToolbar (const DtToolbarPath &toolbarPath, const DtToolbarConfiguration &configuration) |
| Assemble a toolbar from the path. | |
| virtual void | assembleToolbarItem (const DtToolbarPath &toolbarPath) |
| Assemble a toolbar from the path. | |
| virtual void | assembleToolbarMenuItem (const DtToolbarPath &toolbarPath) |
| Assemble a toolbar from the path. | |
| virtual void | assembleToolbarWidget (const DtToolbarPath &toolbarPath) |
| Assemble a toolbar from the path. | |
| virtual void | assembleToolbarMenu (const DtToolbarPath &toolbarPath) |
| Assemble a toolbar from the path. | |
| virtual void | assembleTopLeftToolbars (const LocationPathMap &locMap, DtToolbarConfiguration::ToolbarLocation loc, const DtToolbarConfiguration &configuration) |
| Assemble toolbars located at the top or left areas of the UI. | |
| virtual void | assembleBottomRightToolbars (const LocationPathMap &, DtToolbarConfiguration::ToolbarLocation, const DtToolbarConfiguration &) |
| Assemble toolbars located at the bottom or right areas of the UI. | |
| virtual void | populateToobarPathsMap (const LocationPathMap &locMap, DtToolbarConfiguration::ToolbarLocation loc, const DtToolbarConfiguration &configuration, ToolbarPathsMapMap &tpMap) |
| Populates the tpMap map with the proper order in which toolbars need to be placed on the UI. | |
| virtual void | updateToolbarPath (const DtToolbarPath &toolbarPath, const DtToolbarConfiguration &configuration) |
| Update the tool bar path with the state information contained inside the provided configuration. | |
| virtual void | updateToolbar (const DtToolbarPath &toolbarPath, const DtToolbarConfiguration &configuration) |
| Update the tool bar with the state information contained inside the provided configuration. | |
Protected Attributes | |
| std::stack< DtToolbarPath > | myToolbarStack |
| DtDe & | myDe |
Friends | |
| class | DtToolbarAssemblerCreator |
The base class implementation of a Toolbar Assembler.
|
protected |
|
protected |
|
protected |
|
virtual |
DTOR.
|
protected |
|
static |
Get an instance of the assembler.
Reimplemented in makVrv::DtQtToolbarAssembler.
|
virtual |
Assemble a configuration.
Reimplemented in makVrv::DtQtToolbarAssembler.
|
virtual |
Updates the toolbar UI layout with the information passed in the configuration.
|
protected |
Assemble a toolbar path.
|
protectedvirtual |
Assemble a row from the path.
Reimplemented in makVrv::DtQtToolbarAssembler.
|
protectedvirtual |
Add a toolbar break at the specified location.
Reimplemented in makVrv::DtQtToolbarAssembler.
|
protectedvirtual |
Assemble a toolbar from the path.
Reimplemented in makVrv::DtQtToolbarAssembler.
|
protectedvirtual |
Assemble a toolbar from the path.
Reimplemented in makVrv::DtQtToolbarAssembler.
|
protectedvirtual |
Assemble a toolbar from the path.
Reimplemented in makVrv::DtQtToolbarAssembler.
|
protectedvirtual |
Assemble a toolbar from the path.
Reimplemented in makVrv::DtQtToolbarAssembler.
|
protectedvirtual |
Assemble a toolbar from the path.
Reimplemented in makVrv::DtQtToolbarAssembler.
|
protectedvirtual |
Assemble toolbars located at the top or left areas of the UI.
|
protectedvirtual |
Assemble toolbars located at the bottom or right areas of the UI.
|
protectedvirtual |
Populates the tpMap map with the proper order in which toolbars need to be placed on the UI.
|
protectedvirtual |
Update the tool bar path with the state information contained inside the provided configuration.
|
protectedvirtual |
Update the tool bar with the state information contained inside the provided configuration.
The toolbarPath is expected to represent a toolbar, not a toolbar item.
|
friend |
|
protected |
|
protected |