VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtTacticalGraphicsSettingsLogic.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2023 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrvVrlQt/vrvVrlQt.h>
15 #include <vector>
16 
17 namespace makVrv
18 {
19  class DtTacticalGraphicsSettingsInterface;
20  class DtPersistenceControlsInterface;
21  class DtDe;
22  class DtSettingsBackup;
23 
27  {
28  public:
31  DtPersistenceControlsInterface& persistenceControls,
33 
36 
37  protected:
39  virtual void sendSettingsToGui();
40 
42  //@ {
43 
45  virtual void slot_tacticalGraphicsSet(bool enabled);
46 
48  virtual void slot_tacticalGraphicsIndicatorsSet(bool enabled);
49 
51  virtual void slot_heightAboveTerrainEnabled(bool enabled);
52 
54  virtual void slot_heightAboveTerrainSelectedOnlySet(bool enabled);
55 
57  virtual void slot_heightLinesEnabled(bool enabled);
58 
60  virtual void slot_TacticalGraphicsSettingsRestored(const DtSettingsBackup* s);
61 
63  virtual void slot_remoteGraphicsSet(bool enabled);
64 
67  virtual void slot_showActiveTacticalGraphicsSet(bool enabled);
68 
70  virtual void slot_deleteTacticalGraphicsOnHide( bool enabled );
71 
73  virtual void slot_friendlyForceColorStyleOverrideSet(bool enabled);
74 
76  virtual void slot_friendlyForceColorStyleOverrideColorIsBlackSet(bool isBlack);
77 
79  virtual void on_import();
80  virtual void on_export();
81  virtual void on_importFilePathChosen(const std::string& filePath);
82  virtual void on_exportFilePathChosen(const std::string& filePath);
83  //@ }
84 
88  };
89 
93  : public DtVirtualBaseClass
94  {
95  public:
96 
99 
102 
104  static DtTacticalGraphicsSettingsLogicCreator& instance( DtDe& de );
105 
107  static void registerInstance( DtDe& de,
109 
111  virtual DtTacticalGraphicsSettingsLogic* create( DtDe& de,
113 
114  };
115 }
Interface for the tactical graphics settings GUI.
Definition: DtTacticalGraphicsSettingsInterface.h:21
Virtual base class. Allows for RTTI and proper virtual destruction. Used by Creators, Factories, Providers, Assemblers and User Interfaces.
Definition: DtVirtualBaseClass.h:19
#define DT_DLL_VRVVRLQT
Definition: vrvVrlQt.h:19
Creator for registering the tactical graphic settings logic.
Definition: DtTacticalGraphicsSettingsLogic.h:92
Abstract interface for controlling persistence of state in a dialog.
Definition: DtPersistenceControlsInterface.h:20
Contains DLL export macros.
Contains makVrv::DtVirtualBaseClass class.
DtDe & myDe
Called when tactical graphics display is changed by the GUI.
Definition: DtTacticalGraphicsSettingsLogic.h:87
Class to manage disconnection of boost connections on deletion.
Definition: DtSignalConnectionManager.h:20
Provides a method of doign settings backup.
Definition: DtSettingsBackup.h:23
DtPersistenceControlsInterface & myPersistenceControls
Called when tactical graphics display is changed by the GUI.
Definition: DtTacticalGraphicsSettingsLogic.h:86
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:72
Logic for the tactical graphics settings GUI.
Definition: DtTacticalGraphicsSettingsLogic.h:26
DtTacticalGraphicsSettingsInterface & myWidget
Called when tactical graphics display is changed by the GUI.
Definition: DtTacticalGraphicsSettingsLogic.h:85

Document ID: Generated on Wed Mar 27 22:49:11 EDT 2024 from SVN revision 264633
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)