VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
setSurfaceVesselLightingDialog.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2023 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
8 
10 
11 #pragma once
12 
15 
16 #include <matrix/vlVector.h>
17 
18 class QGridLayout;
19 class QComboBox;
20 
21 namespace makVrv
22 {
23  class DtSliderSpinboxWidget;
24 }
25 
26 namespace makVrf
27 {
29  {
30  Q_OBJECT
31  public:
32  //CTOR
33  DtSetSurfaceVesselLightingDialog(makVrv::DtDe& de, QWidget* parent, const Qt::WindowFlags& flags = 0);
34 
35  //DTOR
37 
38 
40  virtual bool anchorLightsOn() const;
41  virtual void setAnchorLightsOn(bool anchorLightsOn);
42 
44  virtual bool warningLightsOn() const;
45  virtual void setWarningLightsOn(bool warningLightsOn);
46 
48  virtual bool distressBeaconOn() const;
49  virtual void setDistressBeaconOn(bool distressBeaconOn);
50 
52  virtual int flightDeckLights() const;
53  virtual void setFlightDeckLights(int flightDeckLights);
54 
56  virtual bool upperDeckFloodLightsOn() const;
57  virtual void setUpperDeckFloodLightsOn(bool upperDeckFloodLightsOn);
58 
60  virtual bool upperDeckLightsOn() const;
61  virtual void setUpperDeckLightsOn(bool upperDeckLightsOn);
62 
64  virtual int horizonBarLights() const;
65  virtual void setHorizonBarLights(int horizonBarLights);
66 
68  virtual int glidePathIndicatorBeam() const;
69  virtual void setGlidePathIndicatorBeam(int glidePathIndicatorBeam);
70 
72  virtual bool waveOffLightOn() const;
73  virtual void setWaveOffLightOn(bool waveOffLightOn);
74 
76  virtual bool notUnderCommandLightsOn() const;
77  virtual void setNotUnderCommandLightsOn(bool notUnderCommandLightsOn);
78 
80  virtual bool ramLightsOn() const;
81  virtual void setRAMLightsOn(bool ramLightsOn);
82 
84  virtual bool fishingWithLinesLightsOn() const;
85  virtual void setFishingWithLinesLightsOn(bool fishingWithLinesLightsOn);
86 
88  virtual bool fishingWithNetsLightsOn() const;
89  virtual void setFishingWithNetsLightsOn(bool fishingWithNetsLightsOn);
90 
92  virtual bool mineHuntingLightsOn() const;
93  virtual void setMineHuntingLightsOn(bool mineHuntingLightsOn);
94 
96  virtual bool runningLightsOn() const;
97  virtual void setRunningLightsOn(bool runningLightsOn);
98 
100  virtual bool spotLightsOn() const;
101  virtual void setSpotLightsOn(bool spotLightsOn);
102 
104  virtual bool interiorLightsOn() const;
105  virtual void setInteriorLightsOn(bool interiorLightsOn);
106 
107  protected:
108  virtual QWidget* contents(const std::vector<makVrv::DtSimEntry*>& data);
109 
110  virtual void sendRequest();
111 
112  protected:
114  virtual void setupGui(const std::vector<makVrv::DtSimEntry*>& data);
115  virtual void setupStatement(const DtSimStatement*);
116 
117  protected:
118  QGridLayout* myContentLayout;
119  QWidget* myCanvas;
120 
123 
126 
129 
132 
135 
138 
141 
144 
147 
150 
153 
156 
159 
162 
165 
168 
171  };
172 
174  {
175  public:
176  virtual DtTaskSetDialogInterface* create(makVrv::DtDe&, QWidget* parent);
177  bool supportsType(makVrv::DtDe&, const DtSetMessageType&, const DtSimStatement*) const;
178  };
179 }
QComboBox * myRunningLightsOn
Definition: setSurfaceVesselLightingDialog.h:164
QLabel * myFishingWithLinesLightsOnLabel
Definition: setSurfaceVesselLightingDialog.h:154
Definition: taskSetDialogInterface.h:65
Definition: baseTaskSetDialogInterface.h:35
QComboBox * myMineHuntingLightsOn
Definition: setSurfaceVesselLightingDialog.h:161
Definition: setSurfaceVesselLightingDialog.h:28
QComboBox * myWaveOffLightOn
Definition: setSurfaceVesselLightingDialog.h:146
Definition: taskSetDialogInterface.h:84
QWidget * myCanvas
Definition: setSurfaceVesselLightingDialog.h:119
QComboBox * myNotUnderCommandLightsOn
Definition: setSurfaceVesselLightingDialog.h:149
A widget for pairing a horizontal slider with a spinbox. The spin box must be clamped to a min and ma...
Definition: DtSliderSpinboxWidget.h:30
Definition: setSurfaceVesselLightingDialog.h:173
QLabel * myFishingWithNetsLightsOnLabel
Definition: setSurfaceVesselLightingDialog.h:157
QLabel * myGlidePathIndicatorBeamLabel
Definition: setSurfaceVesselLightingDialog.h:142
QGridLayout * myContentLayout
Definition: setSurfaceVesselLightingDialog.h:118
QComboBox * myUpperDeckLightsOn
Definition: setSurfaceVesselLightingDialog.h:137
QComboBox * myFishingWithLinesLightsOn
Definition: setSurfaceVesselLightingDialog.h:155
QLabel * myNotUnderCommandLightsOnLabel
Definition: setSurfaceVesselLightingDialog.h:148
makVrv::DtSliderSpinboxWidget * myFlightDeckLights
Definition: setSurfaceVesselLightingDialog.h:131
QLabel * myRunningLightsOnLabel
Definition: setSurfaceVesselLightingDialog.h:163
QComboBox * myAnchorLightsOn
Definition: setSurfaceVesselLightingDialog.h:122
QLabel * myDistressBeaconOnLabel
Definition: setSurfaceVesselLightingDialog.h:127
QLabel * myUpperDeckLightsOnLabel
Definition: setSurfaceVesselLightingDialog.h:136
makVrv::DtSliderSpinboxWidget * myGlidePathIndicatorBeam
Definition: setSurfaceVesselLightingDialog.h:143
Contains makVrf::DtBaseTaskSetDialogInterface class. This is the interface for the dialog used by mos...
makVrv::DtSliderSpinboxWidget * myHorizonBarLights
Definition: setSurfaceVesselLightingDialog.h:140
QComboBox * myUpperDeckFloodLightsOn
Definition: setSurfaceVesselLightingDialog.h:134
QComboBox * myWarningLightsOn
Definition: setSurfaceVesselLightingDialog.h:125
QComboBox * myFishingWithNetsLightsOn
Definition: setSurfaceVesselLightingDialog.h:158
QLabel * myUpperDeckFloodLightsOnLabel
Definition: setSurfaceVesselLightingDialog.h:133
QComboBox * mySpotLightsOn
Definition: setSurfaceVesselLightingDialog.h:167
QLabel * mySpotLightsOnLabel
Definition: setSurfaceVesselLightingDialog.h:166
QComboBox * myInteriorLightsOn
Definition: setSurfaceVesselLightingDialog.h:170
QLabel * myAnchorLightsOnLabel
Definition: setSurfaceVesselLightingDialog.h:121
QLabel * myInteriorLightsOnLabel
Definition: setSurfaceVesselLightingDialog.h:169
QLabel * myWarningLightsOnLabel
Definition: setSurfaceVesselLightingDialog.h:124
class DtSimStatement:
Definition: simStatement.h:38
QLabel * myWaveOffLightOnLabel
Definition: setSurfaceVesselLightingDialog.h:145
QLabel * myFlightDeckLightsLabel
Definition: setSurfaceVesselLightingDialog.h:130
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
QComboBox * myRAMLightsOn
Definition: setSurfaceVesselLightingDialog.h:152
#define DT_DLL_VRFGUITASKSETQT
Definition: vrfGuiTaskSetQt.h:22
QComboBox * myDistressBeaconOn
Definition: setSurfaceVesselLightingDialog.h:128
QLabel * myHorizonBarLightsLabel
Definition: setSurfaceVesselLightingDialog.h:139
QLabel * myRAMLightsOnLabel
Definition: setSurfaceVesselLightingDialog.h:151
QLabel * myMineHuntingLightsOnLabel
Definition: setSurfaceVesselLightingDialog.h:160

Document ID: Generated on Tue Sep 24 19:28:17 EDT 2024 from SVN revision 269799
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)