VR-Forces 5.0.2 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
vrfEnvironmentConditionsThermoclinesWidget.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2013 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
10 
11 #pragma once
12 
13 
16 
17 #include <QtWidgets/QWidget>
18 
19 class QDoubleSpinBox;
20 class QLabel;
21 
22 namespace makVrv
23 {
24  class DtDe;
25 }
26 
27 namespace makVrf
28 {
29  class DtVrfEnvironmentConditionsThermoclinesLogic;
30 
35  {
36  Q_OBJECT
37 
38  public:
39 
42  QWidget* parent = 0, Qt::WindowFlags f = 0);
43 
46 
49  virtual void setLogic(DtVrfEnvironmentConditionsThermoclinesLogic* logic);
50 
52  virtual void activate() {};
53 
55  virtual void deactivate() {};
56 
57  virtual void setThermoclineLayer1Depth(double depth);
58  virtual double thermoclineLayer1Depth();
59  virtual void setThermoclineLayer1Permeability(double depth);
60  virtual double thermoclineLayer1Permeability();
61  virtual void setThermoclineLayer2Depth(double depth);
62  virtual double thermoclineLayer2Depth();
63  virtual void setThermoclineLayer2Permeability(double depth);
64  virtual double thermoclineLayer2Permeability();
65  virtual void setThermoclineLayer3Depth(double depth);
66  virtual double thermoclineLayer3Depth();
67  virtual void setThermoclineLayer3Permeability(double depth);
68  virtual double thermoclineLayer3Permeability();
69  virtual void setThermoclineLayer4Depth(double depth);
70  virtual double thermoclineLayer4Depth();
71  virtual void setThermoclineLayer4Permeability(double depth);
72  virtual double thermoclineLayer4Permeability();
73  virtual void setThermoclineLayer5Depth(double depth);
74  virtual double thermoclineLayer5Depth();
75  virtual void setThermoclineLayer5Permeability(double depth);
76  virtual double thermoclineLayer5Permeability();
77 
78  virtual void setDepthUnits(const makVrv::DtUnicode& units);
79  virtual void setDepthDecimals(int decimals);
80 
81  protected slots:
82  void on_thermoclineLayer1DepthChanged(double);
83  void on_thermoclineLayer1PermeabilityChanged(double);
84  void on_thermoclineLayer2DepthChanged(double);
85  void on_thermoclineLayer2PermeabilityChanged(double);
86  void on_thermoclineLayer3DepthChanged(double);
87  void on_thermoclineLayer3PermeabilityChanged(double);
88  void on_thermoclineLayer4DepthChanged(double);
89  void on_thermoclineLayer4PermeabilityChanged(double);
90  void on_thermoclineLayer5DepthChanged(double);
91  void on_thermoclineLayer5PermeabilityChanged(double);
92 
93  private:
96  void setupGui();
97 
100  void connectToSignals();
101 
102  protected:
105 
110 
115 
120 
125 
130 
131  };
132 }
makVrv::DtDe & myDe
Definition: vrfEnvironmentConditionsThermoclinesWidget.h:104
QDoubleSpinBox * myThermoclineLayer3PermeabilitySpinBox
Definition: vrfEnvironmentConditionsThermoclinesWidget.h:118
A unicode string. DtUnicode stores a UTF-16 encoded unicode string. Code Point, a Unicode character...
Definition: DtUnicode.h:33
QLabel * myThermoclineLayer2PermeabilityLabel
Definition: vrfEnvironmentConditionsThermoclinesWidget.h:114
QDoubleSpinBox * myThermoclineLayer5DepthSpinBox
Definition: vrfEnvironmentConditionsThermoclinesWidget.h:126
QLabel * myThermoclineLayer5DepthLabel
Definition: vrfEnvironmentConditionsThermoclinesWidget.h:127
QDoubleSpinBox * myThermoclineLayer2DepthSpinBox
Definition: vrfEnvironmentConditionsThermoclinesWidget.h:111
QDoubleSpinBox * myThermoclineLayer1DepthSpinBox
Definition: vrfEnvironmentConditionsThermoclinesWidget.h:106
QLabel * myThermoclineLayer5PermeabilityLabel
Definition: vrfEnvironmentConditionsThermoclinesWidget.h:129
virtual void deactivate()
Deactivate this widget.
Definition: vrfEnvironmentConditionsThermoclinesWidget.h:55
QDoubleSpinBox * myThermoclineLayer3DepthSpinBox
Definition: vrfEnvironmentConditionsThermoclinesWidget.h:116
The logic for displaying/editing the date and time.
Definition: vrfEnvironmentConditionsThermoclinesLogic.h:26
QLabel * myThermoclineLayer3PermeabilityLabel
Definition: vrfEnvironmentConditionsThermoclinesWidget.h:119
QDoubleSpinBox * myThermoclineLayer4DepthSpinBox
Definition: vrfEnvironmentConditionsThermoclinesWidget.h:121
QDoubleSpinBox * myThermoclineLayer1PermeabilitySpinBox
Definition: vrfEnvironmentConditionsThermoclinesWidget.h:108
QDoubleSpinBox * myThermoclineLayer2PermeabilitySpinBox
Definition: vrfEnvironmentConditionsThermoclinesWidget.h:113
QDoubleSpinBox * myThermoclineLayer4PermeabilitySpinBox
Definition: vrfEnvironmentConditionsThermoclinesWidget.h:123
QDoubleSpinBox * myThermoclineLayer5PermeabilitySpinBox
Definition: vrfEnvironmentConditionsThermoclinesWidget.h:128
#define DT_DLL_VRFGUICOMMONQT
Definition: vrfGuiCommonQt.h:20
QLabel * myThermoclineLayer1DepthLabel
Definition: vrfEnvironmentConditionsThermoclinesWidget.h:107
QLabel * myThermoclineLayer4PermeabilityLabel
Definition: vrfEnvironmentConditionsThermoclinesWidget.h:124
DtVrfEnvironmentConditionsThermoclinesLogic * myLogic
Definition: vrfEnvironmentConditionsThermoclinesWidget.h:103
QLabel * myThermoclineLayer1PermeabilityLabel
Definition: vrfEnvironmentConditionsThermoclinesWidget.h:109
A widget for configuring the environment.
Definition: vrfEnvironmentConditionsThermoclinesWidget.h:33
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:70
QLabel * myThermoclineLayer3DepthLabel
Definition: vrfEnvironmentConditionsThermoclinesWidget.h:117
QLabel * myThermoclineLayer2DepthLabel
Definition: vrfEnvironmentConditionsThermoclinesWidget.h:112
virtual void activate()
Activate this widget.
Definition: vrfEnvironmentConditionsThermoclinesWidget.h:52
QLabel * myThermoclineLayer4DepthLabel
Definition: vrfEnvironmentConditionsThermoclinesWidget.h:122
This interface defines the required functions for a dialog which can be used by the DtEnvironmentSett...
Definition: vrfEnvironmentConditionsThermoclinesInterface.h:29

Document ID: Generated on Sun Dec 4 20:22:03 EST 2022 from SVN revision 249613
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)