VR-Forces 4.7 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::DtOculusSettingsPage Class Reference
Inheritance diagram for makVrv::DtOculusSettingsPage:
Inheritance graph
[legend]

Public Slots

User input slots.

Receives notification that the user has changed a widget's value.

virtual void onMirroringChanged (int state)
 Called when the user checks the mirroring checkbox.
virtual void onMonoscopicChanged (int state)
 Called when the user checks the monoscopic checkbox.
virtual void onPixelsPerDisplayPixelChanged (double pixels)
 Called when the user changes the pixels per display pixel spinbox.

Public Member Functions

 DtOculusSettingsPage (DtDe &de, QWidget *parent, Qt::WindowFlags f=Qt::Widget)
 CTOR.
virtual ~DtOculusSettingsPage ()
 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 setMirroring (int view)
 Enable/disable Rift mirroring to the VR-Vantage window.
virtual void setMonoscopic (bool enabled)
 Enable/disable monoscopic rendering.
virtual void setPixelsPerDisplayPixel (float pixels)
 Set pixels per display pixel.
- 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::DtOculusSettingsInterface
virtual ~DtOculusSettingsInterface ()
 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 ()
 Enable the page.
virtual void deactivate ()
 Disable the page.

Protected Attributes

QComboBoxmyMirroringComboBox
 Widgets etc.
QCheckBoxmyMonoscopicCheckBox
QDoubleSpinBox * myPixelsPerDisplayPixelSpinBox
QLabelmyPixelsPerDisplayPixelLabel
QLabelmyRestartRequiredLabel
DtPersistenceToolbarWidgetmyToolbar
DtVirtualBaseClassmyLogic
- 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::DtOculusSettingsInterface
boost::signal< void(int)> signal_mirroringChanged
 Signals.
boost::signal< void(int)> signal_monoscopicChanged
 Called when the user checks the monoscopic checkbox.
boost::signal< void(float)> signal_pixelsPerDisplayPixelChanged
 Called when the user changes the pixels per display pixel setting.

Constructor & Destructor Documentation

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

CTOR.

virtual makVrv::DtOculusSettingsPage::~DtOculusSettingsPage ( )
virtual

DTOR.

Member Function Documentation

virtual QIcon makVrv::DtOculusSettingsPage::icon ( )
virtual

Get the icon of the page.

Implements makVrv::DtPage.

virtual QString makVrv::DtOculusSettingsPage::title ( )
virtual

Get the title of the page.

Implements makVrv::DtPage.

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

Get the class name of the page.

Implements makVrv::DtPage.

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

Get the class name of the page (static).

virtual void makVrv::DtOculusSettingsPage::setMirroring ( int  view)
virtual

Enable/disable Rift mirroring to the VR-Vantage window.

Implements makVrv::DtOculusSettingsInterface.

virtual void makVrv::DtOculusSettingsPage::setMonoscopic ( bool  enabled)
virtual

Enable/disable monoscopic rendering.

Implements makVrv::DtOculusSettingsInterface.

virtual void makVrv::DtOculusSettingsPage::setPixelsPerDisplayPixel ( float  pixels)
virtual

Set pixels per display pixel.

Implements makVrv::DtOculusSettingsInterface.

virtual void makVrv::DtOculusSettingsPage::onMirroringChanged ( int  state)
virtualslot

Called when the user checks the mirroring checkbox.

virtual void makVrv::DtOculusSettingsPage::onMonoscopicChanged ( int  state)
virtualslot

Called when the user checks the monoscopic checkbox.

virtual void makVrv::DtOculusSettingsPage::onPixelsPerDisplayPixelChanged ( double  pixels)
virtualslot

Called when the user changes the pixels per display pixel spinbox.

void makVrv::DtOculusSettingsPage::setupGui ( )
protected

Sets up the widget's fields.

Non-virtual (Called from CTOR).

void makVrv::DtOculusSettingsPage::connectToSignals ( )
protected

Connects widget signals to slots.

Non-virtual (Called from CTOR).

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

Enable the page.

Implements makVrv::DtPage.

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

Disable the page.

Implements makVrv::DtPage.

Member Data Documentation

QComboBox* makVrv::DtOculusSettingsPage::myMirroringComboBox
protected

Widgets etc.

QCheckBox* makVrv::DtOculusSettingsPage::myMonoscopicCheckBox
protected
QDoubleSpinBox* makVrv::DtOculusSettingsPage::myPixelsPerDisplayPixelSpinBox
protected
QLabel* makVrv::DtOculusSettingsPage::myPixelsPerDisplayPixelLabel
protected
QLabel* makVrv::DtOculusSettingsPage::myRestartRequiredLabel
protected
DtPersistenceToolbarWidget* makVrv::DtOculusSettingsPage::myToolbar
protected
DtVirtualBaseClass* makVrv::DtOculusSettingsPage::myLogic
protected

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

Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (www.mak.com)