![]() |
VR-Forces 4.0.4 Class Documentation
|
Class used by DtConfigurableMenu when asked to create simple menus as in the function DtConfigurableMenu::createSimpleMenu(). More...

Public Member Functions | |
| DtSimpleMenu (makVrv::DtDe &de, std::string menuId, std::string menuText) | |
| virtual | ~DtSimpleMenu () |
| virtual std::string | menuText () |
| Gets the display text of the menu, not the menuId. | |
| QMenu * | createMenu (makVrv::DtDe &de, QWidget *parent) |
| Build a menu. | |
Protected Attributes | |
| std::string | myMenuText |
Class used by DtConfigurableMenu when asked to create simple menus as in the function DtConfigurableMenu::createSimpleMenu().
This class can be overridden to create even more extensively custom menus, but one could also just override the makVrv::DtMenu as well. Menu text is plainly passed in and the translation can be applied to it
| makVrf::DtSimpleMenu::DtSimpleMenu | ( | makVrv::DtDe & | de, |
| std::string | menuId, | ||
| std::string | menuText | ||
| ) | [inline] |
| virtual makVrf::DtSimpleMenu::~DtSimpleMenu | ( | ) | [inline, virtual] |
| virtual std::string makVrf::DtSimpleMenu::menuText | ( | ) | [inline, virtual] |
Gets the display text of the menu, not the menuId.
| QMenu* makVrf::DtSimpleMenu::createMenu | ( | makVrv::DtDe & | , |
| QWidget * | parent | ||
| ) | [inline, virtual] |
Build a menu.
Implements makVrv::DtMenu.
std::string makVrf::DtSimpleMenu::myMenuText [protected] |