![]() |
VR-Forces 4.6 Class Documentation
|
Widget for controlling drivers. More...

Public Member Functions | |
| virtual | ~DtDriverWidget () |
| 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 | addDriver (const std::string &driverName) |
| Add a driver. | |
| virtual void | removeDriver (const std::string &driverName) |
| Remove a driver. | |
| virtual void | changeDriverState (const std::string &driverName, bool running) |
| Specify the running state of the driver. | |
| virtual std::string | queryUserForNewDriver (const std::list< std::string > &driverNames) |
| request driver user | |
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 makVrv::DtDriverWidgetInterface | |
| DtDriverWidgetInterface () | |
| Default CTOR. | |
| virtual | ~DtDriverWidgetInterface () |
| DTOR. | |
Protected Slots | |
| virtual void | on_myNewButton_clicked () |
| virtual void | on_myDeleteButton_clicked () |
| virtual void | on_myStartButton_clicked () |
| virtual void | on_myStopButton_clicked () |
| virtual void | on_mySelectAllButton_clicked () |
| virtual void | on_myDriverTreeWidget_itemSelectionChanged () |
Protected Member Functions | |
| DtDriverWidget (DtDe &de, QWidget *parent=0, Qt::WindowFlags f=0) | |
| Constructor of the page. | |
| virtual void | activate () |
| Called when the page is displayed. | |
| virtual void | deactivate () |
| Called when the page is hidden. | |
Protected Attributes | |
| std::string | myClassName |
| DtDriverWidgetLogic * | myLogic |
Protected Attributes inherited from makVrv::DtPage | |
| DtDe & | myDe |
| QWidget * | myParentDialog |
| PageAction | myCurrentPageAction |
| int | myActionFlag |
Friends | |
| class | DtDriverWidgetCreator |
| Let the creator create the page. | |
Additional Inherited Members | |
Public Types inherited from makVrv::DtPage | |
| enum | PageAction { None = 0x0000, Switching = 0x0001, Closing = 0x0010 } |
Widget for controlling drivers.
|
virtual |
|
protected |
Constructor of the page.
|
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 driver.
Implements makVrv::DtDriverWidgetInterface.
|
virtual |
Remove a driver.
Implements makVrv::DtDriverWidgetInterface.
|
virtual |
Specify the running state of the driver.
Implements makVrv::DtDriverWidgetInterface.
|
virtual |
request driver user
Implements makVrv::DtDriverWidgetInterface.
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtual |
Called when the page is displayed.
Implements makVrv::DtPage.
|
protectedvirtual |
Called when the page is hidden.
Implements makVrv::DtPage.
|
friend |
Let the creator create the page.
|
protected |
|
protected |