VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
uiSensorSensitivityElement.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2013 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
10 #pragma once
11 
14 
15 #include <set>
16 
17 class QSlider;
18 class QLineEdit;
19 class QGridLayout;
20 
25 {
26  Q_OBJECT
27 
28 public:
29 
32 
35 
37 
39 
40 protected:
41  virtual void createControls(QWidget*);
42 
43 protected slots:
44  virtual void sensitivitySliderChanged();
45 
46 protected:
47  virtual void updateSlider();
48  virtual void setFromParameters(const std::vector<DtReaderWriter*>& parentRw);
49  virtual void updateValues();
50 
51 protected:
53  QSlider* mySlider;
54 
56  {
59  std::vector<QLineEdit*> lineEdit;
60  };
61 
62  typedef std::vector<StandardObject> StandardObjects;
64 
65  std::set<DtString> myDomains;
66 
67  QGridLayout* myMainLayout;
68 };
DtUiRealElement * mySensitivity
Definition: uiSensorSensitivityElement.h:52
virtual void createControls(QWidget *parent)
If additional widgets or connections need to be made do it here. The parent is the myWidget member...
virtual void setFromParameters(DtReaderWriter *parentRw)
Calls setFromParameters with std::vector of parameter.
Element for managing an Articulated Part number variable.
Definition: uiSensorSensitivityElement.h:24
boost::function< DtUiElement *(makVrv::DtDe &)> CreatorFunction
Definition: uiElement.h:174
StandardObjects myStandardObjects
Definition: uiSensorSensitivityElement.h:63
Definition: uiSensorSensitivityElement.h:55
std::set< DtString > myDomains
Definition: uiSensorSensitivityElement.h:65
DtComponentSystemDefinition.
Definition: componentSystemDefinition.h:25
std::vector< QLineEdit * > lineEdit
Definition: uiSensorSensitivityElement.h:59
QSlider * mySlider
Definition: uiSensorSensitivityElement.h:53
For validation, add lower_bound and upper_bound and decimals properties to set a lower and upper boun...
Definition: uiRealElement.h:18
QGridLayout * myMainLayout
Definition: uiSensorSensitivityElement.h:67
DtString standardObject
Definition: uiSensorSensitivityElement.h:57
Base class for RW objects that describe a system parameter.
Definition: systemParameterData.h:30
std::vector< StandardObject > StandardObjects
Definition: uiSensorSensitivityElement.h:62
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69
QLabel * label
Definition: uiSensorSensitivityElement.h:58
#define DT_DLL_simulationObjectEditorimpl
This file is used to determine how to build.
Definition: simulationObjectEditorImplDefines.h:32
Base class of the ui element class chain.
Definition: uiElement.h:169
virtual void setFromSystemParameterData(const DtSystemParameterData *data, const DtComponentSystemDefinition *)
Sets data of this UiElement from the specified system parameter data.

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)