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

A widget for configuring the Debug Simulation Terrain information. More...

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

Public Member Functions

 DtDebugDrawTerrainPage (makVrv::DtDe &de, QWidget *parent, Qt::WindowFlags f)
 CTOR. More...
 
virtual ~DtDebugDrawTerrainPage ()
 DTOR. More...
 
virtual QIcon icon ()
 Get the icon of the page. More...
 
virtual QString title ()
 Get the title of the page. More...
 
virtual const std::string & pageClassName () const
 Get the class name of the page. More...
 
- Public Member Functions inherited from makVrf::DtDebugDrawTerrainInterface
 DtDebugDrawTerrainInterface (makVrv::DtDe &de, QWidget *parent, Qt::WindowFlags f)
 
virtual ~DtDebugDrawTerrainInterface ()
 
- Public Member Functions inherited from makVrv::DtPage
 DtPage (DtDe &de, QWidget *parent=0, Qt::WindowFlags f=0)
 CTOR for page. More...
 
virtual ~DtPage ()
 DTOR for page. More...
 
virtual PageAction pageAction ()
 return the current action on the page More...
 
virtual void setPageAction (PageAction action)
 set the curret action on the page More...
 
virtual void setActionFlag (int flag)
 set the action flag of the page More...
 
virtual int actionFlag ()
 return the action flag of the page More...
 
virtual void setParentDialog (QWidget *paraentDialog)
 set the parent dialog that owns this page More...
 
virtual QWidget * parentDialog ()
 return the parent dialog that own this page More...
 
virtual bool shouldAskBeforeAction (PageAction action)
 test the action flag with the action, return true if we should ask before executing the action /param action the current page action More...
 
virtual void askBeforeAction ()
 Called when the action flag is set and before the action is beind executed, default do nothing. More...
 
virtual void executeAfterAsk (bool revert)
 Called after askBeforeAction(), whether user wants to revert the action or resume the action /param revert if true, the user wants to revert the action, otherwise resume it. More...
 
virtual void resumeLastAction ()
 resume the last action of the page More...
 
virtual void onCloseEvent ()
 will be called when user hit the close button of this page, default do nothing. More...
 
virtual void onSwitchEvent ()
 will be called when user try switch to another page, default do nothing. More...
 

Static Public Member Functions

static const std::string & thePageClassName ()
 Static accessor for the class name. More...
 

Public Attributes

makVrv::DtDemyDe
 
DtDebugDrawTerrainLogicmyLogic
 
QGridLayout * myMainLayout
 
DtDebugDrawConnectorPagemyConnectorToolbar
 
QLabelmyColorSliderName
 
QSlider * myAlphaColorSlider
 
QCheckBoxmyShowSkin
 
QRadioButton * myShowSkinNoColor
 
QRadioButton * myShowSkinSoilColor
 
QRadioButton * myShowSkinRoughnessColor
 
QCheckBoxmyShowSkinNormal
 
QCheckBoxmyShowCollisionObjects
 
QCheckBoxmyForcePageIn
 
QListWidget * myColorList
 
DtDebugDrawColorsmyDebugDrawColors
 

Protected Slots

virtual void on_myShowSkin_stateChanged (int state)
 
virtual void on_myShowSkinNoColor_clicked ()
 
virtual void on_myShowSkinSoilColor_clicked ()
 
virtual void on_myShowSkinRoughnessColor_clicked ()
 
virtual void on_myShowSkinNormal_stateChanged (int state)
 
virtual void on_myShowCollisionObjects_stateChanged (int state)
 
virtual void on_myForcePageIn_stateChanged (int state)
 
virtual void on_myConnectButton_clicked ()
 
virtual void on_myRefreshButton_clicked ()
 
virtual void on_myQueryRange_textChanged (const QString &text)
 
virtual void on_myQueryRange_returnPressed ()
 
virtual void on_myAlphaColorSlider_valueChanged ()
 

Protected Member Functions

virtual void setupGui ()
 Create the QT GUI. More...
 
virtual void activate ()
 Called by the Pager when this page becomes active. More...
 
virtual void deactivate ()
 Called by the Pager when this page becomes active. More...
 
virtual void fillSoilColor ()
 Fill the color item list for soil type. More...
 
virtual void fillRoughnessSoilColor ()
 Fill the color item list for roughness soil type. More...
 

Additional Inherited Members

- Public Types inherited from makVrv::DtPage
enum  PageAction { None = 0x0000, Switching = 0x0001, Closing = 0x0010 }
 
- Protected Attributes inherited from makVrv::DtPage
DtDemyDe
 
QWidget * myParentDialog
 
PageAction myCurrentPageAction
 
int myActionFlag
 

Detailed Description

A widget for configuring the Debug Simulation Terrain information.

Constructor & Destructor Documentation

makVrf::DtDebugDrawTerrainPage::DtDebugDrawTerrainPage ( makVrv::DtDe de,
QWidget *  parent,
Qt::WindowFlags  f 
)

