![]() |
VR-Forces Developer's Guide
|
Widget that must be given an aerodrome code to use as a basis. Will reconstruct itself from a DtRwAerodromeSepecification.

Public Member Functions | |
| DtRunwaySelectorWidget (makVrv::DtDe &de, QWidget *parent, const Qt::WindowFlags &flags=0, const CreationFlags &cflags=NormalMode) | |
| virtual | ~DtRunwaySelectorWidget () |
| virtual void | setAirportCode (const std::string &) |
| virtual std::string | airportCode () const |
| virtual void | setRunway (const std::string &) |
| virtual std::string | runway () const |
| virtual DtReaderWriter * | createBoundVariable (const std::string &variableName) |
| virtual void | setupFromBoundVariable (const DtReaderWriter *variableName) |
| virtual DtTaskSetVariableWidgetExtensionInterface * | parameterContents (QWidget *parent, const Qt::WindowFlags &flags=0) const |
| virtual void | setPerRunway (bool) |
| bool | perRunway () const |
| virtual void | setRange (double bottom, double top) override |
| virtual void | setDefaultValue (const std::string &) override |
| virtual void | setVariableData (const QString &) override |
Public Member Functions inherited from makVrf::DtSimpleComboVariableWidget | |
| DtSimpleComboVariableWidget (makVrv::DtDe &de, QWidget *parent, const Qt::WindowFlags &flags=0, const CreationFlags &cflags=NormalMode) | |
| virtual | ~DtSimpleComboVariableWidget () |
| virtual void | setLabel (const QString &) |
| virtual QString | label () const |
| virtual int | currentIndex () const |
| virtual void | setCurrentIndex (int index) |
| virtual void | addItem (const QString &, const QVariant &data=QVariant()) |
| virtual QStringList | values () const |
| virtual void | setValues (const QStringList &) |
| virtual void | setDefaultIndex (int) |
| virtual int | defaultIndex () const |
| virtual void | setInvalidIfSelected (int) |
| virtual int | invalidIfSelected () const |
| virtual bool | isValid () const |
Public Member Functions inherited from makVrf::DtTaskSetVariableWidget | |
| DtTaskSetVariableWidget (makVrv::DtDe &de, QWidget *parent, const Qt::WindowFlags &flags=0, const CreationFlags &cflags=NormalMode) | |
| virtual | ~DtTaskSetVariableWidget () |
| virtual void | setToolTip (const QString &) |
| virtual void | setLabel (const std::string &) |
| virtual void | setVariableData (const std::string &) |
| virtual QString | variableData () const |
| virtual void | setupFrom (const std::vector< makVrv::DtSimEntry * > &data) |
| virtual void | setIsInternal (bool) |
| virtual bool | isInternal () const |
| virtual void | setTopLineVisible (bool) |
| virtual bool | topLineVisible () const |
| virtual void | createTopLine () |
| virtual void | setIndent (int) |
| virtual int | indent () const |
| virtual void | setTopLabelChecked (bool) |
| virtual bool | topLabelChecked () const |
| virtual void | setRange (const DtRange &) |
| virtual void | setRangeTop (double) |
| virtual void | setRangeTop (int) |
| virtual double | rangeTop () const |
| virtual void | setRangeBottom (double) |
| virtual void | setRangeBottom (int) |
| virtual double | rangeBottom () const |
| virtual const DtRange & | getRange () const |
| virtual void | setTopLabelIsCheckable (bool) |
| virtual bool | topLabelIsCheckable () const |
| virtual void | getDefaultSpecificTitles (QString &defaultTitle, QString &specificTitle) const |
| virtual void | setDefaultSpecificTitles (const QString &defaultTitle, const QString &specificTitle) |
| virtual void | setupDefaultSpecificFromVariableData (const DtString &var) |
| virtual std::string | scriptedTaskVariableName () const |
| virtual void | setSelection (const std::set< makVrv::DtUniqueID > &selection) |
| virtual void | setSelection (const std::vector< makVrv::DtSimEntry * > &data) |
| virtual const std::set < makVrv::DtUniqueID > & | selection () const override |
| virtual void | setDefaultValueFromStateProperty (const DtPropertyInterface &) |
Public Member Functions inherited from makVrf::DtTaskSetVariableWidgetInterface | |
| DtTaskSetVariableWidgetInterface () | |
| virtual | ~DtTaskSetVariableWidgetInterface () |
| virtual bool | guiElementOnly () const |
Static Public Member Functions | |
| static makVrv::DtUnicode | codeVariableType () |
| static std::string | designerGroup () |
| static std::string | headerFile () |
| static std::string | variableName () |
Static Public Member Functions inherited from makVrf::DtSimpleComboVariableWidget | |
| static makVrv::DtUnicode | codeVariableType () |
| static std::string | designerGroup () |
| static std::string | headerFile () |
| static std::string | variableName () |
Static Public Member Functions inherited from makVrf::DtTaskSetVariableWidget | |
| static bool | includeInQtDesigner () |
Static Public Member Functions inherited from makVrf::DtTaskSetVariableWidgetInterface | |
| static bool | canBeUsedAsWidget () |
| static void | initializeForQtDesignerExtension (makVrv::DtDe &de, QDesignerFormEditorInterface *core) |
| static bool | includeInQtDesigner () |
Protected Member Functions | |
| virtual void | updateRunways () |
| virtual void | widgetInitializedForDialog (DtScriptedTaskDialog *, const std::vector< makVrv::DtSimEntry * > &data) |
Protected Member Functions inherited from makVrf::DtSimpleComboVariableWidget | |
| virtual std::string | variableDataFromUiDesigner (const QDomElement &elem, const DtScriptedTaskVariableLayoutConverter &converter) const |
| virtual bool | isValidItemToAddToCombo (const QString &s) const |
Protected Member Functions inherited from makVrf::DtTaskSetVariableWidget | |
| virtual void | selectionChanged (const std::set< makVrv::DtUniqueID > &oldSelection) |
Protected Attributes | |
| std::string | myAirportCode |
| std::string | myRunway |
| bool | myPerRunway = false |
Protected Attributes inherited from makVrf::DtSimpleComboVariableWidget | |
| QStringList | myValues |
| int | myDefaultIndex |
| int | myInvalidIfSelected |
Protected Attributes inherited from makVrf::DtTaskSetVariableWidget | |
| makVrv::DtDe & | myDe |
| makVrv::DtSignalConnectionManager | myConnections |
| bool | myTopLabelIsCheckable |
| DtRange | myRange |
| bool | myIsInternal |
| CreationFlags | myCreationFlags |
| QString | myVariableData |
| std::set< makVrv::DtUniqueID > | mySelection |
| makVrf::DtRunwaySelectorWidget::DtRunwaySelectorWidget | ( | makVrv::DtDe & | de, |
| QWidget * | parent, | ||
| const Qt::WindowFlags & | flags = 0, |
||
| const CreationFlags & | cflags = NormalMode |
||
| ) |
|
virtual |
These methods must be implemented in order to be considered a DtTaskSetVariable that can be used as part of a scripted task Validation range. Might not be applicable to all items.
Reimplemented from makVrf::DtSimpleComboVariableWidget.
|
overridevirtual |
Default value to set in control. Equivalent to calling setSisoEnumerationToUse(int)
Reimplemented from makVrf::DtSimpleComboVariableWidget.
|
overridevirtual |
These methods must be implemented in order to be considered a DtTaskSetVariable that can be used as part of a scripted task Validation range. Might not be applicable to all items.
Reimplemented from makVrf::DtSimpleComboVariableWidget.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Creates the reader/writer variable that will be used as part of the task statement.
Reimplemented from makVrf::DtSimpleComboVariableWidget.
|
virtual |
Sets up the widget from the given reader/writer variables.
Reimplemented from makVrf::DtSimpleComboVariableWidget.
|
virtual |
If there are any, returns contents for this variable for variable extension. Default is no extension.
Reimplemented from makVrf::DtSimpleComboVariableWidget.
|
virtual |
Sets to show runways per runway, not tarmac.
|
inline |
|
inlinestatic |
References makVrv::DtUnicode::tr().
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
protectedvirtual |
|
protectedvirtual |
Called when the widget is initialized from a scripted task dialog. Default implementation is to do nothing.
Reimplemented from makVrf::DtTaskSetVariableWidgetInterface.
|
protected |
|
protected |
|
protected |