VR-Forces 4.6.1 Class Documentation
 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 
18 namespace makVrf
19 {
20  class DtRateEntryWidget;
21 
23  {
24  Q_OBJECT
25 
26  public:
27  //CTOR
28  DtSetOrderedSpeedDialog(makVrv::DtDe& de, QWidget* parent, const Qt::WindowFlags& flags = 0);
29 
30  //DTOR
31  virtual ~DtSetOrderedSpeedDialog();
32 
34  virtual double orderedSpeed() const;
35 
37  virtual void setOrderedSpeed(double);
38 
39  protected:
40  virtual QWidget* contents(const std::vector<makVrv::DtSimEntry*>& data);
41 
42  virtual void sendRequest();
43 
45  virtual void setupGui(const std::vector<makVrv::DtSimEntry*>& data);
46 
47  virtual std::string label() const;
48 
49  protected:
50  virtual void setupStatement(const DtSimStatement*);
51 
52  public:
53  QWidget* myCanvas;
54  QHBoxLayout* myContentLayout;
56  };
57 
59  {
60  public:
61  virtual DtTaskSetDialogInterface* create(makVrv::DtDe&, QWidget* parent);
62  bool supportsType(makVrv::DtDe&, const DtSetMessageType&, const DtSimStatement*) const;
63  };
64 
66  {
67  Q_OBJECT
68 
69  public:
70  //CTOR
71  DtSetCurrentSpeedDialog(makVrv::DtDe& de, QWidget* parent, const Qt::WindowFlags& flags = 0);
72 
73  //DTOR
74  virtual ~DtSetCurrentSpeedDialog();
75 
76  protected:
77  virtual void sendRequest();
78  virtual std::string label() const;
79  };
80 
82  {
83  public:
84  virtual DtTaskSetDialogInterface* create(makVrv::DtDe&, QWidget* parent);
85  bool supportsType(makVrv::DtDe&, const DtSetMessageType&, const DtSimStatement*) const;
86  };
87 }

Document ID: Generated on Wed Jul 25 16:57:45 EDT 2018 from SVN revision 190790
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)