VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions
makVrv::DtGeneralApplicationSettingsWidget Class Reference

The widget for general application settings.

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

Public Member Functions

 DtGeneralApplicationSettingsWidget (DtDe &de, QWidget *parent=0, Qt::WindowFlags f=Qt::Widget)
 
virtual ~DtGeneralApplicationSettingsWidget ()
 
virtual void setScreenCaptureFilePath (const DtUnicode &filePath)
 
virtual void setShowQuitDialogOnClose (bool show)
 
virtual void setPaperMapLayerTimeout (double timeout)
 
virtual void setDarkModeEnabled (bool enabled)
 
virtual void setLightModeDarkModeIconsEnabled (bool enabled)
 
- Public Member Functions inherited from makVrv::DtGeneralApplicationSettingsInterface
 DtGeneralApplicationSettingsInterface ()
 
virtual ~DtGeneralApplicationSettingsInterface ()
 
 DtGeneralApplicationSettingsInterface (DtGeneralApplicationSettingsInterface &in)=delete
 
DtGeneralApplicationSettingsInterfaceoperator= (const DtGeneralApplicationSettingsInterface &)=delete
 

User input slots.

Receives notification that the user has click the browse button.

DtDemyDe
 
QPushButtonmyFilePathButton
 
QLineEditmyFileDirectoryTextLine
 
QLabelmyFileDirectoryLabel
 
QCheckBoxmyShowQuitDialogOnCloseCheckBox
 
QCheckBoxmyDarkModeEnabledCheckBox
 
QCheckBoxmyLightModeDarkModeIconsEnabledCheckBox
 
QPushButtonmyClearIconCachePushButton
 
QLabelmyPaperMapLayerTimeoutLabel
 
DtSliderDoubleSpinboxWidgetmyPaperMapLayerTimeoutSlider
 
void on_browseButtonClicked ()
 
void on_showQuitDialogOnCloseCheckBoxChanged (int)
 
void on_darkModeEnabledCheckBoxChanged (int)
 
void on_lightModeDarkModeIconsEnabledCheckBoxChanged (int)
 
void on_clearIconCachePushButtonPressed ()
 
void on_paperMapLayerTimeoutSliderChanged (double val)
 
void connectToSignals ()
 
void setupGui ()
 
 DtGeneralApplicationSettingsWidget ()
 

Additional Inherited Members

- Public Attributes inherited from makVrv::DtGeneralApplicationSettingsInterface
boost::signalslib::signal
< void(DtUnicode)> 
signal_screenCaptureImageFilePathChanged
 
boost::signalslib::signal
< void(bool)> 
signal_showQuitDialogOnCloseCheckBoxChanged
 
boost::signalslib::signal
< void(bool)> 
signal_darkModeEnabledCheckBoxChanged
 
boost::signalslib::signal
< void(bool)> 
signal_lightModeDarkModeIconsEnabledCheckBoxChange
 
boost::signalslib::signal< void()> signal_clearIconCacheButtonPressed
 
boost::signalslib::signal
< void(double)> 
signal_paperMapLayerTimeoutChanged
 

Constructor & Destructor Documentation

makVrv::DtGeneralApplicationSettingsWidget::DtGeneralApplicationSettingsWidget ( DtDe de,
QWidget *  parent = 0,
Qt::WindowFlags  f = Qt::Widget 
)
virtual makVrv::DtGeneralApplicationSettingsWidget::~DtGeneralApplicationSettingsWidget ( )
virtual
makVrv::DtGeneralApplicationSettingsWidget::DtGeneralApplicationSettingsWidget ( )
private

The display engine for this instance.

Member Function Documentation

virtual void makVrv::DtGeneralApplicationSettingsWidget::setScreenCaptureFilePath ( const DtUnicode filePath)
virtual

Set the file path of the screen shot image.

Implements makVrv::DtGeneralApplicationSettingsInterface.

virtual void makVrv::DtGeneralApplicationSettingsWidget::setShowQuitDialogOnClose ( bool  show)
virtual

Set the show quit dialog on close flag.

Implements makVrv::DtGeneralApplicationSettingsInterface.

