VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtIntervisibilitySettingsLogic.h
Go to the documentation of this file.
1 /*****************************************************************************
2  * Copyright (c) 2012 MAK Technologies, Inc.
3  * All rights reserved.
4  *****************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrvCoreQt/vrvCoreQt.h>
13 
16 
17 #include <QtGui/QColor>
18 
19 namespace makVrv
20 {
21 
22  class DtIntervisibilitySettingsInterface;
23  class DtPersistenceControlsInterface;
24  class DtDe;
25  class DtSettingsBackup;
26 
30  : public DtVirtualBaseClass
31  {
32  public:
33 
36  DtPersistenceControlsInterface& persistenceControls,
38 
41 
42  protected:
43 
46 
47  void on_import();
48  void on_export();
49  void on_importFilePathChosen( const std::string& filePath );
50  void on_exportFilePathChosen( const std::string& filePath );
51 
53 
56  void sendSettingsToGui();
57 
58  virtual void updateElevationUnits();
59 
60  virtual void updateFanModeSamplingRate();
61 
64  virtual void settingsRestored(const DtSettingsBackup*);
65 
66  virtual void slot_intervisibilityEnabledChanged( bool );
67  virtual void slot_leftClickMakesObjectsPermanentChanged( bool );
68  virtual void slot_originIntervisibilityElevationChanged( double );
69  virtual void slot_endPointIntervisibilityElevationChanged( double );
70  virtual void slot_fanModeSamplingRateChanged( double );
71  virtual void slot_entityFanUpdateRateChanged( double );
72  virtual void slot_visibleColorChanged( const QColor& c);
73  virtual void slot_blockedColorChanged( const QColor& c);
74  virtual void slot_circleColorChanged( const QColor& c);
75  virtual void slot_hatLinesEnabledChanged( bool );
76  virtual void slot_hatLinesOnSelectionOnlyChanged( bool );
77  virtual void slot_rangeInfoLabelsEnabledChanged( bool );
78  virtual void slot_rangeInfoLabelBackgroundColorChanged( const QColor& c );
79  virtual void slot_rangeInfoBackgroundOpacityChanged( double opacity );
80  virtual void slot_rangeInfoAltChangeFieldEnabledChanged( bool enabled );
81  virtual void slot_rangeInfoLocationFieldEnabledChanged( bool enabled );
82  virtual void slot_rangeInfoHeadingFieldEnabledChanged( bool enabled );
83  virtual void slot_rangeInfoRangeFieldEnabledChanged( bool enabled );
84 
85  protected:
86 
91 
92  };
93 
94 
98  {
99  public:
100 
102  static DtIntervisibilitySettingsLogicCreator& instance(DtDe&);
103 
105  static void registerInstance(DtDe&,DtIntervisibilitySettingsLogicCreator* anInstance);
106 
108  virtual DtIntervisibilitySettingsLogic* create(DtDe&, DtPersistenceControlsInterface& persistenceControls,
110 
111  };
112 
113 }
The DtIntervisibilitySettingsLogic creator.
Definition: DtIntervisibilitySettingsLogic.h:97
DtDe & myDe
Definition: DtIntervisibilitySettingsLogic.h:88
Virtual base class.
Definition: DtVirtualBaseClass.h:19
DtSignalConnectionManager myConnections
Definition: DtIntervisibilitySettingsLogic.h:90
#define DT_DLL_VRVCOREQT
Definition: vrvCoreQt.h:20
Contains DLL export macros.
Abstract interface for controlling persistence of state in a dialog.
Definition: DtPersistenceControlsInterface.h:20
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
This is the interface which the intervisibility settings widget will inherit from and the logic will ...
Definition: DtIntervisibilitySettingsInterface.h:24
DtPersistenceControlsInterface & myPersistenceControls
Definition: DtIntervisibilitySettingsLogic.h:87
This is the logic for the intervisibility settings widget.
Definition: DtIntervisibilitySettingsLogic.h:29
Base class to provide boost signal/slot management.
DtIntervisibilitySettingsInterface & myWidget
Definition: DtIntervisibilitySettingsLogic.h:89
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)