17 #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&);
53 virtual double angle()
const;
56 virtual void setAngle(
double);
59 virtual DtReaderWriter* createBoundVariable(
const std::string& variableName);
62 virtual void setupFromBoundVariable(
const DtReaderWriter* variableName);
63 virtual void setupFrom(
const std::vector<makVrv::DtSimEntry*>& data);
74 virtual void setUseCompassFormatting(
bool);
77 return myUseCompassFormatting;
85 return tr(
"VR-Forces Entity Manipulation").toUtf8().constData();
90 return tr(
"<vrfGuiDataEntryWidgets/headingEntryWidget.h>").toUtf8().constData();
95 return tr(
"heading").toUtf8().constData();
99 virtual void onHeadingChanged();
114 virtual void refreshLabels();
117 virtual void updateDecimalsDisplay();
121 virtual void setRangeTop(
double);
122 virtual void setRangeBottom(
double);
124 virtual double rangeTop()
const;
125 virtual double rangeBottom()
const;
145 virtual void setReadOnly(
bool);
A unicode string. DtUnicode stores a UTF-16 encoded unicode string. Code Point, a Unicode character...
Definition: DtUnicode.h:33
static std::string variableName()
Definition: angleEntryWidget.h:93
DtAngleEntryWidget * myRangeBottom
Definition: angleEntryWidget.h:149
Definition: readerWriter.h:85
DtTaskSetVariableWidgetCreator< DtAngleEntryWidget > DtAngleEntryWidgetCreator
Definition: angleEntryWidget.h:154
static std::string designerGroup()
Definition: angleEntryWidget.h:83
Contains the DtUnitConverterCollection class declaration.
static std::string headerFile()
Definition: angleEntryWidget.h:88
bool myUseCompassFormatting
Definition: angleEntryWidget.h:129
bool useCompassFormatting() const
Definition: angleEntryWidget.h:75
Simple line text entry widget that will allow the user to enter a heading value.
Definition: angleEntryWidget.h:26
DT_DLL_vrfutil double angle(double vec1[3], double vec2[3])
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 heading variable widgets to allow for reuse of existing ...
Definition: angleEntryWidget.h:134
A class for keeping track of meta data for variables of scripted tasks. The information is currently ...
Definition: scriptedTaskVariable.h:34
static makVrv::DtUnicode codeVariableType()
Definition: angleEntryWidget.h:69
#define DT_DLL_VRFGUIDATAENTRYWIDGETS
Definition: vrfGuiDataEntryWidgets.h:22
DtAngleEntryWidget * myRangeTop
Definition: angleEntryWidget.h:150
QString myLabelText
Definition: angleEntryWidget.h:128
boost::signals2::signal< void()> signal_changed
Signal sent when heading has changed.
Definition: angleEntryWidget.h:81
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
DtAngleEntryWidget * myDefaultValue
Definition: angleEntryWidget.h:148