14 class QDoubleValidator;
36 virtual int decimalPlaces()
const;
37 virtual void setDecimalPlaces(
int num);
41 virtual void setValue(
double);
42 virtual double value()
const;
50 virtual DtString sourceValueToDisplayLabel(
const double source,
bool* foundDisplayValue = NULL)
const;
51 virtual double displayLabelToSourceValue(
const DtString& display,
bool* foundSourceValue = NULL)
const;
55 virtual void recalculateAsRestOf();
DisplayLabelToSourceValueMap myDisplayToSourceValues
Definition: uiRealElement.h:63
bool myIsLineEdit
Definition: uiRealElement.h:61
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.
virtual void processUiEvent(const DtUiElementEvent &)
Process ui event. Default does nothing.
Definition: uiElement.h:220
boost::function< DtUiElement *(makVrv::DtDe &)> CreatorFunction
Definition: uiElement.h:174
virtual void elementChanged()
QDoubleValidator * myValidator
Definition: uiRealElement.h:58
virtual void decorateElement()
Sets element decoration depending on the isModified state of the element.
std::map< DtString, double > DisplayLabelToSourceValueMap
Definition: uiRealElement.h:62
For validation, add lower_bound and upper_bound and decimals properties to set a lower and upper boun...
Definition: uiRealElement.h:18
For validation, add lower_bound and upper_bound properties to set a lower and upper bound...
Definition: uiMapAwareElement.h:18
const char * source
Definition: lz4.h:436
The DtUiElement class is the base for which all UI elements are defined.
Definition: uiElement.h:92
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69
#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
int myDecimalPlaces
Definition: uiRealElement.h:64