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 DtReaderWriter* createBoundVariable(
const std::string& variableName);
62 virtual void setupFromBoundVariable(
const DtReaderWriter* variableName);
75 return tr(
"VR-Forces Position Entry").toUtf8().constData();
80 return tr(
"<vrfGuiDataEntryWidgets/depthEntryWidget.h>").toUtf8().constData();
85 return tr(
"depth").toUtf8().constData();
101 virtual void refreshLabels();
104 virtual void selectionChanged(
const std::set<makVrv::DtUniqueID>& oldSelection);
107 virtual void updateDecimalsDisplay();
126 virtual void setReadOnly(
bool);
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:110
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:137
Contains the DtUnitConverterCollection class declaration.
QLineEdit * myInitializeFromStateProperty
Definition: depthEntryWidget.h:132
static makVrv::DtUnicode codeVariableType()
Definition: depthEntryWidget.h:68
Extension widget which simply contains three depth variable widgets to allow for reuse of existing cl...
Definition: depthEntryWidget.h:115
static std::string variableName()
Definition: depthEntryWidget.h:83
DtDepthEntryWidget * myRangeTop
Definition: depthEntryWidget.h:134
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:73
DtDepthEntryWidget * myDefaultValue
Definition: depthEntryWidget.h:129
QLabel * myInitializeFromStatePropertyLabel
Definition: depthEntryWidget.h:131
DtDepthEntryWidget * myRangeBottom
Definition: depthEntryWidget.h:133
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:130
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:72
static std::string headerFile()
Definition: depthEntryWidget.h:78