19 class QDoubleValidator;
37 virtual void setLabel(
const QString&);
38 virtual QString label()
const;
44 virtual void setRange(
double bottom,
double top);
47 virtual void setDefaultValue(
const std::string&);
52 virtual double depth()
const;
56 virtual void setDepth(
double);
59 virtual void setDepthDecimalPlaces(
int decimalPlaces);
62 virtual DtReaderWriter* createBoundVariable(
const std::string& variableName);
65 virtual void setupFromBoundVariable(
const DtReaderWriter* variableName);
78 return tr(
"VR-Forces Position Entry").toUtf8().constData();
83 return tr(
"<vrfGuiDataEntryWidgets/depthEntryWidget.h>").toUtf8().constData();
88 return tr(
"depth").toUtf8().constData();
96 virtual void slot_onUnitChanged(
int attribute,
int from,
int old);
100 virtual void slot_displayUnitDecimalsChanged(
105 virtual void refreshLabels();
124 virtual void setReadOnly(
bool);
A unicode string.
Definition: DtUnicode.h:33
QString myLabelText
Definition: depthEntryWidget.h:108
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:132
Contains the DtUnitConverterCollection class declaration.
static makVrv::DtUnicode codeVariableType()
Definition: depthEntryWidget.h:71
Extension widget which simply contains three depth variable widgets to allow for reuse of existing cl...
Definition: depthEntryWidget.h:113
static std::string variableName()
Definition: depthEntryWidget.h:86
DtDepthEntryWidget * myRangeTop
Definition: depthEntryWidget.h:129
static DtUnicode tr(const char *ascii)
Ascii translation function, used to be compatible with Qt's translation tools.
Definition: DtUnicode.h:92
static std::string designerGroup()
Definition: depthEntryWidget.h:76
DtDepthEntryWidget * myDefaultValue
Definition: depthEntryWidget.h:127
DtDepthEntryWidget * myRangeBottom
Definition: depthEntryWidget.h:128
A class for keeping track of meta data for variables of scripted tasks.
Definition: scriptedTaskVariable.h:31
#define DT_DLL_VRFGUIDATAENTRYWIDGETS
Definition: vrfGuiDataEntryWidgets.h:23
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69
static std::string headerFile()
Definition: depthEntryWidget.h:81
DisplayUnitType
Indicates a type of display unit.
Definition: DtUnitConverterCollection.h:36