virtual void makVrv::DtGeneralApplicationSettingsWidget::setPaperMapLayerTimeout ( double  timeout)
virtual

Set the paper maps layer timeout (osgEarth mask layers).

Parameters
[in]timeoutis the timeout in seconds for paper maps layers that are not visible in any observer.

Implements makVrv::DtGeneralApplicationSettingsInterface.

virtual void makVrv::DtGeneralApplicationSettingsWidget::setDarkModeEnabled ( bool  enabled)
virtual

Set whether or not dark mode is enabled for the application.

Parameters
[in]enabledwhether or not dark mode is enabled for the application.

Implements makVrv::DtGeneralApplicationSettingsInterface.

virtual void makVrv::DtGeneralApplicationSettingsWidget::setLightModeDarkModeIconsEnabled ( bool  enabled)
virtual

Set whether or not to use light mode or dark mode specific icons is enabled for the application.

Parameters
[in]enabledwhether or not to use light mode or dark mode specific icons is enabled for the application.

Implements makVrv::DtGeneralApplicationSettingsInterface.

void makVrv::DtGeneralApplicationSettingsWidget::on_browseButtonClicked ( )
slot

The display engine for this instance.

void makVrv::DtGeneralApplicationSettingsWidget::on_showQuitDialogOnCloseCheckBoxChanged ( int  )
slot

Receives notification that the user has clicked the showQuitDialogOnClose button.

void makVrv::DtGeneralApplicationSettingsWidget::on_darkModeEnabledCheckBoxChanged ( int  )
slot

Receives notification that the user has clicked the darkModeEnabled checkbox.

void makVrv::DtGeneralApplicationSettingsWidget::on_lightModeDarkModeIconsEnabledCheckBoxChanged ( int  )
slot

Receives notification that the user has clicked the lightModedarkModeIconsEnabled checkbox.

void makVrv::DtGeneralApplicationSettingsWidget::on_clearIconCachePushButtonPressed ( )
slot

Receives notification that the user has pressed the clearIconCache push button.

void makVrv::DtGeneralApplicationSettingsWidget::on_paperMapLayerTimeoutSliderChanged ( double  val)
slot

Receives notification that the user has changed the value on the paper map timeout slider.

void makVrv::DtGeneralApplicationSettingsWidget::connectToSignals ( )
slot

Connects widget signals to slots. Non-virtual (Called from CTOR).

void makVrv::DtGeneralApplicationSettingsWidget::setupGui ( )
protected

The display engine for this instance.

Member Data Documentation

DtDe& makVrv::DtGeneralApplicationSettingsWidget::myDe
protected

The display engine for this instance.

QPushButton* makVrv::DtGeneralApplicationSettingsWidget::myFilePathButton
protected

The display engine for this instance.

QLineEdit* makVrv::DtGeneralApplicationSettingsWidget::myFileDirectoryTextLine
protected

The display engine for this instance.

QLabel* makVrv::DtGeneralApplicationSettingsWidget::myFileDirectoryLabel
protected

The display engine for this instance.

QCheckBox* makVrv::DtGeneralApplicationSettingsWidget::myShowQuitDialogOnCloseCheckBox
protected

The display engine for this instance.

QCheckBox* makVrv::DtGeneralApplicationSettingsWidget::myDarkModeEnabledCheckBox
protected

The display engine for this instance.

QCheckBox* makVrv::DtGeneralApplicationSettingsWidget::myLightModeDarkModeIconsEnabledCheckBox
protected

The display engine for this instance.

QPushButton* makVrv::DtGeneralApplicationSettingsWidget::myClearIconCachePushButton
protected

The display engine for this instance.

QLabel* makVrv::DtGeneralApplicationSettingsWidget::myPaperMapLayerTimeoutLabel
protected

The display engine for this instance.

DtSliderDoubleSpinboxWidget* makVrv::DtGeneralApplicationSettingsWidget::myPaperMapLayerTimeoutSlider
protected

The display engine for this instance.


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

Document ID: Generated on Tue Sep 24 19:28:17 EDT 2024 from SVN revision 269799
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)