35 virtual void setValue(
int);
36 virtual int value()
const;
46 virtual DtString sourceValueToDisplayLabel(
const int source,
bool* foundDisplayValue = NULL)
const;
47 virtual int displayLabelToSourceValue(
const DtString& display,
bool* foundSourceValue = NULL)
const;
51 virtual void recalculateAsRestOf();
52 virtual void revertButtonClicked();
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:231
boost::function< DtUiElement *(makVrv::DtDe &)> CreatorFunction
Definition: uiElement.h:185
virtual void elementChanged()
virtual void decorateElement()
Sets element decoration depending on the isModified state of the element. This version changes myLabe...
bool myIsLineEdit
True if this string element uses a line edit, false if combo box.
Definition: uiIntegerElement.h:58
For validation, add lower_bound and upper_bound properties to set a lower and upper bound...
Definition: uiIntegerElement.h:20
For validation, add lower_bound and upper_bound properties to set a lower and upper bound...
Definition: uiMapAwareElement.h:18
std::map< DtString, int > DisplayLabelToSourceValueMap
Definition: uiIntegerElement.h:60
const char * source
Definition: lz4.h:442
The DtUiElement class is the base for which all UI elements are defined. If you wish to create a new ...
Definition: uiElement.h:97
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:70
QIntValidator * myValidator
Definition: uiIntegerElement.h:55
DisplayLabelToSourceValueMap myDisplayToSourceValues
Definition: uiIntegerElement.h:61
#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:180