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 | Public Attributes | Protected Member Functions | Protected Attributes | Friends
makVrf::DtFrameRateMonitorWidget Class Reference

A widget class for putting simulation Time buttons on that are tied to existing menu items. More...

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

Public Member Functions

virtual ~DtFrameRateMonitorWidget ()
 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...
 
virtual void addColumn (const QString &, const DtVariableColumnTreeWidget::Flags &, DtVariableColumnTreeWidget::DtDisplayFunction *display, DtVariableColumnTreeWidget::DtSortFunction *=DtVariableColumnTreeWidget::defaultSort())
 Add a new column to the frame rate widget. More...
 
virtual void removeAllBackends ()
 Removes all the servers from the monitor. More...
 
virtual void addBackend (const QString &)
 Adds a new backend. More...
 
virtual void removeBackend (const QString &)
 Removes a backend. More...
 
virtual void update ()
 Redraws frame rate list view. More...
 
- 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...
 
- Public Member Functions inherited from makVrf::DtFrameRateMonitorWidgetInterface
virtual ~DtFrameRateMonitorWidgetInterface ()
 Virtual DTOR. More...
 

Public Attributes

QVBoxLayout * myMainLayout
 
DtVariableColumnTreeWidgetmyFrameRates
 
DtFrameRateMonitorWidgetLogicmyLogic
 

Protected Member Functions

 DtFrameRateMonitorWidget (makVrv::DtDe &de, QWidget *parent=0, Qt::WindowFlags flags=0)
 CTOR. More...
 
virtual void activate ()
 Called when the page is displayed. More...
 
virtual void deactivate ()
 Called when the page is hidden. More...
 
virtual void setupUi (QWidget *p)
 Sets up the contents of the widget onto the supplied parent. More...
 
virtual void slot_postInitialize ()
 
virtual void setContainerVisible (bool visible)
 Call down to logic to start monitoring or stop monitoring frame rate monitor settings based on current backends. More...
 
virtual void closeEvent (QCloseEvent *)
 
virtual void showEvent (QShowEvent *)
 
virtual void hideEvent (QHideEvent *)
 

Protected Attributes

std::string myClassName
 
- Protected Attributes inherited from makVrv::DtPage
DtDemyDe
 
QWidget * myParentDialog
 
PageAction myCurrentPageAction
 
int myActionFlag
 

Friends

class DtFrameRateMonitorWidgetCreator
 Let the creator create the page. More...
 

Additional Inherited Members

- Public Types inherited from makVrv::DtPage
enum  PageAction { None = 0x0000, Switching = 0x0001, Closing = 0x0010 }
 

Detailed Description

A widget class for putting simulation Time buttons on that are tied to existing menu items.

Constructor & Destructor Documentation

virtual makVrf::DtFrameRateMonitorWidget::~DtFrameRateMonitorWidget ( )
virtual

DTOR.

makVrf::DtFrameRateMonitorWidget::DtFrameRateMonitorWidget ( makVrv::DtDe de,
QWidget *  parent = 0,
Qt::WindowFlags  flags = 0 
)
protected

CTOR.

Member Function Documentation

virtual QIcon makVrf::DtFrameRateMonitorWidget::icon ( )
virtual

Get the icon of the page.

Implements makVrv::DtPage.

virtual QString makVrf::DtFrameRateMonitorWidget::title ( )
virtual

Get the title of the page.

Implements makVrv::DtPage.

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

Get the class name of the page.

Implements makVrv::DtPage.

virtual void makVrf::DtFrameRateMonitorWidget::addColumn ( const QString &  ,
const DtVariableColumnTreeWidget::Flags ,
DtVariableColumnTreeWidget::DtDisplayFunction display,
DtVariableColumnTreeWidget::DtSortFunction = DtVariableColumnTreeWidget::defaultSort() 
)
virtual

Add a new column to the frame rate widget.

Implements makVrf::DtFrameRateMonitorWidgetInterface.

virtual void makVrf::DtFrameRateMonitorWidget::removeAllBackends ( )
virtual

Removes all the servers from the monitor.

Implements makVrf::DtFrameRateMonitorWidgetInterface.

virtual void makVrf::DtFrameRateMonitorWidget::addBackend ( const QString &  )
virtual

Adds a new backend.

Implements makVrf::DtFrameRateMonitorWidgetInterface.

virtual void makVrf::DtFrameRateMonitorWidget::removeBackend ( const QString &  )
virtual

Removes a backend.

Implements makVrf::DtFrameRateMonitorWidgetInterface.

virtual void makVrf::DtFrameRateMonitorWidget::update ( )
virtual

Redraws frame rate list view.

Implements makVrf::DtFrameRateMonitorWidgetInterface.

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

Called when the page is displayed.

Implements makVrv::DtPage.

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

Called when the page is hidden.

Implements makVrv::DtPage.

virtual void makVrf::DtFrameRateMonitorWidget::setupUi ( QWidget *  p)
protectedvirtual

Sets up the contents of the widget onto the supplied parent.

virtual void makVrf::DtFrameRateMonitorWidget::slot_postInitialize ( )
protectedvirtual
virtual void makVrf::DtFrameRateMonitorWidget::setContainerVisible ( bool  visible)
protectedvirtual

Call down to logic to start monitoring or stop monitoring frame rate monitor settings based on current backends.

virtual void makVrf::DtFrameRateMonitorWidget::closeEvent ( QCloseEvent *  )
protectedvirtual
virtual void makVrf::DtFrameRateMonitorWidget::showEvent ( QShowEvent *  )
protectedvirtual
virtual void makVrf::DtFrameRateMonitorWidget::hideEvent ( QHideEvent *  )
protectedvirtual

Friends And Related Function Documentation

friend class DtFrameRateMonitorWidgetCreator
friend

Let the creator create the page.

Member Data Documentation

std::string makVrf::DtFrameRateMonitorWidget::myClassName
protected
QVBoxLayout* makVrf::DtFrameRateMonitorWidget::myMainLayout
DtVariableColumnTreeWidget* makVrf::DtFrameRateMonitorWidget::myFrameRates
DtFrameRateMonitorWidgetLogic* makVrf::DtFrameRateMonitorWidget::myLogic

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)