VR-Forces 5.0.1 Developer's Guide
 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. Only temporary!

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)
 
virtual ~DtSwitchDynamicTerrainAction ()
 
virtual QActioncreateAction (makVrv::DtDe &, QWidget *parent)
 
- Public Member Functions inherited from makVrv::DtMenuItem
 DtMenuItem (const std::string &menuItemIdName)
 
virtual ~DtMenuItem ()
 
virtual const std::string & menuItemIdName () const
 

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 ()
 

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 Mon Jun 20 00:38:30 EDT 2022 from SVN revision 244029
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)