VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator 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:
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  public:
68  //CTOR
69  DtSetCurrentSpeedDialog(makVrv::DtDe& de, QWidget* parent, const Qt::WindowFlags& flags = 0);
70 
71  //DTOR
72  virtual ~DtSetCurrentSpeedDialog();
73 
74  protected:
75  virtual void sendRequest();
76  virtual std::string label() const;
77  };
78 
80  {
81  public:
82  virtual DtTaskSetDialogInterface* create(makVrv::DtDe&, QWidget* parent);
83  bool supportsType(makVrv::DtDe&, const DtSetMessageType&, const DtSimStatement*) const;
84  };
85 }

Document ID: Generated on Mon Jul 4 01:00:18 EDT 2016 from SVN revision 166489
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)