![]() |
VR-Forces 4.6.1 Class Documentation
|
A widget class for putting simulation Time buttons on that are tied to existing menu items. More...

Public Member Functions | |
| virtual | ~DtFrameRateMonitorWidget () |
| DTOR. | |
| virtual QIcon | icon () |
| Get the icon of the page. | |
| virtual QString | title () |
| Get the title of the page. | |
| virtual const std::string & | pageClassName () const |
| Get the class name of the page. | |
| virtual void | addColumn (const QString &, const DtVariableColumnTreeWidget::Flags &, DtVariableColumnTreeWidget::DtDisplayFunction *display, DtVariableColumnTreeWidget::DtSortFunction *=DtVariableColumnTreeWidget::defaultSort()) |
| Add a new column to the frame rate widget. | |
| virtual void | removeAllBackends () |
| Removes all the servers from the monitor. | |
| virtual void | addBackend (const QString &) |
| Adds a new backend. | |
| virtual void | removeBackend (const QString &) |
| Removes a backend. | |
| virtual void | update () |
| Redraws frame rate list view. | |
Public Member Functions inherited from makVrv::DtPage | |
| DtPage (DtDe &de, QWidget *parent=0, Qt::WindowFlags f=0) | |
| CTOR for page. | |
| virtual | ~DtPage () |
| DTOR for page. | |
| virtual PageAction | pageAction () |
| return the current action on the page | |
| virtual void | setPageAction (PageAction action) |
| set the curret action on the page | |
| virtual void | setActionFlag (int flag) |
| set the action flag of the page | |
| virtual int | actionFlag () |
| return the action flag of the page | |
| virtual void | setParentDialog (QWidget *paraentDialog) |
| set the parent dialog that owns this page | |
| virtual QWidget * | parentDialog () |
| return the parent dialog that own this page | |
| 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 | |
| virtual void | askBeforeAction () |
| Called when the action flag is set and before the action is beind executed, default do nothing. | |
| 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. | |
| virtual void | resumeLastAction () |
| resume the last action of the page | |
| virtual void | onCloseEvent () |
| will be called when user hit the close button of this page, default do nothing. | |
| virtual void | onSwitchEvent () |
| will be called when user try switch to another page, default do nothing. | |
Public Member Functions inherited from makVrf::DtFrameRateMonitorWidgetInterface | |
| virtual | ~DtFrameRateMonitorWidgetInterface () |
| Virtual DTOR. | |
Public Attributes | |
| QVBoxLayout * | myMainLayout |
| DtVariableColumnTreeWidget * | myFrameRates |
| DtFrameRateMonitorWidgetLogic * | myLogic |
Protected Member Functions | |
| DtFrameRateMonitorWidget (makVrv::DtDe &de, QWidget *parent=0, Qt::WindowFlags flags=0) | |
| CTOR. | |
| virtual void | activate () |
| Called when the page is displayed. | |
| virtual void | deactivate () |
| Called when the page is hidden. | |
| virtual void | setupUi (QWidget *p) |
| Sets up the contents of the widget onto the supplied parent. | |
| 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. | |
| virtual void | closeEvent (QCloseEvent *) |
| virtual void | showEvent (QShowEvent *) |
| virtual void | hideEvent (QHideEvent *) |
Protected Attributes | |
| std::string | myClassName |
Protected Attributes inherited from makVrv::DtPage | |
| DtDe & | myDe |
| QWidget * | myParentDialog |
| PageAction | myCurrentPageAction |
| int | myActionFlag |
Friends | |
| class | DtFrameRateMonitorWidgetCreator |
| Let the creator create the page. | |
Additional Inherited Members | |
Public Types inherited from makVrv::DtPage | |
| enum | PageAction { None = 0x0000, Switching = 0x0001, Closing = 0x0010 } |
A widget class for putting simulation Time buttons on that are tied to existing menu items.
|
virtual |
DTOR.
|
protected |
CTOR.
|
virtual |
Get the icon of the page.
Implements makVrv::DtPage.
|
virtual |
Get the title of the page.
Implements makVrv::DtPage.
|
virtual |
Get the class name of the page.
Implements makVrv::DtPage.
|
virtual |
Add a new column to the frame rate widget.
Implements makVrf::DtFrameRateMonitorWidgetInterface.
|
virtual |
Removes all the servers from the monitor.
Implements makVrf::DtFrameRateMonitorWidgetInterface.
|
virtual |
Adds a new backend.
Implements makVrf::DtFrameRateMonitorWidgetInterface.
|
virtual |
Removes a backend.
Implements makVrf::DtFrameRateMonitorWidgetInterface.
|
virtual |
Redraws frame rate list view.
Implements makVrf::DtFrameRateMonitorWidgetInterface.
|
protectedvirtual |
Called when the page is displayed.
Implements makVrv::DtPage.
|
protectedvirtual |
Called when the page is hidden.
Implements makVrv::DtPage.
|
protectedvirtual |
Sets up the contents of the widget onto the supplied parent.
|
protectedvirtual |
|
protectedvirtual |
Call down to logic to start monitoring or stop monitoring frame rate monitor settings based on current backends.
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
friend |
Let the creator create the page.
|
protected |
| QVBoxLayout* makVrf::DtFrameRateMonitorWidget::myMainLayout |
| DtVariableColumnTreeWidget* makVrf::DtFrameRateMonitorWidget::myFrameRates |
| DtFrameRateMonitorWidgetLogic* makVrf::DtFrameRateMonitorWidget::myLogic |