VR-Forces 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() override;
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::set<makVrv::DtUniqueID>& data) override;
47 
48  virtual void sendRequest() override;
49 
51  virtual void setupGui(const std::set<makVrv::DtUniqueID>& data) override;
52 
53  virtual std::string label() const;
54 
55  protected:
56  virtual void setupStatement(const DtSimStatement*) override;
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) override;
76  virtual bool supportsType(makVrv::DtDe&, const DtSetMessageType&, const DtSimStatement*) const override;
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() override;
89 
90  protected:
91  virtual void sendRequest() override;
92  virtual std::string label() const override;
93  virtual QWidget* contents(const std::set<makVrv::DtUniqueID>& data) override;
95  virtual void setupGui(const std::set<makVrv::DtUniqueID>& data) override;
96  virtual void setupStatement(const DtSimStatement*) override;
97  };
98 
100  {
101  public:
102  virtual DtTaskSetDialogInterface* create(makVrv::DtDe&, QWidget* parent) override;
103  virtual bool supportsType(makVrv::DtDe&, const DtSetMessageType&, const DtSimStatement*) const override;
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:63
Definition: baseTaskSetDialogInterface.h:35
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:82
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:76
#define DT_DLL_VRFGUITASKSETQT
Definition: vrfGuiTaskSetQt.h:22
Definition: setOrderedSpeedDialog.h:79
QVBoxLayout * myOrderedSpeedRequiredTypeLayout
Definition: setOrderedSpeedDialog.h:65

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)