VR-Forces 5.0.2 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
setOrderedSpeedDialog.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2015 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
10 
11 #pragma once
12 
15 
16 class QHBoxLayout;
17 class QRadioButton;
18 
19 namespace makVrf
20 {
21  class DtRateEntryWidget;
22  class DtSimpleCheckBoxVariableWidget;
23 
25  {
26  Q_OBJECT
27 
28  public:
29  //CTOR
30  DtSetOrderedSpeedDialog(makVrv::DtDe& de, QWidget* parent, const Qt::WindowFlags& flags = 0);
31 
32  //DTOR
33  virtual ~DtSetOrderedSpeedDialog();
34 
36  virtual double orderedSpeed() const;
38  virtual void setOrderedSpeed(double);
39 
41  void setIsRequiredSpeed(bool b);
43  bool isRequiredSpeed();
44 
45  protected:
46  virtual QWidget* contents(const std::vector<makVrv::DtSimEntry*>& data);
47 
48  virtual void sendRequest();
49 
51  virtual void setupGui(const std::vector<makVrv::DtSimEntry*>& data);
52 
53  virtual std::string label() const;
54 
55  protected:
56  virtual void setupStatement(const DtSimStatement*);
57 
58  virtual void slot_onUnitChanged(const makVrv::DtUnicode& type, int to, int old);
59 
60  public:
61  QWidget* myCanvas;
62  QVBoxLayout* myContentLayout;
64 
69 
70  };
71 
73  {
74  public:
75  virtual DtTaskSetDialogInterface* create(makVrv::DtDe&, QWidget* parent);
76  bool supportsType(makVrv::DtDe&, const DtSetMessageType&, const DtSimStatement*) const;
77  };
78 
80  {
81  Q_OBJECT
82 
83  public:
84  //CTOR
85  DtSetCurrentSpeedDialog(makVrv::DtDe& de, QWidget* parent, const Qt::WindowFlags& flags = 0);
86 
87  //DTOR
88  virtual ~DtSetCurrentSpeedDialog();
89 
90  protected:
91  virtual void sendRequest();
92  virtual std::string label() const;
93  virtual QWidget* contents(const std::vector<makVrv::DtSimEntry*>& data);
95  virtual void setupGui(const std::vector<makVrv::DtSimEntry*>& data);
96  virtual void setupStatement(const DtSimStatement*);
97  };
98 
100  {
101  public:
102  virtual DtTaskSetDialogInterface* create(makVrv::DtDe&, QWidget* parent);
103  bool supportsType(makVrv::DtDe&, const DtSetMessageType&, const DtSimStatement*) const;
104  };
105 }
A unicode string. DtUnicode stores a UTF-16 encoded unicode string. Code Point, a Unicode character...
Definition: DtUnicode.h:33
Definition: setOrderedSpeedDialog.h:99
Definition: taskSetDialogInterface.h:65
Definition: baseTaskSetDialogInterface.h:34
QWidget * myCanvas
Definition: setOrderedSpeedDialog.h:61
Definition: setOrderedSpeedDialog.h:24
QRadioButton * myOrderedSpeedEnforcedMode
the selected radio button will set this mode.
Definition: setOrderedSpeedDialog.h:67
Definition: taskSetDialogInterface.h:84
Definition: setOrderedSpeedDialog.h:72
Contains makVrf::DtBaseTaskSetDialogInterface class. This is the interface for the dialog used by mos...
QRadioButton * myOrderedSpeedSuggestedMode
Definition: setOrderedSpeedDialog.h:68
Simple line text entry widget that will allow the user to enter a rate value.
Definition: rateEntryWidget.h:28
DtRateEntryWidget * myOrderedSpeed
Definition: setOrderedSpeedDialog.h:63
class DtSimStatement:
Definition: simStatement.h:38
QVBoxLayout * myContentLayout
Definition: setOrderedSpeedDialog.h:62
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
Definition: setOrderedSpeedDialog.h:79
QVBoxLayout * myOrderedSpeedRequiredTypeLayout
Definition: setOrderedSpeedDialog.h:65

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)