VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
setZoomSensorDialog.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 
16 
17 #include <QRadioButton>
18 
19 #include <matrix/vlVector.h>
20 
21 class QVBoxLayout;
22 class QGridLayout;
23 class QLabel;
24 class QComboBox;
25 class QSlider;
26 class QLineEdit;
27 class QDoubleValidator;
28 
29 namespace makVrf
30 {
31 
33  {
34  Q_OBJECT
35  public:
36  //CTOR
37  DtSetZoomSensorDialog(makVrv::DtDe& de, QWidget* parent, const Qt::WindowFlags& flags = 0);
38 
39  //DTOR
40  virtual ~DtSetZoomSensorDialog();
41 
42  protected:
43  virtual QWidget* contents(const std::vector<makVrv::DtSimEntry*>& data);
44 
45  virtual void sendRequest();
46 
47  protected:
48  virtual void setupStatement(const DtSimStatement*);
49 
50  protected slots:
51  virtual void onSensorChanged(int index);
52  virtual void updateSliderFromLineEdit();
53  virtual void updateLineEditFromSlider();
54 
55  public:
57  QVBoxLayout* myMainLayout;
58  QGridLayout* myUpperLayout;
59  QHBoxLayout* mySliderLayout;
64  QDoubleValidator* myZoomValidator;
67  QSlider* myZoomSlider;
68 
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 }

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)