![]() |
VR-Forces Developer's Guide
|

Classes | |
| struct | Row |
Public Member Functions | |
| DtUiAirborneFuelConsumptionModelDataPoints (makVrv::DtDe &) | |
| virtual void | createControls (QWidget *) override |
| virtual void | setFromParameters (const std::vector< DtReaderWriter * > &parentRw) override |
| virtual void | setFromSystemParameterData (const DtSystemParameterData *data, const DtComponentSystemDefinition *) override |
| virtual void | decorateElement () override |
| virtual bool | isValid () const override |
| virtual void | setDisplayUnits (const DtString &units) override |
Public Member Functions inherited from DtUiElement | |
| DtUiElement (makVrv::DtDe &) | |
| virtual | ~DtUiElement () override |
| virtual bool | blockSignals (bool) |
| virtual void | init (QWidget *widget, QWidget *label, DtReaderWriter *originalData, DtReaderWriter *backupData, DtElementChangedCallbackFcn=boost::bind(&DtUiElement::theNullFunction, boost::placeholders::_1)) |
| virtual void | init (QWidget *widget, QWidget *label, const std::vector< DtReaderWriter * > &originalData, const std::vector< DtReaderWriter * > &backupData, DtElementChangedCallbackFcn=boost::bind(&DtUiElement::theNullFunction, boost::placeholders::_1)) |
| virtual void | init (QWidget *widget, QWidget *label, const DtEntityType &, const DtString &platformType, DtElementChangedCallbackFcn=boost::bind(&DtUiElement::theNullFunction, boost::placeholders::_1)) |
| virtual DtString | displayUnits () const |
| virtual void | setLabelText (const QString &) |
| virtual DtString | sourceUnits () const |
| virtual void | setSourceUnits (const DtString &units) |
| virtual void | objectParametersModified () |
| virtual void | connectedTo (QObject *) |
| virtual void | processUiEvent (const DtUiElementEvent &) |
| virtual void | setModelModified (DtModelSetEntry *) |
| virtual DtString | uniqueName () const |
| virtual bool | supportsSystems () const |
| virtual const DtString & | platformType () const |
| virtual void | setPlatformType (const DtString &) |
| virtual void | setObjectTypes (const std::vector< DtEntityType > &) |
| virtual void | aboutToShow () |
| const std::vector < DtReaderWriter * > & | values () const |
| const std::vector < DtReaderWriter * > & | backupValues () const |
| virtual bool | isModified () const |
| virtual void | setFromParameters (DtReaderWriter *parentRw) |
| virtual void | setFromParameters (const std::vector< DtComponentSystemDefinition * > &) |
| virtual bool | restoreFromBackup () |
| QHBoxLayout * | findLayoutThatHas (QWidget *w, QBoxLayout *layout) |
| QBoxLayout * | findUsableLayoutFor (QWidget *w) |
| const std::vector< DtEntityType > & | objectTypes () const |
| const std::vector < DtComponentSystemDefinition * > & | systems () const |
| virtual void | sendEvent (const DtUiElementEvent &) |
| virtual bool | allValuesTheSame () const |
| virtual bool | isMixedValue () const |
| virtual void | setEnabled (bool) |
| virtual bool | enabled () const |
| virtual void | setControllingCheckBox (QCheckBox *) |
| QCheckBox * | controllingCheckBox () |
| virtual void | populateParentValues (std::string elementName) |
Static Public Member Functions | |
| static DtUiAirborneFuelConsumptionModelDataPoints * | CreatorFunction (makVrv::DtDe &) |
Static Public Member Functions inherited from DtUiElement | |
| static void | registerUiTypes () |
| static DtUiElement * | createUiElement (makVrv::DtDe &, const DtString &type) |
| static bool | hasCreator (const DtString &) |
| static void | theNullFunction (DtUiElement *) |
| static UiElementFactoryMap & | elementFactory () |
| static QString | mixedText () |
| static void | setMixedText (const QString &) |
Protected Slots | |
| virtual void | valueUpdated () |
| virtual void | typeChanged (int index) |
Protected Slots inherited from DtUiElement | |
| virtual void | elementChanged () |
| virtual void | enableIfChecked () |
| virtual void | disableIfChecked () |
Protected Member Functions | |
| virtual bool | validateUnit (const DtUnit &source, const DtUnit &destination, const QString &type) const |
| virtual double | sourceToDisplayUnits (const DtUnit &source, const DtUnit &destination, double d) |
| virtual double | displayToSourceUnits (const DtUnit &source, const DtUnit &destination, double d) |
| virtual void | updateLabelTitle () override |
| virtual void | copyFromRW (const DtReaderWriter &) |
| virtual bool | copyIntoRW (DtReaderWriter &) |
| virtual void | setupRow (unsigned row) |
| virtual void | disableLineEditsFromType (int type) |
| virtual void | setBlockSignals (bool) |
| virtual void | doTranslations () |
Protected Member Functions inherited from DtUiElement | |
| virtual double | sourceToDisplayUnits (double) const |
| virtual double | displayToSourceUnits (double) const |
| virtual QString | units () const |
| virtual QString | labelTitle () const |
Additional Inherited Members | |
Public Types inherited from DtUiElement | |
| typedef boost::function < DtUiElement *(makVrv::DtDe &)> | CreatorFunction |
| typedef std::map< std::string, CreatorFunction > | UiElementFactoryMap |
Public Slots inherited from DtUiElement | |
| virtual void | toggleDisplayed (bool display) |
Signals inherited from DtUiElement | |
| void | uiEvent (const DtUiElementEvent &) |
| void | changed () |
Public Attributes inherited from DtUiElement | |
| QWidget * | myWidget |
| QWidget * | myLabel |
Static Protected Attributes inherited from DtUiElement | |
| static UiElementFactoryMap | theFactory |
| DtUiAirborneFuelConsumptionModelDataPoints::DtUiAirborneFuelConsumptionModelDataPoints | ( | makVrv::DtDe & | ) |
Constructor.
|
static |
|
overridevirtual |
If additional widgets or connections need to be made do it here. The parent is the myWidget member.
Reimplemented from DtUiElement.
|
overridevirtual |
Reimplemented from DtUiElement.
|
overridevirtual |
Sets data of this UiElement from the specified system parameter data. Sets things like sourceUnits, displayUnits, etc.
Reimplemented from DtUiElement.
|
overridevirtual |
Sets element decoration depending on the isModified state of the element. This version changes myLabel font.
Reimplemented from DtUiElement.
|
overridevirtual |
Used to enable/disable the OK button. Default returns true.
Reimplemented from DtUiElement.
|
overridevirtual |
Reimplemented from DtUiElement.
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
overrideprotectedvirtual |
Updates label title based on valid units.
Reimplemented from DtUiElement.
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |