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

Public Member Functions | |
| DtUiPropertiesTable (makVrv::DtDe &) | |
| virtual | ~DtUiPropertiesTable () override |
| virtual void | setEnabled (bool) 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 | setDisplayUnits (const DtString &units) |
| virtual void | setLabelText (const QString &) |
| virtual DtString | sourceUnits () const |
| virtual void | setSourceUnits (const DtString &units) |
| virtual void | setFromSystemParameterData (const DtSystemParameterData *data, const DtComponentSystemDefinition *) |
| virtual void | objectParametersModified () |
| virtual void | connectedTo (QObject *) |
| 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 bool | isValid () 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 bool | enabled () const |
| virtual void | setControllingCheckBox (QCheckBox *) |
| QCheckBox * | controllingCheckBox () |
| virtual void | populateParentValues (std::string elementName) |
Static Public Member Functions | |
| static DtUiElement * | 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 &) |
Public Attributes | |
| DtUiPropertiesTableWidget * | myTableWidget |
| QToolButton * | myAdd |
| QToolButton * | myRemove |
| QVBoxLayout * | myLayout |
| QHBoxLayout * | myButtonLayout |
| bool | myInitializing |
| QWidget * | myContainerCanvas |
| QToolButton * | myAddContainer |
| QToolButton * | myRemoveContainer |
| QToolButton * | myEditContainer |
| QLabel * | myContainerLabel |
| QHBoxLayout * | myContainerLayout |
| QComboBox * | myContainedItems |
| QString | myContainedLabel |
| QLabel * | myMapLabel |
Public Attributes inherited from DtUiElement | |
| QWidget * | myWidget |
| QWidget * | myLabel |
Protected Types | |
| typedef std::map < DtUiTableWidgetItem *, DtReaderWriter * > | TableWidgetItemMap |
Protected Slots | |
| virtual void | itemChanged (QTableWidgetItem *) |
| virtual void | addRow () |
| virtual void | removeRow () |
| virtual void | itemSelectionChanged () |
| virtual void | valueComboChanged () |
| virtual void | primaryChanged () |
| virtual void | addNewContainerItem () |
| virtual void | editContainerItem () |
| virtual void | removeContainerItem () |
| virtual void | containedItemSelected () |
Protected Slots inherited from DtUiElement | |
| virtual void | enableIfChecked () |
| virtual void | disableIfChecked () |
Protected Member Functions | |
| virtual void | setFromParameters (const std::vector< DtReaderWriter * > &parentRw) override |
| virtual void | createControls (QWidget *widget) override |
| virtual void | processUiEvent (const DtUiElementEvent &e) override |
| virtual void | columnHeadersFrom (const DtPropertyInterface *prototype, QStringList &columns) const |
| virtual QString | columnTitleFor (const QString &) const |
| virtual void | fillInAndMapRwItemToTableItems (int row, int &colStart, DtReaderWriter *) |
| virtual const DtReaderWriter * | readerWriterFromPrototype (const DtReaderWriter *prototype, int col) const |
| virtual void | flatten (const DtReaderWriter *prototype, std::vector< const DtReaderWriter * > &list) const |
| virtual void | tableItemCreated (DtUiTableWidgetItem *, int row, int col) |
| virtual void | itemRemoved (DtUiTableWidgetItem *) |
| virtual void | updateEnableStatus () |
| virtual QStringList | convertToTitles (const QStringList &cols) const |
| virtual bool | canHavePrimary () const |
| virtual void | addPrimaryCheckBox (int row, int col) |
| virtual DtString | currentPrimary () const |
| virtual DtString | keyFor (int col) const |
| virtual void | updatePrimaryData () |
| virtual void | setCurrentPrimary (const DtString &, bool, bool updateData=true) |
| virtual void | elementChanged () override |
| virtual void | clearPrimaryData () |
| virtual void | setPrimaryDataFrom (int) |
| virtual QCheckBox * | primaryCheckBox (int) const |
| virtual void | setEquipmentAvailable (const DtString &, bool) |
| virtual void | addPrimaryEntry (DtReaderWriter *rw) |
| virtual void | fixRowTitle (int row=-1) |
| virtual bool | initForPossibleMultiMap (DtRwPropertiesMap *) |
| virtual QString | getContainedName (const QString &="") const |
| virtual void | fillInTableFromSelection (DtReaderWriter *) |
| virtual void | addContainedItems (DtReaderWriter *) |
| virtual void | updateAddButton () |
| virtual void | removeRow (int) |
| virtual void | decorateElement () override |
Protected Member Functions inherited from DtUiElement | |
| virtual double | sourceToDisplayUnits (double) const |
| virtual double | displayToSourceUnits (double) const |
| virtual QString | units () const |
| virtual void | updateLabelTitle () |
| virtual QString | labelTitle () const |
Protected Attributes | |
| TableWidgetItemMap | myTableWidgetItemMap |
| DtRwPropertiesList * | myPropertyTable |
| bool | myRowsAsColumns |
| bool | myIsMultiMap |
| DtPropertyInterface * | myPrototype |
| DtRwPropertiesList * | myModifiedVariable |
| DtReaderWriter * | mySelectedVariable |
Protected Attributes inherited from DtUiElement | |
| DtString | myDisplayUnits |
| DtString | mySourceUnits |
| std::vector< DtReaderWriter * > | myValues |
| std::vector< DtReaderWriter * > | myBackupValues |
| DtReaderWriter * | myParentValue |
| bool | myIsNew |
| DtElementChangedCallbackFcn | myElementChangedCallbackFunction |
| DtUnit | mySource |
| DtUnit | myDestination |
| makVrv::DtDe & | myDe |
| DtString | myPlatformType |
| std::vector< DtEntityType > | myObjectTypes |
| std::vector < DtComponentSystemDefinition * > | mySystems |
| const DtComponentSystemDefinition * | mySystemDefinition |
| bool | myEnabled |
| std::vector< QObject * > | myConnectedTo |
| int | myUniqueId |
| QCheckBox * | myControllingCheckBox |
| QToolButton * | myRevertToParentButton |
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 () |
Static Protected Attributes inherited from DtUiElement | |
| static UiElementFactoryMap | theFactory |
|
protected |
| DtUiPropertiesTable::DtUiPropertiesTable | ( | makVrv::DtDe & | ) |
Constructor.
|
overridevirtual |
Destructor.
|
static |
|
overridevirtual |
If this item is not enabled it cannot be modified.
Reimplemented from DtUiElement.
|
overrideprotectedvirtual |
Reimplemented from DtUiElement.
Reimplemented in DtUiAggregateAssembliesElement, and DtUiAggregateLoadoutsElement.
|
overrideprotectedvirtual |
If any additional controls or initialization needs to be done, it is done here.
Reimplemented from DtUiElement.
|
overrideprotectedvirtual |
Process ui event. Default does nothing.
Reimplemented from DtUiElement.
Reimplemented in DtUiAggregateLoadoutsElement.
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
Reimplemented in DtUiAggregateElement.
|
protectedvirtual |
Reimplemented in DtUiAggregateElement.
|
protectedvirtual |
Reimplemented in DtUiAggregateLoadoutsElement.
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
overrideprotectedvirtual |
Reimplemented from DtUiElement.
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
Reimplemented in DtUiAggregateLoadoutsElement.
|
protectedvirtual |
|
protectedvirtual |
Reimplemented in DtUiAggregateElement, and DtUiAggregateLoadoutsElement.
|
protectedvirtual |
|
protectedvirtual |
Reimplemented in DtUiAggregateElement.
|
protectedvirtual |
Reimplemented in DtUiAggregateAssembliesElement.
|
overrideprotectedvirtual |
Sets element decoration depending on the isModified state of the element. This version changes myLabel font.
Reimplemented from DtUiElement.
|
protectedvirtualslot |
|
protectedvirtualslot |
Reimplemented in DtUiAggregateAssembliesElement.
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
Reimplemented in DtUiAggregateLoadoutsElement.
| DtUiPropertiesTableWidget* DtUiPropertiesTable::myTableWidget |
| QToolButton* DtUiPropertiesTable::myAdd |
| QToolButton* DtUiPropertiesTable::myRemove |
| QVBoxLayout* DtUiPropertiesTable::myLayout |
| QHBoxLayout* DtUiPropertiesTable::myButtonLayout |
| bool DtUiPropertiesTable::myInitializing |
| QWidget* DtUiPropertiesTable::myContainerCanvas |
Currently only designed for a single map containing a single map, nothing fancy like a map possibly containing multiple maps within maps, so, something like: (DtRwMap Loadouts DtRwString (DtRwMap Loadout-Items DtRwString (DtRwInt Count) ) )
Not
(DtRwMap Loadouts DtRwString (DtRwMap Loadout-Items DtRwString (DtRwMap Inner-Load-Outs DtRwString (DtRwInt Count) ) ) )
| QToolButton* DtUiPropertiesTable::myAddContainer |
| QToolButton* DtUiPropertiesTable::myRemoveContainer |
| QToolButton* DtUiPropertiesTable::myEditContainer |
| QLabel* DtUiPropertiesTable::myContainerLabel |
| QHBoxLayout* DtUiPropertiesTable::myContainerLayout |
| QComboBox* DtUiPropertiesTable::myContainedItems |
| QString DtUiPropertiesTable::myContainedLabel |
| QLabel* DtUiPropertiesTable::myMapLabel |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |