11 #include <boost/signals2.hpp>
17 class QDoubleValidator;
35 virtual void setLabel(
const QString&)
override;
36 virtual QString label()
const override;
42 virtual void setRange(
double bottom,
double top)
override;
45 virtual void setDefaultValue(
const std::string&)
override;
50 virtual double pitch()
const;
53 virtual void setPitch(
double);
56 virtual DtReaderWriter* createBoundVariable(
const std::string& variableName)
override;
59 virtual void setupFromBoundVariable(
const DtReaderWriter* variableName)
override;
60 virtual void setupFrom(
const std::set<makVrv::DtUniqueID>& data)
override;
65 QWidget* parent,
const Qt::WindowFlags& flags = 0)
const override;
77 return tr(
"VR-Forces Entity Manipulation").toUtf8().constData();
82 return tr(
"<vrfGuiDataEntryWidgets/PitchEntryWidget.h>").toUtf8().constData();
87 return tr(
"Pitch").toUtf8().constData();
91 virtual void onPitchChanged();
106 virtual void refreshLabels();
109 virtual void selectionChanged(
const std::set<makVrv::DtUniqueID>& oldSelection)
override;
112 virtual void updateDecimalsDisplay()
override;
116 virtual void setRangeTop(
double)
override;
117 virtual void setRangeBottom(
double)
override;
119 virtual double rangeTop()
const override;
120 virtual double rangeBottom()
const override;
139 virtual void setReadOnly(
bool)
override;
QLabel * myInitializeFromStatePropertyLabel
Definition: pitchEntryWidget.h:144
A unicode string. DtUnicode stores a UTF-16 encoded unicode string. Code Point, a Unicode character...
Definition: DtUnicode.h:33
DtPitchEntryWidget * myRangeTop
Definition: pitchEntryWidget.h:147
QCheckBox * myInitializeFromStatePropertyEnabled
Definition: pitchEntryWidget.h:143
Definition: readerWriter.h:85
DtPitchEntryWidget * myDefaultValue
Definition: pitchEntryWidget.h:142
Contains the DtUnitConverterCollection class declaration.
static std::string designerGroup()
Definition: pitchEntryWidget.h:75
static std::string variableName()
Definition: pitchEntryWidget.h:85
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
boost::signals2::signal< void()> signal_changed
Signal sent when Pitch has changed.
Definition: pitchEntryWidget.h:73
A class for keeping track of meta data for variables of scripted tasks. The information is currently ...
Definition: scriptedTaskVariable.h:34
DtTaskSetVariableWidgetCreator< DtPitchEntryWidget > DtPitchEntryWidgetCreator
Definition: pitchEntryWidget.h:150
#define DT_DLL_VRFGUIDATAENTRYWIDGETS
Definition: vrfGuiDataEntryWidgets.h:22
QLineEdit * myInitializeFromStateProperty
Definition: pitchEntryWidget.h:145
QString myLabelText
Definition: pitchEntryWidget.h:123
Extension widget which simply contains three Pitch variable widgets to allow for reuse of existing cl...
Definition: pitchEntryWidget.h:128
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
static makVrv::DtUnicode codeVariableType()
Definition: pitchEntryWidget.h:67
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:80
DtPitchEntryWidget * myRangeBottom
Definition: pitchEntryWidget.h:146