![]() |
VR-Forces 5.0.2 Developer's Guide
|
An Item builder for the create instrument panel menu. The menu id string is "DtCreateInstrumentPanelMenu".

Public Member Functions | |
| DtCreateInstrumentPanelMenu (DtDe &) | |
| virtual | ~DtCreateInstrumentPanelMenu () |
| virtual QMenu * | createMenu (DtDe &, QWidget *parent) |
Public Member Functions inherited from makVrv::DtMenu | |
| DtMenu (DtDe &de, const std::string &menuIdName) | |
| virtual | ~DtMenu () |
| virtual const std::string & | menuIdName () const |
Protected Slots | |
| virtual void | onAboutToShow () |
Protected Attributes | |
| QMenu * | myMenu |
Protected Attributes inherited from makVrv::DtMenu | |
| DtDe & | myDe |
| std::string | myMenuIdName |
| makVrv::DtCreateInstrumentPanelMenu::DtCreateInstrumentPanelMenu | ( | DtDe & | ) |
CTOR.
|
virtual |
DTOR.
|
virtual |
Builds the "Create Instrument Panel" menu and connects the onAboutToShow slot.
Implements makVrv::DtMenu.
|
protectedvirtualslot |
If there is a single entity selected, DtCreateInstrumentPanelItems are created for it and added to the menu. Otherwise the menu is disabled.
|
protected |