12 #if !defined(Q_MOC_RUN)
14 #include <QtWidgets/QWidget>
22 class DtPatchIdentifier;
39 const Qt::WindowFlags& flags = 0,
const CreationFlags& cflags = NormalMode );
45 virtual void setRankPatch(
const DtPatchIdentifier& patchId );
48 virtual DtPatchIdentifier rankPatch()
const;
50 virtual void setLabel(
const std::string& val )
override;
51 virtual void setLabel(
const QString& val )
override;
53 virtual void setToolTip(
const QString& tooltip )
override;
56 virtual bool isValid()
const override {
return true; }
58 virtual void setRange(
double bottom,
double top )
override;
65 virtual void setDefaultValue(
const std::string& value )
override;
66 virtual void setDefaultValue(
const QString& value );
70 virtual void setVariableData(
const std::string& data )
override;
73 virtual void setupFrom(
const std::vector<makVrv::DtSimEntry*>& data )
override;
76 virtual DtReaderWriter* createBoundVariable(
const std::string& variableName );
79 virtual void setupFromBoundVariable(
const DtReaderWriter* variableName );
82 virtual void setIndent(
int );
89 virtual std::string scriptedTaskVariableName()
const override;
101 return tr(
"VR-Forces Entity Manipulation").toUtf8().constData();
106 return tr(
"<vrfGuiDataEntryWidgets/rankPatchSelectionEntryWidget.h>").toUtf8().constData();
111 return tr(
"rankPatchSelection").toUtf8().constData();
121 virtual void slot_onCountryChanged();
123 virtual void slot_onPatchComboBox_currentIndexChanged(
int index );
130 virtual void initialize();
132 virtual void initializePatchList();
133 virtual void reinitializePatchList();
135 virtual void clear();
A unicode string. DtUnicode stores a UTF-16 encoded unicode string. Code Point, a Unicode character...
Definition: DtUnicode.h:33
DtTaskSetVariableWidgetCreator< DtRankPatchSelectionEntryWidget > DtRankPatchSelectionEntryWidgetCreator
Definition: rankPatchSelectionEntryWidget.h:152
This class will parse the UI file for known scripted task variable types and pull out specified scrip...
Definition: scriptedTaskVariableLayoutConverter.h:32
static std::string headerFile()
Definition: rankPatchSelectionEntryWidget.h:104
virtual bool isValid() const override
Indicates the current selection is valid.
Definition: rankPatchSelectionEntryWidget.h:56
std::string myAppearance
Definition: rankPatchSelectionEntryWidget.h:142
Definition: readerWriter.h:85
QCheckBox * myApplyImmediatelyCheckBox
Definition: rankPatchSelectionEntryWidget.h:146
QComboBox * myRankPatchComboBox
Definition: rankPatchSelectionEntryWidget.h:145
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
static std::string variableName()
Definition: rankPatchSelectionEntryWidget.h:109
Class to manage disconnection of boost connections on deletion.
Definition: DtSignalConnectionManager.h:20
#define DT_DLL_VRFGUIDATAENTRYWIDGETS
Definition: vrfGuiDataEntryWidgets.h:22
boost::signals2::signal< void(const DtPatchIdentifier &)> signal_patchSelectionChanged
Signal data values are the patch IDs for the primary and secondary patches, respectively.
Definition: rankPatchSelectionEntryWidget.h:117
QSpacerItem * myIndentationSpacer
Definition: rankPatchSelectionEntryWidget.h:144
static std::string designerGroup()
Definition: rankPatchSelectionEntryWidget.h:99
bool myInitialized
Definition: rankPatchSelectionEntryWidget.h:148
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:72
makVrv::DtDe & myDe
Definition: rankPatchSelectionEntryWidget.h:139
Widget that allows the selection of a force.
Definition: rankPatchSelectionEntryWidget.h:33
makVrv::DtSignalConnectionManager myConnections
Definition: rankPatchSelectionEntryWidget.h:140
static makVrv::DtUnicode codeVariableType()
Definition: rankPatchSelectionEntryWidget.h:94