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 | Static Public Member Functions | Public Attributes | Protected Slots | Protected Member Functions
makVrf::DtDebugDrawNavMeshPage Class Reference

A widget for configuring the sim nav mesh debug information. More...

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

Public Member Functions

 DtDebugDrawNavMeshPage (makVrv::DtDe &de, QWidget *parent, Qt::WindowFlags f)
 CTOR. More...
 
virtual ~DtDebugDrawNavMeshPage ()
 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::DtDebugDrawNavMeshInterface
 DtDebugDrawNavMeshInterface (makVrv::DtDe &de, QWidget *parent, Qt::WindowFlags f)
 
virtual ~DtDebugDrawNavMeshInterface ()
 
- 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

QGridLayout * myMainLayout
 
DtDebugDrawNavMeshLogicmyLogic
 
DtDebugDrawConnectorPagemyConnectorToolbar
 
QLabelmyColorSliderName
 
QSlider * myAlphaColorSlider
 
QLabelmyOffsetSliderName
 
QSlider * myOffsetSlider
 
QLabelmyOffsetUnitLabel
 
QRadioButton * myShowNavMeshNoColor
 
QRadioButton * myShowNavMeshColor
 
QLabelmyProfileLabel
 
QComboBoxmyProfileBox
 
QCheckBoxmyShowNavMesh
 
QString myProfileString
 
QListWidget * myColorList
 
DtDebugDrawColorsmyDebugDrawColors
 

Protected Slots

virtual void on_myProfileBox_currentTextChanged (const QString &text)
 
virtual void on_myRefreshButton_clicked ()
 
virtual void on_myConnectButton_clicked ()
 
virtual void on_myQueryRange_textChanged (const QString &text)
 
virtual void on_myQueryRange_returnPressed ()
 
virtual void on_myShowNavMesh_stateChanged (int state)
 
virtual void on_myShowNavMeshNoColor_clicked ()
 
virtual void on_myShowNavMeshColor_clicked ()
 
virtual void on_myAlphaColorSlider_valueChanged ()
 
virtual void on_myOffsetSlider_valueChanged ()
 

Protected Member Functions

virtual void fillNavColor ()
 fill the nav mesh color box More...
 
virtual void setupGui ()
 setup all buttons and QT components 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 setupComboBox ()
 fill the profile combo box 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 sim nav mesh debug information.

Constructor & Destructor Documentation

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

CTOR.

virtual makVrf::DtDebugDrawNavMeshPage::~DtDebugDrawNavMeshPage ( )
virtual

DTOR.

Member Function Documentation

virtual QIcon makVrf::DtDebugDrawNavMeshPage::icon ( )
virtual

Get the icon of the page.

Implements makVrf::DtDebugDrawNavMeshInterface.

virtual QString makVrf::DtDebugDrawNavMeshPage::title ( )
virtual

Get the title of the page.

Implements makVrf::DtDebugDrawNavMeshInterface.

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

Get the class name of the page.

Implements makVrf::DtDebugDrawNavMeshInterface.

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

Static accessor for the class name.

virtual void makVrf::DtDebugDrawNavMeshPage::fillNavColor ( )
protectedvirtual

fill the nav mesh color box

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

setup all buttons and QT components

Implements makVrf::DtDebugDrawNavMeshInterface.

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

Called by the Pager when this page becomes active.

Implements makVrf::DtDebugDrawNavMeshInterface.

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

Called by the Pager when this page becomes active.

Implements makVrf::DtDebugDrawNavMeshInterface.

virtual void makVrf::DtDebugDrawNavMeshPage::setupComboBox ( )
protectedvirtual

fill the profile combo box

virtual void makVrf::DtDebugDrawNavMeshPage::on_myProfileBox_currentTextChanged ( const QString &  text)
protectedvirtualslot
virtual void makVrf::DtDebugDrawNavMeshPage::on_myRefreshButton_clicked ( )
protectedvirtualslot
virtual void makVrf::DtDebugDrawNavMeshPage::on_myConnectButton_clicked ( )
protectedvirtualslot
virtual void makVrf::DtDebugDrawNavMeshPage::on_myQueryRange_textChanged ( const QString &  text)
protectedvirtualslot
virtual void makVrf::DtDebugDrawNavMeshPage::on_myQueryRange_returnPressed ( )
protectedvirtualslot
virtual void makVrf::DtDebugDrawNavMeshPage::on_myShowNavMesh_stateChanged ( int  state)
protectedvirtualslot
virtual void makVrf::DtDebugDrawNavMeshPage::on_myShowNavMeshNoColor_clicked ( )
protectedvirtualslot
virtual void makVrf::DtDebugDrawNavMeshPage::on_myShowNavMeshColor_clicked ( )
protectedvirtualslot
virtual void makVrf::DtDebugDrawNavMeshPage::on_myAlphaColorSlider_valueChanged ( )
protectedvirtualslot
virtual void makVrf::DtDebugDrawNavMeshPage::on_myOffsetSlider_valueChanged ( )
protectedvirtualslot

Member Data Documentation

QGridLayout* makVrf::DtDebugDrawNavMeshPage::myMainLayout
DtDebugDrawNavMeshLogic* makVrf::DtDebugDrawNavMeshPage::myLogic
DtDebugDrawConnectorPage* makVrf::DtDebugDrawNavMeshPage::myConnectorToolbar
QLabel* makVrf::DtDebugDrawNavMeshPage::myColorSliderName
QSlider* makVrf::DtDebugDrawNavMeshPage::myAlphaColorSlider
QLabel* makVrf::DtDebugDrawNavMeshPage::myOffsetSliderName
QSlider* makVrf::DtDebugDrawNavMeshPage::myOffsetSlider
QLabel* makVrf::DtDebugDrawNavMeshPage::myOffsetUnitLabel
QRadioButton* makVrf::DtDebugDrawNavMeshPage::myShowNavMeshNoColor
QRadioButton* makVrf::DtDebugDrawNavMeshPage::myShowNavMeshColor
QLabel* makVrf::DtDebugDrawNavMeshPage::myProfileLabel
QComboBox* makVrf::DtDebugDrawNavMeshPage::myProfileBox
QCheckBox* makVrf::DtDebugDrawNavMeshPage::myShowNavMesh
QString makVrf::DtDebugDrawNavMeshPage::myProfileString
QListWidget* makVrf::DtDebugDrawNavMeshPage::myColorList
DtDebugDrawColors* makVrf::DtDebugDrawNavMeshPage::myDebugDrawColors

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)