11 #include <boost/signals2.hpp>
17 class QDoubleValidator;
35 virtual void setLabel(
const QString&);
36 virtual QString label()
const;
42 virtual void setRange(
double bottom,
double top);
45 virtual void setDefaultValue(
const std::string&);
50 virtual double pitch()
const;
53 virtual void setPitch(
double);
56 virtual void setPitchDecimalPlaces(
int decimalPlaces);
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);
79 return tr(
"VR-Forces Entity Manipulation").toUtf8().constData();
84 return tr(
"<vrfGuiDataEntryWidgets/PitchEntryWidget.h>").toUtf8().constData();
89 return tr(
"Pitch").toUtf8().constData();
93 virtual void onPitchChanged();
100 virtual void slot_onUnitChanged(
int attribute,
int from,
int old);
104 virtual void slot_displayUnitDecimalsChanged(
109 virtual void refreshLabels();
113 virtual void setRangeTop(
double);
114 virtual void setRangeBottom(
double);
116 virtual double rangeTop()
const;
117 virtual double rangeBottom()
const;
136 virtual void setReadOnly(
bool);
A unicode string.
Definition: DtUnicode.h:33
DtPitchEntryWidget * myRangeTop
Definition: pitchEntryWidget.h:141
Definition: readerWriter.h:85
DtPitchEntryWidget * myDefaultValue
Definition: pitchEntryWidget.h:139
Contains the DtUnitConverterCollection class declaration.
static std::string designerGroup()
Definition: pitchEntryWidget.h:77
static std::string variableName()
Definition: pitchEntryWidget.h:87
static DtUnicode tr(const char *ascii)
Ascii translation function, used to be compatible with Qt's translation tools.
Definition: DtUnicode.h:92
boost::signals2::signal< void()> signal_changed
Signal sent when Pitch has changed.
Definition: pitchEntryWidget.h:75
A class for keeping track of meta data for variables of scripted tasks.
Definition: scriptedTaskVariable.h:31
DtTaskSetVariableWidgetCreator< DtPitchEntryWidget > DtPitchEntryWidgetCreator
Definition: pitchEntryWidget.h:144
#define DT_DLL_VRFGUIDATAENTRYWIDGETS
Definition: vrfGuiDataEntryWidgets.h:23
QString myLabelText
Definition: pitchEntryWidget.h:120
Extension widget which simply contains three Pitch variable widgets to allow for reuse of existing cl...
Definition: pitchEntryWidget.h:125
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69
static makVrv::DtUnicode codeVariableType()
Definition: pitchEntryWidget.h:69
Simple line text entry widget that will allow the user to enter a Pitch value.
Definition: pitchEntryWidget.h:23
static std::string headerFile()
Definition: pitchEntryWidget.h:82
DisplayUnitType
Indicates a type of display unit.
Definition: DtUnitConverterCollection.h:36
DtPitchEntryWidget * myRangeBottom
Definition: pitchEntryWidget.h:140