VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator 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( QColor );
73  virtual void slot_blockedColorChanged( QColor );
74  virtual void slot_circleColorChanged( QColor );
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 }

Document ID: Generated on Mon Jul 4 01:00:18 EDT 2016 from SVN revision 166489
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)