CTOR.

virtual makVrf::DtDebugDrawTerrainPage::~DtDebugDrawTerrainPage ( )
virtual

DTOR.

Member Function Documentation

virtual QIcon makVrf::DtDebugDrawTerrainPage::icon ( )
virtual

Get the icon of the page.

Implements makVrf::DtDebugDrawTerrainInterface.

virtual QString makVrf::DtDebugDrawTerrainPage::title ( )
virtual

Get the title of the page.

Implements makVrf::DtDebugDrawTerrainInterface.

virtual const std::string& makVrf::DtDebugDrawTerrainPage::pageClassName ( ) const
virtual

Get the class name of the page.

Implements makVrf::DtDebugDrawTerrainInterface.

static const std::string& makVrf::DtDebugDrawTerrainPage::thePageClassName ( )
static

Static accessor for the class name.

virtual void makVrf::DtDebugDrawTerrainPage::setupGui ( )
protectedvirtual

Create the QT GUI.

Implements makVrf::DtDebugDrawTerrainInterface.

virtual void makVrf::DtDebugDrawTerrainPage::activate ( )
protectedvirtual

Called by the Pager when this page becomes active.

Implements makVrf::DtDebugDrawTerrainInterface.

virtual void makVrf::DtDebugDrawTerrainPage::deactivate ( )
protectedvirtual

Called by the Pager when this page becomes active.

Implements makVrf::DtDebugDrawTerrainInterface.

virtual void makVrf::DtDebugDrawTerrainPage::fillSoilColor ( )
protectedvirtual

Fill the color item list for soil type.

virtual void makVrf::DtDebugDrawTerrainPage::fillRoughnessSoilColor ( )
protectedvirtual

Fill the color item list for roughness soil type.

virtual void makVrf::DtDebugDrawTerrainPage::on_myShowSkin_stateChanged ( int  state)
protectedvirtualslot
virtual void makVrf::DtDebugDrawTerrainPage::on_myShowSkinNoColor_clicked ( )
protectedvirtualslot
virtual void makVrf::DtDebugDrawTerrainPage::on_myShowSkinSoilColor_clicked ( )
protectedvirtualslot
virtual void makVrf::DtDebugDrawTerrainPage::on_myShowSkinRoughnessColor_clicked ( )
protectedvirtualslot
virtual void makVrf::DtDebugDrawTerrainPage::on_myShowSkinNormal_stateChanged ( int  state)
protectedvirtualslot
virtual void makVrf::DtDebugDrawTerrainPage::on_myShowCollisionObjects_stateChanged ( int  state)
protectedvirtualslot
virtual void makVrf::DtDebugDrawTerrainPage::on_myForcePageIn_stateChanged ( int  state)
protectedvirtualslot
virtual void makVrf::DtDebugDrawTerrainPage::on_myConnectButton_clicked ( )
protectedvirtualslot
virtual void makVrf::DtDebugDrawTerrainPage::on_myRefreshButton_clicked ( )
protectedvirtualslot
virtual void makVrf::DtDebugDrawTerrainPage::on_myQueryRange_textChanged ( const QString &  text)
protectedvirtualslot
virtual void makVrf::DtDebugDrawTerrainPage::on_myQueryRange_returnPressed ( )
protectedvirtualslot
virtual void makVrf::DtDebugDrawTerrainPage::on_myAlphaColorSlider_valueChanged ( )
protectedvirtualslot

Member Data Documentation

makVrv::DtDe& makVrf::DtDebugDrawTerrainPage::myDe
DtDebugDrawTerrainLogic* makVrf::DtDebugDrawTerrainPage::myLogic
QGridLayout* makVrf::DtDebugDrawTerrainPage::myMainLayout
DtDebugDrawConnectorPage* makVrf::DtDebugDrawTerrainPage::myConnectorToolbar
QLabel* makVrf::DtDebugDrawTerrainPage::myColorSliderName
QSlider* makVrf::DtDebugDrawTerrainPage::myAlphaColorSlider
QCheckBox* makVrf::DtDebugDrawTerrainPage::myShowSkin
QRadioButton* makVrf::DtDebugDrawTerrainPage::myShowSkinNoColor
QRadioButton* makVrf::DtDebugDrawTerrainPage::myShowSkinSoilColor
QRadioButton* makVrf::DtDebugDrawTerrainPage::myShowSkinRoughnessColor
QCheckBox* makVrf::DtDebugDrawTerrainPage::myShowSkinNormal
QCheckBox* makVrf::DtDebugDrawTerrainPage::myShowCollisionObjects
QCheckBox* makVrf::DtDebugDrawTerrainPage::myForcePageIn
QListWidget* makVrf::DtDebugDrawTerrainPage::myColorList
DtDebugDrawColors* makVrf::DtDebugDrawTerrainPage::myDebugDrawColors

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

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)