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) 2025 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 
84  virtual void slot_autoCollapseExpandEnabled(bool enabled);
85  virtual void slot_resetAutoCollapseExpand();
86  virtual void slot_collapseLevelsAboveMapScale(std::map<int, double> levels);
87 
90 
91  void on_import();
92  void on_export();
93  void on_importFilePathChosen(const std::string& filePath);
94  void on_exportFilePathChosen(const std::string& filePath);
95 
97 
99 
100  protected:
101 
105 
106  };
107 
108 
112  : public DtVirtualBaseClass
113  {
114  public:
115 
118 
121 
123  static DtAggregateSettingsLogicCreator& instance( DtDe& de );
124 
126  static void registerInstance( DtDe& de,
128 
130  virtual DtAggregateSettingsLogic* create( DtDe& de,
132 
133  };
134 
135 }
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:111
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:102
DtDe & myDe
Definition: DtAggregateSettingsLogic.h:104
DtPersistenceControlsInterface & myPersistenceControls
Definition: DtAggregateSettingsLogic.h:103
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:76

Document ID: Generated on Thu Oct 15 21:27:02 EDT 2026 from SVN revision 296421
Copyright © 2005-2026 MAK Technologies. All Rights Reserved (www.mak.com)