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

Public Member Functions | |
| DtUiMultiSystemElement (makVrv::DtDe &de) | |
| virtual | ~DtUiMultiSystemElement () |
| virtual bool | isModified () const |
| virtual void | setEnabled (bool) |
Public Member Functions inherited from DtUiSystemElement | |
| DtUiSystemElement (makVrv::DtDe &) | |
| virtual | ~DtUiSystemElement () |
| virtual void | replaceSystem (const DtFilename &system) |
| virtual void | deleteSystem (const DtFilename &system) |
| virtual void | openPropertyEditWindow () |
| virtual std::vector< DtFilename > | possibleSystemFilenames (const DtFilename &filename) const |
| std::string | systemTypeToString (systemTypes t) |
Public Member Functions inherited from DtUiElement | |
| DtUiElement (makVrv::DtDe &) | |
| virtual | ~DtUiElement () |
| virtual bool | blockSignals (bool) |
| virtual void | init (QWidget *widget, QWidget *label, DtReaderWriter *originalData, DtReaderWriter *backupData, DtElementChangedCallbackFcn=boost::bind(&DtUiElement::theNullFunction, _1)) |
| virtual void | init (QWidget *widget, QWidget *label, const std::vector< DtReaderWriter * > &originalData, const std::vector< DtReaderWriter * > &backupData, DtElementChangedCallbackFcn=boost::bind(&DtUiElement::theNullFunction, _1)) |
| virtual void | init (QWidget *widget, QWidget *label, const DtObjectType &, const DtString &platformType, DtElementChangedCallbackFcn=boost::bind(&DtUiElement::theNullFunction, _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 const DtString & | platformType () const |
| virtual void | setPlatformType (const DtString &) |
| virtual void | setObjectTypes (const std::vector< DtObjectType > &) |
| virtual void | aboutToShow () |
| const std::vector < DtReaderWriter * > & | values () const |
| const std::vector < DtReaderWriter * > & | backupValues () 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< DtObjectType > & | 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 | |
| DtSystemPropertyEditDialogShdPtr | myCurrentDialog |
| QListWidget * | myList |
| QAbstractButton * | myAddButton |
| QAbstractButton * | myRemoveButton |
| QAbstractButton * | myPropertiesButton |
| QAbstractButton * | myLaunchOpdEditor |
| QAbstractButton * | myWarningButton |
| QAbstractButton * | myReplaceSystemButton |
| QAbstractButton * | myRevertButton |
Public Attributes inherited from DtUiElement | |
| QWidget * | myWidget |
| QWidget * | myLabel |
Protected Types | |
| typedef std::map < DtReaderWriter *, std::vector < DtRwVariableBindings * > > | SystemDescriptorMap |
| typedef std::map < DtReaderWriter *, std::map < DtReaderWriter *, DtRwVariableBindings * > > | BackupDescriptorMap |
Protected Slots | |
| virtual void | chooseSystemToAdd () |
| virtual void | addSystem (const DtSystemDefinitionInfo &systemDefInfo, QString) |
| virtual void | replaceSystemWithOtherSystem (const DtSystemDefinitionInfo &toReplaceWith, QString) |
| virtual void | removeSystem () |
| virtual void | onSelectionChanged () |
| virtual void | openPropertyEditWindow () |
| virtual void | dialogClosed () |
| virtual void | onRemoveMissingSystems () |
| virtual void | doneWithAdd (bool) |
| virtual void | doneWithReplace (bool) |
| virtual void | chooseSystemToReplace () |
| virtual void | onRevertButtonClicked () |
Protected Slots inherited from DtUiElement | |
| virtual void | enableIfChecked () |
| virtual void | disableIfChecked () |
Protected Member Functions | |
| virtual void | updateEnableState () |
| virtual void | setFromParameters (const std::vector< DtReaderWriter * > &parentRw) |
| virtual void | processUiEvent (const DtUiElementEvent &) |
| virtual void | createControls (QWidget *) |
| virtual void | elementChanged () |
| virtual QString | uniqueDisplayName (const QString &baseName, const DtRwString *system=0) |
| virtual DtSystemSelectionDialog * | createSystemSelectionDialog (QWidget *p) |
| virtual DtSystemReplaceDialog * | createSystemReplaceDialog (QWidget *p) |
| virtual void | dialogDone (bool) |
| virtual DtRwVariableBindings * | backupFor (const DtRwVariableBindings *, DtReaderWriter *source, int systemIndex) const |
| virtual void | updateLabelTitle () |
| virtual void | decorateElement () |
| virtual DtFilename | getSystemFilename () const |
Protected Member Functions inherited from DtUiSystemElement | |
| virtual void | findAvailableSystems () |
| virtual DtRwVariableBindings * | addSystemToParameters (const DtFilename &sysDefFilename, DtReaderWriter *system, std::string name="") |
| virtual void | removeSystemFromParameters (const DtRwVariableBindings *sysDescriptor, DtReaderWriter *system) |
| virtual DtString | availableSystemName (const DtString &baseName) |
| virtual DtSystemPropertyEditDialog * | createSystemPropertyDialog (const std::vector< DtRwVariableBindings * > &desc, const DtComponentSystemDefinition *definition, QWidget *parentWidget) |
| virtual const DtComponentSystemDefinition * | findSystemInfoForFilename (const DtFilename &filename, const DtSystemDefinitionInfoList &list, bool &exists, DtFilename *retFilename=0) const |
| virtual QList< const DtRwVariableBindings * > | systemsFor (const DtFilename &, DtRwVariableBindingsList *list) const |
| virtual void | mergeBindings (const DtRwVariableBindings *source, DtRwVariableBindings *destination) const |
| virtual DtString | uniqueName () const |
| virtual bool | supportsSystems () const |
| virtual void | addArticulatedPartsForSystem (const DtComponentSystemDefinition *systemDef, const DtString &systemName) |
| virtual void | addArticulatedPartsForActuator (const DtActuatorComponentDescriptor *actuatorDesc, const DtComponentSystemDefinition *systemDef, const DtString &systemName) |
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 DtUiSystemElement | |
| enum | systemTypes { Uninitialized, Sensor, Weapon, Other } |
Public Types inherited from DtUiElement | |
| typedef boost::function < DtUiElement *(makVrv::DtDe &)> | CreatorFunction |
| typedef std::map< std::string, CreatorFunction > | UiElementFactoryMap |
Public Slots inherited from DtUiSystemElement | |
| virtual void | launchOpdEditor () |
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 |
|
protected |
| DtUiMultiSystemElement::DtUiMultiSystemElement | ( | makVrv::DtDe & | de | ) |
Constructor.
|
virtual |
Destructor.
|
virtual |
Reimplemented from DtUiElement.
|
static |
|
virtual |
If this item is not enabled it cannot be modified.
Reimplemented from DtUiElement.
|
protectedvirtual |
|
protectedvirtual |
Reimplemented from DtUiSystemElement.
|
protectedvirtual |
Process ui event. Default does nothing.
Reimplemented from DtUiElement.
|
protectedvirtual |
If additional widgets or connections need to be made do it here. The parent is the myWidget member.
Reimplemented from DtUiSystemElement.
|
protectedvirtual |
Reimplemented from DtUiElement.
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
Reimplemented from DtUiSystemElement.
|
protectedvirtual |
Returns the backup for the system.
|
protectedvirtual |
Updates label title based on valid units.
Reimplemented from DtUiElement.
|
protectedvirtual |
Sets element decoration depending on the isModified state of the element. This version changes myLabel font.
Reimplemented from DtUiElement.
|
protectedvirtual |
Gets the system filename to edit.
Reimplemented from DtUiSystemElement.
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
| DtSystemPropertyEditDialogShdPtr DtUiMultiSystemElement::myCurrentDialog |
| QListWidget* DtUiMultiSystemElement::myList |
| QAbstractButton* DtUiMultiSystemElement::myAddButton |
| QAbstractButton* DtUiMultiSystemElement::myRemoveButton |
| QAbstractButton* DtUiMultiSystemElement::myPropertiesButton |
| QAbstractButton* DtUiMultiSystemElement::myLaunchOpdEditor |
| QAbstractButton* DtUiMultiSystemElement::myWarningButton |
| QAbstractButton* DtUiMultiSystemElement::myReplaceSystemButton |
| QAbstractButton* DtUiMultiSystemElement::myRevertButton |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |