21 class DtSmallRangeEntryWidget;
31 Q_PROPERTY(QString xLabel READ xLabel WRITE setXLabel)
32 Q_PROPERTY(QString yLabel READ yLabel WRITE setYLabel)
33 Q_PROPERTY(QString zLabel READ zLabel WRITE setZLabel)
42 virtual
void setLabel(const std::
string&) override;
46 virtual
void setXLabel(const QString&);
47 virtual QString xLabel() const;
49 virtual
void setYLabel(const QString&);
50 virtual QString yLabel() const;
52 virtual
void setZLabel(const QString&);
53 virtual QString zLabel() const;
59 virtual
void setRange(
double bottom,
double top) override;
62 virtual
void setDefaultValue(const std::
string&) override;
66 virtual
void setVariableData(const QString&) override;
70 virtual
double x() const;
73 virtual
double y() const;
76 virtual
double z() const;
79 virtual
void setX(
double);
82 virtual
void setY(
double);
85 virtual
void setZ(
double);
88 virtual
DtReaderWriter* createBoundVariable(const std::
string& variableName) override;
91 virtual
void setupFromBoundVariable(const
DtReaderWriter* variableName) override;
96 QWidget* parent, const Qt::WindowFlags& flags = 0) const override;
98 static makVrv::DtUnicode codeVariableType()
105 return tr(
"VR-Forces Entity Manipulation").toUtf8().constData();
110 return tr(
"<vrfGuiDataEntryWidgets/offsetLocationEntryWidget.h>").toUtf8().constData();
115 return tr(
"offsetLocation").toUtf8().constData();
118 virtual void setTopLabelIsCheckable(
bool b)
override;
121 virtual void topLabelCheckStateChanged()
override;
122 virtual void adjustLabelSizes();
123 virtual std::string variableDataFromUiDesigner(
127 virtual void selectionChanged(
const std::set<makVrv::DtUniqueID>& oldSelection)
override;
150 virtual void setReadOnly(
bool)
override;
DtSmallRangeEntryWidget * myZ
Definition: offsetLocationEntryWidget.h:134
DtSmallRangeEntryWidget * myX
Definition: offsetLocationEntryWidget.h:132
QWidget * myCanvas
Definition: offsetLocationEntryWidget.h:131
DtSmallRangeEntryWidget * myRangeBottom
Definition: offsetLocationEntryWidget.h:155
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 * myY
Definition: offsetLocationEntryWidget.h:133
static std::string headerFile()
Definition: offsetLocationEntryWidget.h:108
QLineEdit * myDefaultValue
Definition: offsetLocationEntryWidget.h:154
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:139
DtSmallRangeEntryWidget * myRangeTop
Definition: offsetLocationEntryWidget.h:156
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:113
DtTaskSetVariableWidgetCreator< DtOffsetLocationEntryWidget > DtOffsetLocationEntryWidgetCreator
Definition: offsetLocationEntryWidget.h:159
QGridLayout * myGridLayout
Definition: offsetLocationEntryWidget.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:76
QLabel * myDefaultValueLabel
Definition: offsetLocationEntryWidget.h:153
static std::string designerGroup()
Definition: offsetLocationEntryWidget.h:103
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:27