![]() |
VR-Forces 4.6.1 Class Documentation
|
Contains the DtVirtualRealitySettingsPage class declaration. More...

Public Slots | |
User input slots. | |
Receives notification that the user has changed a widget's value. | |
| virtual void | onEnabledChanged (int state) |
| virtual void | onMirroringChanged (int state) |
| virtual void | onMirrorChannelChanged (int state) |
| virtual void | onAttachedObserverChanged (int state) |
| virtual void | onFlipOverlaysChanged (int state) |
Public Member Functions | |
| DtVirtualRealitySettingsPage (DtDe &de, QWidget *parent, Qt::WindowFlags f=Qt::Widget) | |
| CTOR. | |
| virtual | ~DtVirtualRealitySettingsPage () |
| 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. | |
Field value setters. | |
Sets the values of the widget's corresponding fields. | |
| virtual void | setEnabled (bool enabled) |
| sets the VR enabled check box on the UI page | |
| virtual void | setMirroring (makArchives::DtVirtualRealitySettingsRecord::DtMirroring view) |
| sets if HMD mirroring on another display is enabled in the UI page | |
| virtual void | setMirrorChannel (std::string channelName) |
| set which channel the HMD will be mirrored on in the UI page | |
| virtual void | setVirtualRealityAvailable (bool available) |
| sets whether or not the page is active based on VR being available | |
| virtual void | setChannelNames (const std::vector< std::string > &names) |
| set the list of channel names that the HMD may be mirrored on in the UI page | |
| virtual void | setObserverNames (const std::vector< std::string > &names) |
| set the list of observer names that the HMD can be attached to in the UI page | |
| virtual void | setAttachedObserver (std::string observerName) |
| which observer the HMD will be attached to on the UI page | |
| virtual void | setFlipOverlay (bool flip) |
| set if the overlays should be flipped on the vertical axis to look correct on the current hmd | |
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::DtVirtualRealitySettingsInterface | |
| virtual | ~DtVirtualRealitySettingsInterface () |
| DTOR. | |
Static Public Member Functions | |
| static const std::string & | thePageClassName () |
| Get the class name of the page (static). | |
Protected Member Functions | |
| void | setupGui () |
| Sets up the widget's fields. | |
| void | connectToSignals () |
| Connects widget signals to slots. | |
| virtual void | activate () |
| Called when the page is displayed. | |
| virtual void | deactivate () |
| Called when the page is hidden. | |
Protected Attributes | |
| Ui::DtVirtualRealitySettingsWidget | myUiImpl |
| Widgets etc. | |
| DtPersistenceToolbarWidget * | myToolbar |
| QWidget * | myMainWidget |
| DtVirtualRealitySettingsLogic * | myLogic |
Protected Attributes inherited from makVrv::DtPage | |
| DtDe & | myDe |
| QWidget * | myParentDialog |
| PageAction | myCurrentPageAction |
| int | myActionFlag |
Additional Inherited Members | |
Public Types inherited from makVrv::DtPage | |
| enum | PageAction { None = 0x0000, Switching = 0x0001, Closing = 0x0010 } |
Public Attributes inherited from makVrv::DtVirtualRealitySettingsInterface | |
| boost::signal< void(bool)> | signal_enabledChanged |
| Signals. | |
| boost::signal< void(makArchives::DtVirtualRealitySettingsRecord::DtMirroring)> | signal_mirroringChanged |
| Called when the user changes the mirroring drop down in the UI. | |
| boost::signal< void(std::string)> | signal_mirrorChannelChanged |
| called when the user changes the mirroring type in the UI | |
| boost::signal< void(std::string)> | signal_attachedObserverChanged |
| called when the user changes the attached observer in the UI | |
| boost::signal< void(bool)> | signal_flipOverlaysChanged |
| called when the user changes the flip overlay check box in the UI | |
Contains the DtVirtualRealitySettingsPage class declaration.
This class is the user interface to the Virtual Reality settings.
| makVrv::DtVirtualRealitySettingsPage::DtVirtualRealitySettingsPage | ( | DtDe & | de, |
| QWidget * | parent, | ||
| Qt::WindowFlags | f = Qt::Widget |
||
| ) |
CTOR.
|
virtual |
DTOR.
|
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.
|
static |
Get the class name of the page (static).
|
virtual |
sets the VR enabled check box on the UI page
Implements makVrv::DtVirtualRealitySettingsInterface.
|
virtual |
sets if HMD mirroring on another display is enabled in the UI page
Implements makVrv::DtVirtualRealitySettingsInterface.
|
virtual |
set which channel the HMD will be mirrored on in the UI page
Implements makVrv::DtVirtualRealitySettingsInterface.
|
virtual |
sets whether or not the page is active based on VR being available
Implements makVrv::DtVirtualRealitySettingsInterface.
|
virtual |
set the list of channel names that the HMD may be mirrored on in the UI page
Implements makVrv::DtVirtualRealitySettingsInterface.
|
virtual |
set the list of observer names that the HMD can be attached to in the UI page
Implements makVrv::DtVirtualRealitySettingsInterface.
|
virtual |
which observer the HMD will be attached to on the UI page
Implements makVrv::DtVirtualRealitySettingsInterface.
|
virtual |
set if the overlays should be flipped on the vertical axis to look correct on the current hmd
Implements makVrv::DtVirtualRealitySettingsInterface.
|
virtualslot |
|
virtualslot |
|
virtualslot |
|
virtualslot |
|
virtualslot |
|
protected |
Sets up the widget's fields.
Non-virtual (Called from CTOR).
|
protected |
Connects widget signals to slots.
Non-virtual (Called from CTOR).
|
protectedvirtual |
Called when the page is displayed.
Implements makVrv::DtPage.
|
protectedvirtual |
Called when the page is hidden.
Implements makVrv::DtPage.
|
protected |
Widgets etc.
|
protected |
|
protected |
|
protected |