VR-Forces 4.6.1 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 | Protected Member Functions | Protected Attributes
makVrv::DtVirtualRealitySettingsPage Class Reference

Contains the DtVirtualRealitySettingsPage class declaration. More...

Inheritance diagram for makVrv::DtVirtualRealitySettingsPage:
Inheritance graph
[legend]

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.
DtPersistenceToolbarWidgetmyToolbar
QWidget * myMainWidget
DtVirtualRealitySettingsLogicmyLogic
- Protected Attributes inherited from makVrv::DtPage
DtDemyDe
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

Detailed Description

Contains the DtVirtualRealitySettingsPage class declaration.

This class is the user interface to the Virtual Reality settings.

Constructor & Destructor Documentation

makVrv::DtVirtualRealitySettingsPage::DtVirtualRealitySettingsPage ( DtDe de,
QWidget *  parent,
Qt::WindowFlags  f = Qt::Widget 
)

CTOR.

virtual makVrv::DtVirtualRealitySettingsPage::~DtVirtualRealitySettingsPage ( )
virtual

DTOR.

Member Function Documentation

virtual QIcon makVrv::DtVirtualRealitySettingsPage::icon ( )
virtual

Get the icon of the page.

Implements makVrv::DtPage.

virtual QString makVrv::DtVirtualRealitySettingsPage::title ( )
virtual

Get the title of the page.

Implements makVrv::DtPage.

virtual const std::string& makVrv::DtVirtualRealitySettingsPage::pageClassName ( ) const
virtual

Get the class name of the page.

Implements makVrv::DtPage.

static const std::string& makVrv::DtVirtualRealitySettingsPage::thePageClassName ( )
static

Get the class name of the page (static).

virtual void makVrv::DtVirtualRealitySettingsPage::setEnabled ( bool  enabled)
virtual

sets the VR enabled check box on the UI page

Implements makVrv::DtVirtualRealitySettingsInterface.

virtual void makVrv::DtVirtualRealitySettingsPage::setMirroring ( makArchives::DtVirtualRealitySettingsRecord::DtMirroring  view)
virtual

sets if HMD mirroring on another display is enabled in the UI page

Implements makVrv::DtVirtualRealitySettingsInterface.

virtual void makVrv::DtVirtualRealitySettingsPage::setMirrorChannel ( std::string  channelName)
virtual

set which channel the HMD will be mirrored on in the UI page

Implements makVrv::DtVirtualRealitySettingsInterface.

virtual void makVrv::DtVirtualRealitySettingsPage::setVirtualRealityAvailable ( bool  available)
virtual

sets whether or not the page is active based on VR being available

Implements makVrv::DtVirtualRealitySettingsInterface.

virtual void makVrv::DtVirtualRealitySettingsPage::setChannelNames ( const std::vector< std::string > &  names)
virtual

set the list of channel names that the HMD may be mirrored on in the UI page

Implements makVrv::DtVirtualRealitySettingsInterface.

virtual void makVrv::DtVirtualRealitySettingsPage::setObserverNames ( const std::vector< std::string > &  names)
virtual

set the list of observer names that the HMD can be attached to in the UI page

Implements makVrv::DtVirtualRealitySettingsInterface.

virtual void makVrv::DtVirtualRealitySettingsPage::setAttachedObserver ( std::string  observerName)
virtual

which observer the HMD will be attached to on the UI page

Implements makVrv::DtVirtualRealitySettingsInterface.

virtual void makVrv::DtVirtualRealitySettingsPage::setFlipOverlay ( bool  flip)
virtual

set if the overlays should be flipped on the vertical axis to look correct on the current hmd

Implements makVrv::DtVirtualRealitySettingsInterface.

virtual void makVrv::DtVirtualRealitySettingsPage::onEnabledChanged ( int  state)
virtualslot
virtual void makVrv::DtVirtualRealitySettingsPage::onMirroringChanged ( int  state)
virtualslot
virtual void makVrv::DtVirtualRealitySettingsPage::onMirrorChannelChanged ( int  state)
virtualslot
virtual void makVrv::DtVirtualRealitySettingsPage::onAttachedObserverChanged ( int  state)
virtualslot
virtual void makVrv::DtVirtualRealitySettingsPage::onFlipOverlaysChanged ( int  state)
virtualslot
void makVrv::DtVirtualRealitySettingsPage::setupGui ( )
protected

Sets up the widget's fields.

Non-virtual (Called from CTOR).

void makVrv::DtVirtualRealitySettingsPage::connectToSignals ( )
protected

Connects widget signals to slots.

Non-virtual (Called from CTOR).

virtual void makVrv::DtVirtualRealitySettingsPage::activate ( )
protectedvirtual

Called when the page is displayed.

Implements makVrv::DtPage.

virtual void makVrv::DtVirtualRealitySettingsPage::deactivate ( )
protectedvirtual

Called when the page is hidden.

Implements makVrv::DtPage.

Member Data Documentation

Ui::DtVirtualRealitySettingsWidget makVrv::DtVirtualRealitySettingsPage::myUiImpl
protected

Widgets etc.

DtPersistenceToolbarWidget* makVrv::DtVirtualRealitySettingsPage::myToolbar
protected
QWidget* makVrv::DtVirtualRealitySettingsPage::myMainWidget
protected
DtVirtualRealitySettingsLogic* makVrv::DtVirtualRealitySettingsPage::myLogic
protected

The documentation for this class was generated from the following file:

Document ID: Generated on Wed Jul 25 16:57:45 EDT 2018 from SVN revision 190790
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)