VR-Forces 4.2 Class Documentation
List of all members | Public Member Functions | Protected Attributes
makVrf::DtSimpleMenu Class Reference

Class used by DtConfigurableMenu when asked to create simple menus as in the function DtConfigurableMenu::createSimpleMenu(). More...

Inheritance diagram for makVrf::DtSimpleMenu:
Inheritance graph
[legend]

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.
QMenucreateMenu (makVrv::DtDe &de, QWidget *parent)

Protected Attributes

std::string myMenuText

Detailed Description

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

Constructor & Destructor Documentation

makVrf::DtSimpleMenu::DtSimpleMenu ( makVrv::DtDe &  de,
std::string  menuId,
std::string  menuText 
)
inline
virtual makVrf::DtSimpleMenu::~DtSimpleMenu ( )
inlinevirtual

Member Function Documentation

virtual std::string makVrf::DtSimpleMenu::menuText ( )
inlinevirtual

Gets the display text of the menu, not the menuId.

QMenu* makVrf::DtSimpleMenu::createMenu ( makVrv::DtDe &  de,
QWidget parent 
)
inline

Member Data Documentation

std::string makVrf::DtSimpleMenu::myMenuText
protected

The documentation for this class was generated from the following file:

Document ID: Generated on Sun Nov 24 19:49:21 EST 2013 from SVN revision 133924
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)