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

Public Types | |
| typedef std::list< DtObjectType > | DtObjectTypeList |
Public Types inherited from DtUiElement | |
| typedef boost::function < DtUiElement *(makVrv::DtDe &)> | CreatorFunction |
| typedef std::map< std::string, CreatorFunction > | UiElementFactoryMap |
Public Member Functions | |
| DtUiAggregateCompositionEditor (makVrv::DtDe &) | |
| virtual | ~DtUiAggregateCompositionEditor () |
| virtual void | createControls (QWidget *) |
| virtual bool | canMoveUp () const |
| virtual bool | canMoveDown () const |
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 DtString | uniqueName () const |
| virtual bool | supportsSystems () const |
| 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 void | setEnabled (bool) |
| 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 &) |
Protected Slots | |
| virtual void | addDialogDestroyed () |
| virtual void | hierarchySelectionChanged () |
| virtual void | editSelectedItem () |
| virtual void | addToHierarchy () |
| virtual void | replaceInHierarchy () |
| virtual void | removeFromHierarchy () |
| virtual void | editFormation () |
| virtual void | moveUp () |
| virtual void | moveDown () |
| virtual void | assignSubordinateFunction () |
| virtual void | expandItem (QTreeWidgetItem *) |
| virtual void | collapseItem (QTreeWidgetItem *) |
| virtual void | addObjectToHierarchy (const DtObjectType &) |
Protected Slots inherited from DtUiElement | |
| virtual void | enableIfChecked () |
| virtual void | disableIfChecked () |
Additional Inherited Members | |
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 |
| typedef std::list<DtObjectType> DtUiAggregateCompositionEditor::DtObjectTypeList |
| DtUiAggregateCompositionEditor::DtUiAggregateCompositionEditor | ( | makVrv::DtDe & | ) |
Constructor.
|
virtual |
Destructor.
|
static |
|
virtual |
If additional widgets or connections need to be made do it here. The parent is the myWidget member.
Reimplemented from DtUiElement.
Reimplemented in DtUiRandomizedObjectElement.
|
virtual |
|
virtual |
|
protectedvirtualslot |
|
protectedvirtualslot |
Called when the selection has changed in the hierarchy selection.
|
protectedvirtualslot |
Changes the interface to edit the item that is currently selected.
|
protectedvirtualslot |
Adds selected element to the hierarchy. If an element is selected in the hierarchy, adds it above the selected element, else appends element to hierarchy.
|
protectedvirtualslot |
Replaces the currently selected item in the hierarchy with the new one.
|
protectedvirtualslot |
Removes the selected element from the hierarchy.
Reimplemented in DtUiRandomizedObjectElement.
|
protectedvirtualslot |
Brings up a dialog to edit the formation.
|
protectedvirtualslot |
Moves the selected item up in the hierarchy.
|
protectedvirtualslot |
Moves the selected item down in the hierarchy.
|
protectedvirtualslot |
Assign a subordinate Function.
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
Reimplemented in DtUiRandomizedObjectElement.
|
protectedvirtual |
Reimplemented from DtUiElement.
|
protectedvirtual |
|
protectedvirtual |
Reimplemented in DtUiRandomizedObjectElement.
|
protectedvirtual |
Sets element decoration depending on the isModified state of the element. This version changes myLabel font.
Reimplemented from DtUiElement.
|
protectedvirtual |
Reimplemented from DtUiElement.
|
protectedvirtual |
Reimplemented from DtUiElement.
|
protectedvirtual |
Called when the model is modified. Default is no-op.
Reimplemented from DtUiElement.
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
Creates a new aggregate hierarchy list.
|
protectedvirtual |
Adds a list item to the hierarchy based on the object type. Will use the currently loaded model set to get name and icon. If no entry exists in the model set, will use the string representation of the object type.
|
protectedvirtual |
Removes the element referring to the specified entry from the hierarchy.
|
protectedvirtual |
Moves the item in the hierarchy from position from to position two.
|
protectedvirtual |
Recreates hierarchy from list box.
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
Process ui event. Default does nothing.
Reimplemented from DtUiElement.
|
protectedvirtual |
|
protectedvirtual |
Reimplemented in DtUiRandomizedObjectElement.
|
protectedvirtual |
|
protectedvirtual |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |