![]() |
VR-Forces 4.0.4 Class Documentation
|
The base class for VR-Vantage toolbars. More...

Public Member Functions | |
| DtToolbar (DtDe &de, const std::string &toolbarIdName) | |
| CTOR. | |
| virtual | ~DtToolbar () |
| DTOR. | |
| virtual const std::string & | toolbarClassName () const |
| Get the toolbar id name, the toolbar id name is not the same thing as the visible toolbar text. | |
| virtual QToolBar * | createToolbar (DtDe &, QWidget *parent)=0 |
| Build a toolbar. | |
| virtual void | dock (QToolBar *, QMainWindow *) |
| Using the DE, looks at the configuration to see where this should be docked and whether or not it is initially visible. | |
| QToolBar * | toolbar () const |
| Brief returns the toolbar this object wraps. | |
| virtual bool | initiallyVisible () const |
| Whether or not (according to configuration) toolbar is initially visible. | |
| void | setToolbarVisible (bool visible) |
| call either show or hide toolbar base upon the input. | |
| virtual QToolBar * | toolbar () |
| Returns the toolbar that was docked as part of this item. | |
| virtual bool | isToolbarHidden () |
| Returns true if toolbar is hidden. | |
| virtual void | showToolbar () |
| Show the toolbar. | |
| virtual void | hideToolbar () |
| Hide the toolbar. | |
Public Attributes | |
| boost::signal< void()> | signal_toolbarSet |
Protected Attributes | |
| std::string | myClassName |
| DtDe & | myDe |
| QToolBar * | myToolbar |
The base class for VR-Vantage toolbars.
| makVrv::DtToolbar::DtToolbar | ( | DtDe & | de, |
| const std::string & | toolbarIdName | ||
| ) |
CTOR.
| virtual makVrv::DtToolbar::~DtToolbar | ( | ) | [virtual] |
DTOR.
| virtual const std::string& makVrv::DtToolbar::toolbarClassName | ( | ) | const [virtual] |
Get the toolbar id name, the toolbar id name is not the same thing as the visible toolbar text.
| virtual QToolBar* makVrv::DtToolbar::createToolbar | ( | DtDe & | , |
| QWidget * | parent | ||
| ) | [pure virtual] |
Build a toolbar.
Implemented in makVrv::DtIntervisibilityToolbar, makVrv::DtSimulationConnectionsToolbar, makVrv::DtDisplaySettingsToolbar, makVrf::DtEnvironmentControlAreaToolbar, makVrv::DtObserverSettingsToolbar, makVrv::DtTerrainToolbar, makVrf::DtSimulationTimeScaleToolbar, makVrf::DtScenarioToolbar, makVrf::DtVrfAttachObjectToolbar, makVrf::DtBackEndSelectionListToolbar, makVrf::DtVrfOverlaySelectionListToolbar, makVrf::DtSimulationTimeToolbar, makVrv::exampleSymbolFacade3::DtSymbolDriverToolbar, makVrv::exampleSymbolFacade4::DtSymbolDriverToolbar, makVrv::exampleSymbolFacade5::DtSymbolDriverToolbar, makVrv::exampleSymbolFacade1::DtSymbolDriverToolbar, makVrv::exampleSymbolFacade2::DtSymbolDriverToolbar, makVrv::DtSceneToolbar, makVrf::DtSimulationControlToolbar, makVrv::vrvExampleToolbarPlugin::DtExampleToolbar, makVrf::DtSetToolbar, and makVrf::DtTaskToolbar.
| virtual void makVrv::DtToolbar::dock | ( | QToolBar * | , |
| QMainWindow * | |||
| ) | [virtual] |
Using the DE, looks at the configuration to see where this should be docked and whether or not it is initially visible.
Docking a toolbar also sets the myToolbar member to point to the toolbar being docked
| QToolBar* makVrv::DtToolbar::toolbar | ( | ) | const |
Brief returns the toolbar this object wraps.
| virtual bool makVrv::DtToolbar::initiallyVisible | ( | ) | const [virtual] |
Whether or not (according to configuration) toolbar is initially visible.
| void makVrv::DtToolbar::setToolbarVisible | ( | bool | visible | ) |
call either show or hide toolbar base upon the input.
| virtual QToolBar* makVrv::DtToolbar::toolbar | ( | ) | [virtual] |
Returns the toolbar that was docked as part of this item.
| virtual bool makVrv::DtToolbar::isToolbarHidden | ( | ) | [virtual] |
Returns true if toolbar is hidden.
| virtual void makVrv::DtToolbar::showToolbar | ( | ) | [virtual] |
Show the toolbar.
| virtual void makVrv::DtToolbar::hideToolbar | ( | ) | [virtual] |
Hide the toolbar.
| boost::signal<void ()> makVrv::DtToolbar::signal_toolbarSet |
std::string makVrv::DtToolbar::myClassName [protected] |
DtDe& makVrv::DtToolbar::myDe [protected] |
QToolBar* makVrv::DtToolbar::myToolbar [protected] |