VR-Forces 5.0.3 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtGeneralApplicationSettingsWidget.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2021 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
8 
9 #pragma once
10 #include <vrvCoreQt/vrvCoreQt.h>
11 #include <QtWidgets/QWidget>
12 #include <QtWidgets/QAbstractItemDelegate>
15 
16 class QLabel;
17 class QCheckBox;
18 class QPushButton;
19 class QGroupBox;
20 class QVBoxLayout;
21 class QLineEdit;
22 
23 namespace makVrv
24 {
29  {
30  Q_OBJECT;
31 
32  public:
33  DtGeneralApplicationSettingsWidget(DtDe& de, QWidget* parent = 0,
34  Qt::WindowFlags f = Qt::Widget);
35 
37 
39  virtual void setScreenCaptureFilePath(const DtUnicode& filePath);
40 
42  virtual void setShowQuitDialogOnClose(bool show);
43 
47  virtual void setPaperMapLayerTimeout(double timeout);
48 
51  virtual void setDarkModeEnabled(bool enabled);
52 
55  virtual void setLightModeDarkModeIconsEnabled(bool enabled);
56 
57  public slots:
58 
61  void on_browseButtonClicked();
62 
64  void on_showQuitDialogOnCloseCheckBoxChanged(int);
65 
67  void on_darkModeEnabledCheckBoxChanged(int);
68 
70  void on_lightModeDarkModeIconsEnabledCheckBoxChanged(int);
71 
73  void on_clearIconCachePushButtonPressed();
74 
77  void on_paperMapLayerTimeoutSliderChanged(double val);
78 
81  void connectToSignals();
82 
83  protected:
86 
87  void setupGui();
88 
89  protected:
90 
95 
99 
102 
103  private:
105  };
106 }
107 
A unicode string. DtUnicode stores a UTF-16 encoded unicode string. Code Point, a Unicode character...
Definition: DtUnicode.h:33
Interface to the General Application Settings GUI.
DtDe & myDe
The display engine for this instance.
Definition: DtGeneralApplicationSettingsWidget.h:85
Contains the definition for makVrv::DtSliderDoubleSpinboxWidget.
QLineEdit * myFileDirectoryTextLine
The display engine for this instance.
Definition: DtGeneralApplicationSettingsWidget.h:92
#define DT_DLL_VRVCOREQT
Definition: vrvCoreQt.h:20
Contains DLL export macros.
The widget for general application settings.
Definition: DtGeneralApplicationSettingsWidget.h:27
QCheckBox * myShowQuitDialogOnCloseCheckBox
The display engine for this instance.
Definition: DtGeneralApplicationSettingsWidget.h:94
A widget for pairing a horizontal slider with a double spin-box. The spin box must be clamped to a mi...
Definition: DtSliderDoubleSpinboxWidget.h:30
QPushButton * myClearIconCachePushButton
The display engine for this instance.
Definition: DtGeneralApplicationSettingsWidget.h:98
Definition: DtGeneralApplicationSettingsInterface.h:16
QCheckBox * myDarkModeEnabledCheckBox
The display engine for this instance.
Definition: DtGeneralApplicationSettingsWidget.h:96
QCheckBox * myLightModeDarkModeIconsEnabledCheckBox
The display engine for this instance.
Definition: DtGeneralApplicationSettingsWidget.h:97
QPushButton * myFilePathButton
The display engine for this instance.
Definition: DtGeneralApplicationSettingsWidget.h:91
QLabel * myFileDirectoryLabel
The display engine for this instance.
Definition: DtGeneralApplicationSettingsWidget.h:93
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:70
QLabel * myPaperMapLayerTimeoutLabel
The display engine for this instance.
Definition: DtGeneralApplicationSettingsWidget.h:100
DtSliderDoubleSpinboxWidget * myPaperMapLayerTimeoutSlider
The display engine for this instance.
Definition: DtGeneralApplicationSettingsWidget.h:101

Document ID: Generated on Thu Jun 1 17:58:13 EDT 2023 from SVN revision 255404
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)