14 #include <boost/signals2.hpp>
20 class QDoubleValidator;
38 virtual void setLabel(
const QString&);
39 virtual QString label()
const;
45 virtual void setRange(
double bottom,
double top);
48 virtual void setDefaultValue(
const std::string&);
52 virtual double range()
const;
55 virtual void setRange(
double);
58 virtual DtReaderWriter* createBoundVariable(
const std::string& variableName);
61 virtual void setupFromBoundVariable(
const DtReaderWriter* variableName);
76 virtual void refreshLabels();
80 return tr(
"VR-Forces Entity Manipulation").toUtf8().constData();
85 return tr(
"<vrfGuiDataEntryWidgets/rangeEntryWidget.h>").toUtf8().constData();
90 return tr(
"range").toUtf8().constData();
105 virtual void updateDecimalsDisplay();
108 virtual void onRangeChanged();
127 virtual void setReadOnly(
bool);
static std::string variableName()
Definition: smallRangeEntryWidget.h:88
boost::signals2::signal< void()> signal_changed
Definition: smallRangeEntryWidget.h:72
A unicode string.
Definition: DtUnicode.h:33
static makVrv::DtUnicode codeVariableType()
Definition: smallRangeEntryWidget.h:67
Simple line text entry widget that will allow the user to enter a small range value.
Definition: smallRangeEntryWidget.h:26
DtSmallRangeEntryWidget * myDefaultValue
Definition: smallRangeEntryWidget.h:130
Definition: readerWriter.h:85
Contains the DtUnitConverterCollection class declaration.
DtTaskSetVariableWidgetCreator< DtSmallRangeEntryWidget > DtSmallRangeEntryWidgetCreator
Definition: smallRangeEntryWidget.h:135
static std::string headerFile()
Definition: smallRangeEntryWidget.h:83
static DtUnicode tr(const char *ascii)
Ascii translation function, used to be compatible with Qt's translation tools.
Definition: DtUnicode.h:92
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
QString myLabelText
Definition: smallRangeEntryWidget.h:111
Extension widget which simply contains three Range variable widgets to allow for reuse of existing cl...
Definition: smallRangeEntryWidget.h:116
DtSmallRangeEntryWidget * myRangeBottom
Definition: smallRangeEntryWidget.h:131
static std::string designerGroup()
Definition: smallRangeEntryWidget.h:78
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69
DtSmallRangeEntryWidget * myRangeTop
Definition: smallRangeEntryWidget.h:132