VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
setGroundVehicleLightingDialog.h
Go to the documentation of this file.
1 
2 /******************************************************************************
3 ** Copyright (c) 2023 MAK Technologies, Inc.
4 ** All rights reserved.
5 ******************************************************************************/
6 
9 
11 
12 #pragma once
13 
16 
17 #include <matrix/vlVector.h>
18 
19 class QGridLayout;
20 class QComboBox;
21 class QSpinBox;
22 
23 namespace makVrf
24 {
26  {
27  Q_OBJECT
28  public:
29  //CTOR
30  DtSetGroundVehicleLightingDialog(makVrv::DtDe& de, QWidget* parent, const Qt::WindowFlags& flags = 0);
31 
32  //DTOR
34 
36  virtual bool leftIndicatorLightsOn() const;
37  virtual void setLeftIndicatorLightsOn(bool leftIndicatorLightsOn);
38 
40  virtual bool rightIndicatorLightsOn() const;
41  virtual void setRightIndicatorLightsOn(bool rightIndicatorLightsOn);
42 
44  virtual bool emergencyLightsOn() const;
45  virtual void setEmergencyLightsOn(bool emergencyLightsOn);
46 
48  virtual bool headLightsOn() const;
49  virtual void setHeadLightsOn(bool headLightsOn);
50 
52  virtual bool tailLightsOn() const;
53  virtual void setTailLightsOn(bool tailLightsOn);
54 
56  virtual bool brakeLightsOn() const;
57  virtual void setBrakeLightsOn(bool brakeLightsOn);
58 
60  virtual bool blackoutLightsOn() const;
61  virtual void setBlackoutLightsOn(bool blackoutLightsOn);
62 
64  virtual bool blackoutBrakeLightsOn() const;
65  virtual void setBlackoutBrakeLightsOn(bool blackoutBrakeLightsOn);
66 
68  virtual bool spotLightsOn() const;
69  virtual void setSpotLightsOn(bool spotLightsOn);
70 
72  virtual bool interiorLightsOn() const;
73  virtual void setInteriorLightsOn(bool interiorLightsOn);
74 
75  protected:
76  virtual QWidget* contents(const std::vector<makVrv::DtSimEntry*>& data);
77 
78  virtual void sendRequest();
79 
80  protected:
82  virtual void setupGui(const std::vector<makVrv::DtSimEntry*>& data);
83  virtual void setupStatement(const DtSimStatement*);
84 
85  protected:
86  QGridLayout* myContentLayout;
87  QWidget* myCanvas;
88 
91 
94 
97 
100 
103 
106 
109 
112 
115 
118  };
119 
121  {
122  public:
123  virtual DtTaskSetDialogInterface* create(makVrv::DtDe&, QWidget* parent);
124  bool supportsType(makVrv::DtDe&, const DtSetMessageType&, const DtSimStatement*) const;
125  };
126 }
Definition: taskSetDialogInterface.h:65
Definition: baseTaskSetDialogInterface.h:35
QComboBox * myBlackoutBrakeLightsOn
Definition: setGroundVehicleLightingDialog.h:111
QLabel * myLeftIndicatorLightsOnLabel
Definition: setGroundVehicleLightingDialog.h:89
QLabel * mySpotLightsOnLabel
Definition: setGroundVehicleLightingDialog.h:113
QComboBox * myTailLightsOn
Definition: setGroundVehicleLightingDialog.h:102
Definition: taskSetDialogInterface.h:84
Definition: setGroundVehicleLightingDialog.h:120
QComboBox * myInteriorLightsOn
Definition: setGroundVehicleLightingDialog.h:117
QLabel * myHeadLightsOnLabel
Definition: setGroundVehicleLightingDialog.h:98
QLabel * myBlackoutBrakeLightsOnLabel
Definition: setGroundVehicleLightingDialog.h:110
QLabel * myTailLightsOnLabel
Definition: setGroundVehicleLightingDialog.h:101
QComboBox * myHeadLightsOn
Definition: setGroundVehicleLightingDialog.h:99
QLabel * myInteriorLightsOnLabel
Definition: setGroundVehicleLightingDialog.h:116
QComboBox * myBlackoutLightsOn
Definition: setGroundVehicleLightingDialog.h:108
QComboBox * mySpotLightsOn
Definition: setGroundVehicleLightingDialog.h:114
Definition: setGroundVehicleLightingDialog.h:25
QGridLayout * myContentLayout
Definition: setGroundVehicleLightingDialog.h:86
Contains makVrf::DtBaseTaskSetDialogInterface class. This is the interface for the dialog used by mos...
QLabel * myBrakeLightsOnLabel
Definition: setGroundVehicleLightingDialog.h:104
QComboBox * myRightIndicatorLightsOn
Definition: setGroundVehicleLightingDialog.h:93
class DtSimStatement:
Definition: simStatement.h:38
QComboBox * myBrakeLightsOn
Definition: setGroundVehicleLightingDialog.h:105
QWidget * myCanvas
Definition: setGroundVehicleLightingDialog.h:87
QLabel * myRightIndicatorLightsOnLabel
Definition: setGroundVehicleLightingDialog.h:92
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 * myLeftIndicatorLightsOn
Definition: setGroundVehicleLightingDialog.h:90
QLabel * myEmergencyLightsOnLabel
Definition: setGroundVehicleLightingDialog.h:95
#define DT_DLL_VRFGUITASKSETQT
Definition: vrfGuiTaskSetQt.h:22
QComboBox * myEmergencyLightsOn
Definition: setGroundVehicleLightingDialog.h:96
QLabel * myBlackoutLightsOnLabel
Definition: setGroundVehicleLightingDialog.h:107

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)