![]() |
VR-Forces 4.0.4 Class Documentation
|

Public Types | |
| typedef std::list< DtObjectType > | DtObjectTypeList |
Public Member Functions | |
| DtUiAggregateCompositionEditor (const DtString &name, DtReaderWriterRegistry *const parentRegistry=NULL) | |
| Constructor. | |
| virtual | ~DtUiAggregateCompositionEditor () |
| Destructor. | |
| DtUiAggregateCompositionEditor (const DtUiAggregateCompositionEditor &orig) | |
| Copy constructor. | |
| DtUiAggregateCompositionEditor & | operator= (const DtUiAggregateCompositionEditor &orig) |
| Assignment operator. | |
| virtual QWidget * | createLabelWidget (QWidget *parent) |
| Create and return the label widget for this element. | |
| virtual QWidget * | createControls (QWidget *) |
| Creates and returns the non-label part of the element. | |
| virtual bool | canMoveUp () const |
| virtual bool | canMoveDown () const |
Protected Member Functions | |
| virtual DtUiElement * | clone () |
| virtual void | decorateElement () |
| Sets element decoration depending on the isModified state of the element. | |
| virtual void | setFromParameters (DtReaderWriter *parentRw) |
| virtual void | elementChanged () |
| virtual void | setModelModified (DtModelSetEntry *) |
| Called when the model is modified. Default is no-op. | |
| virtual bool | createHierarchy (DtVrfSubObjectParameterList *, QTreeWidgetItem *parent, DtObjectTypeList ancestorList=DtObjectTypeList()) |
| virtual bool | createHierarchy (DtVrfSubObjectParameterEntry *, QTreeWidgetItem *parent, DtObjectTypeList ancestorList=DtObjectTypeList()) |
| virtual DtFormationHierarchyView * | createHierarchy (QWidget *parent) const |
| Creates a new aggregate hierarchy list. | |
| virtual QTreeWidgetItem * | addHierarchyItem (const DtObjectType &) const |
| Adds a list item to the hierarchy based on the object type. | |
| virtual void | hierarchySelectionChanged () |
| Called when the selection has changed in the hierarchy selection. | |
| virtual void | addToHierarchy () |
| Adds selected element to the hierarchy. | |
| virtual void | replaceInHierarchy () |
| Replaces the currently selected item in the hierarchy with the new one. | |
| virtual void | removeFromHierarchy () |
| Removes the selected element from the hierarchy. | |
| virtual void | removeFromHierarchy (DtVrfSubObjectParameterEntry *entry) |
| Removes the element referring to the specified entry from the hierarchy. | |
| virtual void | moveUp () |
| Moves the selected item up in the hierarchy. | |
| virtual void | moveDown () |
| Moves the selected item down in the hierarchy. | |
| virtual void | moveInHierarchy (int iFrom, int iTo) |
| Moves the item in the hierarchy from position from to position two. | |
| virtual void | resetHierarchyFromList () |
| Recreates hierarchy from list box. | |
| virtual void | editSelectedItem () |
| Changes the interface to edit the item that is currently selected. | |
| virtual void | expandItem (QTreeWidgetItem *) |
| virtual void | collapseItem (QTreeWidgetItem *) |
| virtual void | sendEvent (DtUiElementEvent::DtUiElementEventTypes type, QTreeWidgetItem *i) |
| virtual void | sendEvent (DtUiElementEvent::DtUiElementEventTypes type, const QList< QTreeWidgetItem * > &i) |
| virtual void | processUiEvent (const DtUiElementEvent &e) |
| Process ui event. Default does nothing. | |
| virtual void | updateButtons () |
| virtual void | addObjectToHierarchy (const DtObjectType &) |
| virtual void | replaceObjectInHierarchy (const DtObjectType &) |
Protected Attributes | |
| QPushButton * | myAddToHierarchy |
| QPushButton * | myRemoveFromHierarchy |
| QPushButton * | myReplaceInHierarchy |
| DtFormationHierarchyView * | myHierarchy |
| QPushButton * | myMoveUp |
| QPushButton * | myMoveDown |
| QGroupBox * | myGroupBox |
| DtUiAggregateCompositionSignalHandler | myAggregateSignalHandler |
| DtModelSetEntry * | mySelectedModel |
| DtAddObjectToHierarchy * | myAddToHierarchyDialog |
| DtObjectType | myObjectType |
Friends | |
| class | DtUiAggregateCompositionSignalHandler |
| typedef std::list<DtObjectType> DtUiAggregateCompositionEditor::DtObjectTypeList |
| DtUiAggregateCompositionEditor::DtUiAggregateCompositionEditor | ( | const DtString & | name, |
| DtReaderWriterRegistry *const | parentRegistry = NULL |
||
| ) |
Constructor.
| virtual DtUiAggregateCompositionEditor::~DtUiAggregateCompositionEditor | ( | ) | [virtual] |
Destructor.
| DtUiAggregateCompositionEditor::DtUiAggregateCompositionEditor | ( | const DtUiAggregateCompositionEditor & | orig | ) |
Copy constructor.
| DtUiAggregateCompositionEditor& DtUiAggregateCompositionEditor::operator= | ( | const DtUiAggregateCompositionEditor & | orig | ) |
Assignment operator.
| virtual QWidget* DtUiAggregateCompositionEditor::createLabelWidget | ( | QWidget * | parent | ) | [inline, virtual] |
Create and return the label widget for this element.
May return NULL if not special label element is needed.
Reimplemented from DtUiElement.
| virtual QWidget* DtUiAggregateCompositionEditor::createControls | ( | QWidget * | parent | ) | [virtual] |
Creates and returns the non-label part of the element.
Reimplemented from DtUiElement.
| virtual bool DtUiAggregateCompositionEditor::canMoveUp | ( | ) | const [virtual] |
| virtual bool DtUiAggregateCompositionEditor::canMoveDown | ( | ) | const [virtual] |
| virtual DtUiElement* DtUiAggregateCompositionEditor::clone | ( | ) | [protected, virtual] |
Implements DtUiElement.
| virtual void DtUiAggregateCompositionEditor::decorateElement | ( | ) | [protected, virtual] |
Sets element decoration depending on the isModified state of the element.
This version changes myLabel font.
Reimplemented from DtUiElement.
| virtual void DtUiAggregateCompositionEditor::setFromParameters | ( | DtReaderWriter * | parentRw | ) | [protected, virtual] |
Reimplemented from DtUiElement.
| virtual void DtUiAggregateCompositionEditor::elementChanged | ( | ) | [protected, virtual] |
Reimplemented from DtUiElement.
| virtual void DtUiAggregateCompositionEditor::setModelModified | ( | DtModelSetEntry * | ) | [protected, virtual] |
Called when the model is modified. Default is no-op.
Reimplemented from DtUiElement.
| virtual bool DtUiAggregateCompositionEditor::createHierarchy | ( | DtVrfSubObjectParameterList * | , |
| QTreeWidgetItem * | parent, | ||
| DtObjectTypeList | ancestorList = DtObjectTypeList() |
||
| ) | [protected, virtual] |
| virtual bool DtUiAggregateCompositionEditor::createHierarchy | ( | DtVrfSubObjectParameterEntry * | , |
| QTreeWidgetItem * | parent, | ||
| DtObjectTypeList | ancestorList = DtObjectTypeList() |
||
| ) | [protected, virtual] |
| virtual DtFormationHierarchyView* DtUiAggregateCompositionEditor::createHierarchy | ( | QWidget * | parent | ) | const [protected, virtual] |
Creates a new aggregate hierarchy list.
| virtual QTreeWidgetItem* DtUiAggregateCompositionEditor::addHierarchyItem | ( | const DtObjectType & | ) | const [protected, virtual] |
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
| virtual void DtUiAggregateCompositionEditor::hierarchySelectionChanged | ( | ) | [protected, virtual] |
Called when the selection has changed in the hierarchy selection.
| virtual void DtUiAggregateCompositionEditor::addToHierarchy | ( | ) | [protected, virtual] |
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
| virtual void DtUiAggregateCompositionEditor::replaceInHierarchy | ( | ) | [protected, virtual] |
Replaces the currently selected item in the hierarchy with the new one.
| virtual void DtUiAggregateCompositionEditor::removeFromHierarchy | ( | ) | [protected, virtual] |
Removes the selected element from the hierarchy.
| virtual void DtUiAggregateCompositionEditor::removeFromHierarchy | ( | DtVrfSubObjectParameterEntry * | entry | ) | [protected, virtual] |
Removes the element referring to the specified entry from the hierarchy.
| virtual void DtUiAggregateCompositionEditor::moveUp | ( | ) | [protected, virtual] |
Moves the selected item up in the hierarchy.
| virtual void DtUiAggregateCompositionEditor::moveDown | ( | ) | [protected, virtual] |
Moves the selected item down in the hierarchy.
| virtual void DtUiAggregateCompositionEditor::moveInHierarchy | ( | int | iFrom, |
| int | iTo | ||
| ) | [protected, virtual] |
Moves the item in the hierarchy from position from to position two.
| virtual void DtUiAggregateCompositionEditor::resetHierarchyFromList | ( | ) | [protected, virtual] |
Recreates hierarchy from list box.
| virtual void DtUiAggregateCompositionEditor::editSelectedItem | ( | ) | [protected, virtual] |
Changes the interface to edit the item that is currently selected.
| virtual void DtUiAggregateCompositionEditor::expandItem | ( | QTreeWidgetItem * | ) | [protected, virtual] |
| virtual void DtUiAggregateCompositionEditor::collapseItem | ( | QTreeWidgetItem * | ) | [protected, virtual] |
| virtual void DtUiAggregateCompositionEditor::sendEvent | ( | DtUiElementEvent::DtUiElementEventTypes | type, |
| QTreeWidgetItem * | i | ||
| ) | [protected, virtual] |
| virtual void DtUiAggregateCompositionEditor::sendEvent | ( | DtUiElementEvent::DtUiElementEventTypes | type, |
| const QList< QTreeWidgetItem * > & | i | ||
| ) | [protected, virtual] |
| virtual void DtUiAggregateCompositionEditor::processUiEvent | ( | const DtUiElementEvent & | ) | [protected, virtual] |
Process ui event. Default does nothing.
Reimplemented from DtUiElement.
| virtual void DtUiAggregateCompositionEditor::updateButtons | ( | ) | [protected, virtual] |
| virtual void DtUiAggregateCompositionEditor::addObjectToHierarchy | ( | const DtObjectType & | ) | [protected, virtual] |
| virtual void DtUiAggregateCompositionEditor::replaceObjectInHierarchy | ( | const DtObjectType & | ) | [protected, virtual] |
friend class DtUiAggregateCompositionSignalHandler [friend] |
QPushButton* DtUiAggregateCompositionEditor::myMoveUp [protected] |
QPushButton* DtUiAggregateCompositionEditor::myMoveDown [protected] |
QGroupBox* DtUiAggregateCompositionEditor::myGroupBox [protected] |
DtUiAggregateCompositionSignalHandler DtUiAggregateCompositionEditor::myAggregateSignalHandler [protected] |