VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
setOrderedAirSpeedDialog.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2020 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
10 
11 #pragma once
12 
14 
15 #include <vrfutil/rwAirSpeedType.h>
16 
17 class QComboBox;
18 
19 namespace makVrf
20 {
22  {
23  Q_OBJECT
24 
25  public:
26  //CTOR
27  DtSetOrderedAirSpeedDialog(makVrv::DtDe& de, QWidget* parent, const Qt::WindowFlags& flags = 0);
28 
29  //DTOR
30  virtual ~DtSetOrderedAirSpeedDialog();
31 
32  virtual void setAirSpeedType(DtAirSpeedType airSpeedType);
33  virtual DtAirSpeedType airSpeedType();
34 
35  virtual bool hasChangedSpeed() const;
36  virtual void sendRequest();
37  virtual void setupFrom(const std::vector<makVrv::DtSimEntry*>&) override;
38 
39  protected:
40  virtual QWidget* contents(const std::vector<makVrv::DtSimEntry*>& data);
41 
42  virtual std::string label() const;
43 
44  protected slots:
45  virtual void onMachSpeed();
46 
47  protected:
48  virtual void setupStatement(const DtSimStatement*);
49 
50  public:
53 
54  protected:
55  std::vector<makVrv::DtSimEntry*> myEntries;
56  double myOriginalSpeed = 0;
57  };
58 
60  {
61  public:
62  virtual DtTaskSetDialogInterface* create(makVrv::DtDe&, QWidget* parent);
63  bool supportsType(makVrv::DtDe&, const DtSetMessageType&, const DtSimStatement*) const;
64  };
65 }
Definition: setOrderedSpeedDialog.h:24
Definition: setOrderedAirSpeedDialog.h:21
Definition: taskSetDialogInterface.h:84
Definition: setOrderedSpeedDialog.h:72
Definition: setOrderedAirSpeedDialog.h:59
std::vector< makVrv::DtSimEntry * > myEntries
Definition: setOrderedAirSpeedDialog.h:55
DtAirSpeedType
Air Speed Type PDU enums.
Definition: rwAirSpeedType.h:24
class DtSimStatement:
Definition: simStatement.h:38
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
#define DT_DLL_VRFGUITASKSETQT
Definition: vrfGuiTaskSetQt.h:22
QComboBox * myAirSpeedType
Definition: setOrderedAirSpeedDialog.h:52

Document ID: Generated on Wed Mar 27 22:49:11 EDT 2024 from SVN revision 264633
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)