19 class DtSmallRangeEntryWidget;
29 Q_PROPERTY(QString xLabel READ xLabel WRITE setXLabel)
30 Q_PROPERTY(QString yLabel READ yLabel WRITE setYLabel)
31 Q_PROPERTY(QString zLabel READ zLabel WRITE setZLabel)
40 virtual
void setLabel(const std::
string&);
44 virtual
void setXLabel(const QString&);
45 virtual QString xLabel() const;
47 virtual
void setYLabel(const QString&);
48 virtual QString yLabel() const;
50 virtual
void setZLabel(const QString&);
51 virtual QString zLabel() const;
57 virtual
void setRange(
double bottom,
double top);
60 virtual
void setDefaultValue(const std::
string&);
64 virtual
void setVariableData(const QString&);
68 virtual
double x() const;
71 virtual
double y() const;
74 virtual
double z() const;
77 virtual
void setX(
double);
80 virtual
void setY(
double);
83 virtual
void setZ(
double);
86 virtual
DtReaderWriter* createBoundVariable(const std::
string& variableName);
89 virtual
void setupFromBoundVariable(const
DtReaderWriter* variableName);
95 static makVrv::DtUnicode codeVariableType()
102 return tr(
"VR-Forces Entity Manipulation").toUtf8().constData();
107 return tr(
"<vrfGuiDataEntryWidgets/offsetLocationEntryWidget.h>").toUtf8().constData();
112 return tr(
"offsetLocation").toUtf8().constData();
115 virtual void setTopLabelIsCheckable(
bool b);
118 virtual void topLabelCheckStateChanged();
119 virtual void adjustLabelSizes();
123 virtual void selectionChanged(
const std::set<makVrv::DtUniqueID>& oldSelection);
146 virtual void setReadOnly(
bool);
DtSmallRangeEntryWidget * myZ
Definition: offsetLocationEntryWidget.h:130
DtSmallRangeEntryWidget * myX
Definition: offsetLocationEntryWidget.h:128
QWidget * myCanvas
Definition: offsetLocationEntryWidget.h:127
DtSmallRangeEntryWidget * myRangeBottom
Definition: offsetLocationEntryWidget.h:150
Simple line text entry widget that will allow the user to enter a small range value.
Definition: smallRangeEntryWidget.h:27
This class will parse the UI file for known scripted task variable types and pull out specified scrip...
Definition: scriptedTaskVariableLayoutConverter.h:32
Definition: readerWriter.h:85
DtSmallRangeEntryWidget * myDefaultValue
Definition: offsetLocationEntryWidget.h:149
DtSmallRangeEntryWidget * myY
Definition: offsetLocationEntryWidget.h:129
static std::string headerFile()
Definition: offsetLocationEntryWidget.h:105
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
Extension widget which simply contains three Range variable widgets to allow for reuse of existing cl...
Definition: offsetLocationEntryWidget.h:135
DtSmallRangeEntryWidget * myRangeTop
Definition: offsetLocationEntryWidget.h:151
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
static std::string variableName()
Definition: offsetLocationEntryWidget.h:110
DtTaskSetVariableWidgetCreator< DtOffsetLocationEntryWidget > DtOffsetLocationEntryWidgetCreator
Definition: offsetLocationEntryWidget.h:154
QGridLayout * myGridLayout
Definition: offsetLocationEntryWidget.h:126
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
static std::string designerGroup()
Definition: offsetLocationEntryWidget.h:100
A collection of 3 range widgets for x, y and z offsets (in meters). It is up to the user of this widg...
Definition: offsetLocationEntryWidget.h:25