VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtAggregateSettingsLogic.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
11 
12 #include <vrvVrlQt/vrvVrlQt.h>
13 
15 
17 
18 #include <vector>
19 
20 namespace makVrv
21 {
22 
23  class DtDe;
24  class DtSettingsBackup;
25  class DtAggregateSettingsInterface;
26  class DtPersistenceControlsInterface;
27  enum class DtColorizedModelColorType;
31  {
32  public:
33 
36  DtPersistenceControlsInterface& persistenceControls,
38 
40  virtual ~DtAggregateSettingsLogic();
41 
42  protected:
43 
45  virtual void sendSettingsToGui();
46 
49 
51  virtual void slot_displayAggregatesChanged( bool enabled );
52 
54  virtual void slot_setShowLeafNodesChanged( bool enabled );
55 
57  virtual void slot_displayBoundingBoxesForSelectedChanged( bool enabled );
58 
60  virtual void slot_displayBoundingBoxesChanged( bool enabled );
61 
63  virtual void slot_displayMainIconChanged( bool enabled );
64 
66  virtual void slot_aggregateSettingsRestored( const DtSettingsBackup* s );
67 
69  virtual void slot_ghostEchelonLevelItemsChanged( bool enabled );
70 
72  virtual void slot_ghostEchelonLevelItemLabelsChanged( bool enabled );
73 
75  virtual void slot_allowSelectionOfGhostedItemsChanged( bool enabled );
76 
78  virtual void slot_echelonLevelChanged( int l );
79 
81  virtual void slot_colorizedModelColorTypeChanged(
83 
86 
87  void on_import();
88  void on_export();
89  void on_importFilePathChosen(const std::string& filePath);
90  void on_exportFilePathChosen(const std::string& filePath);
91 
93 
95 
96  protected:
97 
101 
102  };
103 
104 
108  : public DtVirtualBaseClass
109  {
110  public:
111 
114 
117 
119  static DtAggregateSettingsLogicCreator& instance( DtDe& de );
120 
122  static void registerInstance( DtDe& de,
124 
126  virtual DtAggregateSettingsLogic* create( DtDe& de,
128 
129  };
130 
131 }
Virtual base class. Allows for RTTI and proper virtual destruction. Used by Creators, Factories, Providers, Assemblers and User Interfaces.
Definition: DtVirtualBaseClass.h:19
Creator for registering the aggregate settings logic.
Definition: DtAggregateSettingsLogic.h:107
Interface for the aggregate settings GUI.
Definition: DtAggregateSettingsInterface.h:25
#define DT_DLL_VRVVRLQT
Definition: vrvVrlQt.h:19
DtColorizedModelColorType
Enumeration for the model coloring mode.
Definition: DtSharedEntityDisplaySettings.h:38
Abstract interface for controlling persistence of state in a dialog.
Definition: DtPersistenceControlsInterface.h:20
Contains DLL export macros.
Logic for the aggregate settings GUI.
Definition: DtAggregateSettingsLogic.h:30
DtAggregateSettingsInterface & myWidget
Definition: DtAggregateSettingsLogic.h:98
DtDe & myDe
Definition: DtAggregateSettingsLogic.h:100
DtPersistenceControlsInterface & myPersistenceControls
Definition: DtAggregateSettingsLogic.h:99
Class to manage disconnection of boost connections on deletion.
Definition: DtSignalConnectionManager.h:20
Provides a method of doign settings backup.
Definition: DtSettingsBackup.h:23
Base class to provide boost signal/slot management.
Contains the DtSharedAggregateDisplaySettings class declaration.
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

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)