VR-Forces 5.0.1 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
setArrestorGearDialog.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2021 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
10 
11 #pragma once
12 
15 
16 class QComboBox;
17 class QGroupBox;
18 class QVBoxLayout;
19 class QRadioButton;
20 class QLabel;
21 
22 namespace makVrf
23 {
25  {
26  Q_OBJECT
27 
28  public:
29  //CTOR
30  DtSetArrestorGearDialog(makVrv::DtDe& de, QWidget* parent, const Qt::WindowFlags& flags = 0);
31 
32  //DTOR
33  virtual ~DtSetArrestorGearDialog();
34 
35  protected:
36  virtual QWidget* contents(const std::vector<makVrv::DtSimEntry*>& data);
37 
38  virtual void sendRequest();
39 
40  virtual std::string label() const;
41 
42  virtual std::string runway() const;
43  virtual void setRunway(const std::string& runway) const;
44 
45  virtual bool arrestorGear() const;
46  virtual void setArrestorGear(bool arrestorgear) const;
47 
48  protected slots:
49  virtual void onRunwayChanged();
50 
51  protected:
52  virtual void setupStatement(const DtSimStatement*);
53 
54  public:
55  QWidget* myCanvas;
56  QVBoxLayout* myContentLayout;
57 
58  QGroupBox* myRunwayGroupBox;
59  QVBoxLayout* myRunwayLayout;
60  QRadioButton* myRunwayForward;
61  QRadioButton* myRunwayReverse;
62 
65  };
66 
68  {
69  public:
70  virtual DtTaskSetDialogInterface* create(makVrv::DtDe&, QWidget* parent);
71  bool supportsType(makVrv::DtDe&, const DtSetMessageType&, const DtSimStatement*) const;
72  };
73 }
Definition: taskSetDialogInterface.h:65
Definition: baseTaskSetDialogInterface.h:34
QLabel * myArrestorGearLabel
Definition: setArrestorGearDialog.h:63
QRadioButton * myRunwayForward
Definition: setArrestorGearDialog.h:60
Definition: taskSetDialogInterface.h:84
QVBoxLayout * myContentLayout
Definition: setArrestorGearDialog.h:56
Definition: setArrestorGearDialog.h:24
QWidget * myCanvas
Definition: setArrestorGearDialog.h:55
Contains makVrf::DtBaseTaskSetDialogInterface class. This is the interface for the dialog used by mos...
QGroupBox * myRunwayGroupBox
Definition: setArrestorGearDialog.h:58
Definition: setArrestorGearDialog.h:67
QComboBox * myArrestorGearCombobox
Definition: setArrestorGearDialog.h:64
QRadioButton * myRunwayReverse
Definition: setArrestorGearDialog.h:61
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:70
#define DT_DLL_VRFGUITASKSETQT
Definition: vrfGuiTaskSetQt.h:22
QVBoxLayout * myRunwayLayout
Definition: setArrestorGearDialog.h:59

Document ID: Generated on Mon Jun 20 00:38:30 EDT 2022 from SVN revision 244029
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)