VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Member Functions | Protected Attributes
makVrf::DtSwitchDynamicTerrainAction Class Reference

Action associated with the create -> Switch Dynamic Terrain menu entry This really doesn't belong on this menu. More...

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

Public Member Functions

 DtSwitchDynamicTerrainAction (makVrv::DtDe &de, const std::string &menuItemIdName, const QString &menuText, const std::string &iconFilename, const std::string &switchTypes)
 CTOR Must specify the menu item ID, the text to display on the menu, and a list of dynamic terrain switch types this action supports changing. More...
 
virtual ~DtSwitchDynamicTerrainAction ()
 DTOR. More...
 
virtual QActioncreateAction (makVrv::DtDe &, QWidget *parent)
 Build a menu item (via an action). More...
 
- Public Member Functions inherited from makVrv::DtMenuItem
 DtMenuItem (const std::string &menuItemIdName)
 CTOR. More...
 
virtual ~DtMenuItem ()
 DTOR. More...
 
virtual const std::string & menuItemIdName () const
 Get the menu id name, the menu id name is not the same thing as the visible menu text. More...
 

Protected Member Functions

virtual void on_triggered ()
 

Protected Attributes

makVrv::DtDemyDe
 
QActionmyAction
 
QString myMenuText
 
std::string myIconFilename
 
std::string mySwitchTypes
 
- Protected Attributes inherited from makVrv::DtMenuItem
std::string myMenuIdName
 

Additional Inherited Members

- Protected Slots inherited from makVrv::DtMenuItem
virtual void on_checkStateChanged (bool)
 
virtual void on_aboutToShow ()
 

Detailed Description

Action associated with the create -> Switch Dynamic Terrain menu entry This really doesn't belong on this menu.

Only temporary!

Constructor & Destructor Documentation

makVrf::DtSwitchDynamicTerrainAction::DtSwitchDynamicTerrainAction ( makVrv::DtDe de,
const std::string &  menuItemIdName,
const QString &  menuText,
const std::string &  iconFilename,
const std::string &  switchTypes 
)

CTOR Must specify the menu item ID, the text to display on the menu, and a list of dynamic terrain switch types this action supports changing.

switchTypes should be a comma separated list of switch type strings.

virtual makVrf::DtSwitchDynamicTerrainAction::~DtSwitchDynamicTerrainAction ( )
virtual

DTOR.

Member Function Documentation

virtual QAction* makVrf::DtSwitchDynamicTerrainAction::createAction ( makVrv::DtDe ,
QWidget *  parent 
)
virtual

Build a menu item (via an action).

Implements makVrv::DtMenuItem.

virtual void makVrf::DtSwitchDynamicTerrainAction::on_triggered ( )
protectedvirtual

Reimplemented from makVrv::DtMenuItem.

Member Data Documentation

makVrv::DtDe& makVrf::DtSwitchDynamicTerrainAction::myDe
protected
QAction* makVrf::DtSwitchDynamicTerrainAction::myAction
protected
QString makVrf::DtSwitchDynamicTerrainAction::myMenuText
protected
std::string makVrf::DtSwitchDynamicTerrainAction::myIconFilename
protected
std::string makVrf::DtSwitchDynamicTerrainAction::mySwitchTypes
protected

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

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)