VR-Forces 5.0.2 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtGeneralApplicationSettingsLogic.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2021 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
14 #include <vrvUtil/DtUnicode.h>
15 
16 namespace makVrv
17 {
18  class DtDe;
19  class DtGeneralApplicationSettingsInterface;
20  class DtPersistenceControlsInterface;
21  class DtSettingsBackup;
25  {
28 
29  public:
31  DtGeneralApplicationSettingsLogic(DtDe& de, DtGeneralApplicationSettingsInterface& gui,
32  DtPersistenceControlsInterface& persistenceGui);
33 
35  virtual ~DtGeneralApplicationSettingsLogic();
36 
37  protected:
39  virtual void sendSettingsToGui();
40 
42  virtual void slot_screenCaptureImageFilePathChanged(const DtUnicode& filePath);
43 
45  virtual void slot_showQuitDialogOnCloseCheckBoxChanged(bool checked);
46 
48  virtual void slot_darkModeEnabledCheckBoxChanged(bool checked);
49 
51  virtual void slot_lightModeDarkModeIconsEnabledCheckBoxChange(bool checked);
52 
54  virtual void slot_clearIconCacheButtonPressed();
55 
57  virtual void slot_paperMapLayerTimeoutSet(double timeout);
58 
60  virtual void settingsRestored(const DtSettingsBackup*);
61 
65 
67  };
68 }
69 
70 
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.
#define DT_DLL_VRVCOREQT
Definition: vrvCoreQt.h:20
Abstract interface for controlling persistence of state in a dialog.
Definition: DtPersistenceControlsInterface.h:20
DtGeneralApplicationSettingsInterface & myGui
Definition: DtGeneralApplicationSettingsLogic.h:63
Contains makVrv::DtVirtualBaseClass class.
Class to manage disconnection of boost connections on deletion.
Definition: DtSignalConnectionManager.h:20
Provides a method of doign settings backup.
Definition: DtSettingsBackup.h:23
Definition: DtGeneralApplicationSettingsInterface.h:16
DtSignalConnectionManager mySignals
Definition: DtGeneralApplicationSettingsLogic.h:66
DtPersistenceControlsInterface & myPersistenceGui
Definition: DtGeneralApplicationSettingsLogic.h:64
Base class to provide boost signal/slot management.
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
The logic for controlling how the DtGeneralApplicationSettingsPage works.
Definition: DtGeneralApplicationSettingsLogic.h:24
DtDe & myDe
Definition: DtGeneralApplicationSettingsLogic.h:62

Document ID: Generated on Sun Dec 4 20:22:03 EST 2022 from SVN revision 249613
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)