19 class QDoubleValidator;
37 virtual void setLabel(
const QString&)
override;
38 virtual QString label()
const override;
44 virtual void setRange(
double bottom,
double top)
override;
47 virtual void setDefaultValue(
const std::string&)
override;
52 virtual double depth()
const;
56 virtual void setDepth(
double);
59 virtual DtReaderWriter* createBoundVariable(
const std::string& variableName)
override;
62 virtual void setupFromBoundVariable(
const DtReaderWriter* variableName)
override;
67 QWidget* parent,
const Qt::WindowFlags& flags = 0)
const override;
76 return tr(
"VR-Forces Position Entry").toUtf8().constData();
81 return tr(
"<vrfGuiDataEntryWidgets/depthEntryWidget.h>").toUtf8().constData();
86 return tr(
"depth").toUtf8().constData();
102 virtual void refreshLabels();
105 virtual void selectionChanged(
const std::set<makVrv::DtUniqueID>& oldSelection)
override;
108 virtual void updateDecimalsDisplay()
override;
127 virtual void setReadOnly(
bool)
override;
A unicode string. DtUnicode stores a UTF-16 encoded unicode string. Code Point, a Unicode character...
Definition: DtUnicode.h:33
QString myLabelText
Definition: depthEntryWidget.h:111
Simple line text entry widget that will allow the user to enter a depth value.
Definition: depthEntryWidget.h:25
Definition: readerWriter.h:85
DtTaskSetVariableWidgetCreator< DtDepthEntryWidget > DtDepthEntryWidgetCreator
Definition: depthEntryWidget.h:138
Contains the DtUnitConverterCollection class declaration.
QLineEdit * myInitializeFromStateProperty
Definition: depthEntryWidget.h:133
static makVrv::DtUnicode codeVariableType()
Definition: depthEntryWidget.h:69
Extension widget which simply contains three depth variable widgets to allow for reuse of existing cl...
Definition: depthEntryWidget.h:116
static std::string variableName()
Definition: depthEntryWidget.h:84
DtDepthEntryWidget * myRangeTop
Definition: depthEntryWidget.h:135
static DtUnicode tr(const char *ascii)
Ascii translation function, used to be compatible with Qt's translation tools. This will simply call ...
Definition: DtUnicode.h:92
static std::string designerGroup()
Definition: depthEntryWidget.h:74
DtDepthEntryWidget * myDefaultValue
Definition: depthEntryWidget.h:130
QLabel * myInitializeFromStatePropertyLabel
Definition: depthEntryWidget.h:132
DtDepthEntryWidget * myRangeBottom
Definition: depthEntryWidget.h:134
A class for keeping track of meta data for variables of scripted tasks. The information is currently ...
Definition: scriptedTaskVariable.h:34
#define DT_DLL_VRFGUIDATAENTRYWIDGETS
Definition: vrfGuiDataEntryWidgets.h:22
QCheckBox * myInitializeFromStatePropertyEnabled
Definition: depthEntryWidget.h:131
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
static std::string headerFile()
Definition: depthEntryWidget.h:79