VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
uiSensorSignaturesElement.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 2013 MaK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 
8 
9 #pragma once
10 
11 #if !defined(Q_MOC_RUN)
15 #include <readerWriter/rwReal.h>
16 #endif
17 
18 class DtUiRealElement;
20 class QComboBox;
21 class QLabel;
22 class QHBoxLayout;
23 
26 {
27  Q_OBJECT
28 
29 public:
30 
33 
35  virtual ~DtUiSensorSignaturesElement();
36 
38 
39 public:
40  virtual void createControls(QWidget*);
41  virtual void setEnabled(bool);
42 
43 protected:
44  virtual void decorateElement();
45  virtual void setFromParameters(const std::vector<DtReaderWriter*>& parentRw);
46  virtual DtUiRealElement* addSignature(const QString& title, DtRwReal*, DtRwReal*);
47  virtual void setModified(QWidget* l, bool modified);
48  virtual void sensorSignatureChanged(DtUiElement*);
49  virtual void setStandardObjectSelectionBasedOnSignatures();
50 
51 protected slots:
52  virtual void standardObjectChanged();
53 
54 protected:
55  typedef std::pair<DtRwReal*, DtRwReal*> DataElements;
56  typedef std::map<DtUiRealElement*, DataElements> SensorSignatures;
58 
61 
64 };
std::map< DtUiRealElement *, DataElements > SensorSignatures
Definition: uiSensorSignaturesElement.h:56
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.
A RW container class holding signature data for a single sensor domain.
Definition: rwSensorSignature.h:23
std::pair< DtRwReal *, DtRwReal * > DataElements
Definition: uiSensorSignaturesElement.h:55
boost::function< DtUiElement *(makVrv::DtDe &)> CreatorFunction
Definition: uiElement.h:174
DtSensorSignatureInformation myDefaultSensorSignatures
Definition: uiSensorSignaturesElement.h:63
virtual void decorateElement()
Sets element decoration depending on the isModified state of the element.
QComboBox * myStandardObjects
Definition: uiSensorSignaturesElement.h:59
DtSensorSignatureInformation mySensorSignatureInformation
Definition: uiSensorSignaturesElement.h:62
For validation, add lower_bound and upper_bound and decimals properties to set a lower and upper boun...
Definition: uiRealElement.h:18
QLabel * myStandardObjectsLabel
Definition: uiSensorSignaturesElement.h:60
Description: Readable, Writable DtReal (double)
Definition: rwReal.h:27
virtual void setEnabled(bool)
If this item is not enabled it cannot be modified.
SensorSignatures mySensorSignatures
Definition: uiSensorSignaturesElement.h:57
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69
Class that will keep track of all sensor signature information.
Definition: sensorSignatureInformation.h:17
Sensor signatures element. Define the default-signatures property (string) to define default signatur...
Definition: uiSensorSignaturesElement.h:25
#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

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)