VR-Forces Developer's Guide
 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 
34  virtual ~DtUiSensorSensitivityElement() override;
35 
36  virtual void setFromSystemParameterData(
37  const DtSystemParameterData* data, const DtComponentSystemDefinition*) override;
38 
40 
41 protected:
42  virtual void createControls(QWidget*) override;
43 
44 protected slots:
45  virtual void sensitivitySliderChanged();
46 
47 protected:
48  virtual void updateSlider();
49  virtual void setFromParameters(const std::vector<DtReaderWriter*>& parentRw) override;
50  virtual void updateValues();
51 
52 protected:
54  QSlider* mySlider;
55 
57  {
60  std::vector<QLineEdit*> lineEdit;
61  };
62 
63  typedef std::vector<StandardObject> StandardObjects;
65 
66  std::set<DtString> myDomains;
67 
68  QGridLayout* myMainLayout;
69 };
DtUiRealElement * mySensitivity
Definition: uiSensorSensitivityElement.h:53
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. It hooks to the DtArtPartManager to auto-as...
Definition: uiSensorSensitivityElement.h:24
boost::function< DtUiElement *(makVrv::DtDe &)> CreatorFunction
Definition: uiElement.h:190
StandardObjects myStandardObjects
Definition: uiSensorSensitivityElement.h:64
Definition: uiSensorSensitivityElement.h:56
std::set< DtString > myDomains
Definition: uiSensorSensitivityElement.h:66
DtComponentSystemDefinition.
Definition: componentSystemDefinition.h:27
std::vector< QLineEdit * > lineEdit
Definition: uiSensorSensitivityElement.h:60
QSlider * mySlider
Definition: uiSensorSensitivityElement.h:54
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:68
DtString standardObject
Definition: uiSensorSensitivityElement.h:58
Base class for RW objects that describe a system parameter. This data is used by the entity editor to...
Definition: systemParameterData.h:30
std::vector< StandardObject > StandardObjects
Definition: uiSensorSensitivityElement.h:63
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:76
QLabel * label
Definition: uiSensorSensitivityElement.h:59
#define DT_DLL_simulationObjectEditorimpl
This file is used to determine how to build.
Definition: simulationObjectEditorImplDefines.h:33
Base class of the ui element class chain. Properties available through designer for all ui elements a...
Definition: uiElement.h:185
virtual void setFromSystemParameterData(const DtSystemParameterData *data, const DtComponentSystemDefinition *)
Sets data of this UiElement from the specified system parameter data. Sets things like sourceUnits...

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)