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

Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)