![]() |
VR-Forces 4.1.1 Class Documentation
|
The main widget for editing element definitions. More...

Public Slots | |
| void | slot_currentElementItemChanged (QTreeWidgetItem *current, QTreeWidgetItem *previous) |
| void | slot_currentVisualizerDefItemChanged (QTreeWidgetItem *current, QTreeWidgetItem *previous) |
| void | slot_addElementDefinition () |
| void | slot_removeElementDefinition () |
| void | slot_renameElementDefinition () |
| void | slot_addVisualizerDef () |
| void | slot_removeVisualizerDef () |
| void | slot_addAttribute () |
| void | slot_removeAttribute () |
| void | slot_removeOverrideAttribute () |
| void | slot_modelSetChanged (int index) |
| void | destroyEditors () |
Public Member Functions | |
| DtElementEditorWidget (DtElementDefinitionTypeManager::ElementDefinitionType type, DtStateVisualizer::Type visType, DtDe &de, QWidget *parent, DtPersistenceControlsInterface *persistenceToolbar) | |
| CTOR. | |
| ~DtElementEditorWidget () | |
| DTOR. | |
| virtual void | activate () |
| Activates the widget. | |
| virtual void | deactivate () |
| Deactivates the widget. | |
| virtual void | changeElementsStart () |
| Enable/Disable the remove element button. | |
| virtual void | addElement (const DtUnicode &name) |
| Enable/Disable the remove element button. | |
| virtual void | addElement (const DtUnicode &name, const DtUnicode &parentName) |
| Enable/Disable the remove element button. | |
| virtual void | removeElement (const DtUnicode &name) |
| Enable/Disable the remove element button. | |
| virtual void | changeElementsStop () |
| Enable/Disable the remove element button. | |
| virtual void | clearElements () |
| Enable/Disable the remove element button. | |
| virtual void | selectElement (const DtUnicode &name) |
| Enable/Disable the remove element button. | |
| virtual void | setModelSets (const std::vector< DtUnicode > &modelSets) |
| Enable/Disable the remove element button. | |
| virtual void | setCurrentModelSet (int index) |
| Enable/Disable the remove element button. | |
| virtual void | changeDefinitionStart () |
| Enable/Disable the remove element button. | |
| virtual void | clearDefinitions () |
| Enable/Disable the remove element button. | |
| virtual void | addDefinition (int index, const DtUnicode &name, bool inherited) |
| Enable/Disable the remove element button. | |
| virtual void | removeDefinition (int index) |
| Enable/Disable the remove element button. | |
| virtual void | changeDefinitionStop () |
| Enable/Disable the remove element button. | |
| virtual void | changeAttributeStart () |
| Enable/Disable the remove element button. | |
| virtual void | addAttribute (int defIndex, const std::string &name, const DtUnicode &value, bool inherited) |
| Enable/Disable the remove element button. | |
| virtual void | removeAttribute (int defIndex, const std::string &name) |
| Enable/Disable the remove element button. | |
| virtual void | changeAttributeStop () |
| Enable/Disable the remove element button. | |
| virtual void | selectAttribute (int defIndex, const std::string &name) |
| Enable/Disable the remove element button. | |
| virtual void | updateAttribute (int defIndex, const std::string &name, const DtUnicode &value) |
| Enable/Disable the remove element button. | |
| QTreeWidgetItem * | findAttributeItem (int defIndex, const std::string &name) |
| Enable/Disable the remove element button. | |
| virtual void | setAttributeDescription (const DtUnicode &desc) |
| Enable/Disable the remove element button. | |
| virtual void | createAttributeEditor (int defIndex, const std::string &name, const std::string &attrClass) |
| Enable/Disable the remove element button. | |
| virtual void | destroyAttributeEditor (int defIndex, const std::string &name) |
| Enable/Disable the remove element button. | |
| virtual std::string | chooseNewVisualizerDefinitionType () |
| Enable/Disable the remove element button. | |
| virtual int | chooseNewAttributeName (const std::vector< std::pair< std::string, DtUnicode > > &nameTypePairs) |
| Enable/Disable the remove element button. | |
| virtual void | setRemoveElementEnabled (bool b) |
| Enable/Disable the remove element button. | |
| virtual void | setAddVisualDefEnabled (bool b) |
| Enable/Disable the add visual defintion button. | |
| virtual void | setRemoveVisualDefEnabled (bool b) |
| Enable/Disable the remove visual definition button. | |
| virtual void | setAddAttributeEnabled (bool b) |
| Enable/Disable the add attribute button. | |
| virtual void | setRemoveAttributeEnabled (bool b) |
| Enable/Disable the remove attribute button. | |
| virtual void | showAddedElements (std::vector< DtUnicode > &addedNames, std::vector< DtUnicode > &skippedNames) |
| Display a list of added element names. | |
Public Member Functions inherited from makVrv::DtElementEditorInterface | |
| DtElementEditorInterface () | |
| CTOR. | |
| virtual | ~DtElementEditorInterface () |
| DTOR. | |
Protected Member Functions | |
| void | setupGui () |
| QString | nameOfSelectedElement () const |
| Get the name of the selected element. | |
| int | indexOfSelectedVisualizer () |
| QString | nameOfSelectedAttribute () const |
| Get the name of the selected attribute. | |
Additional Inherited Members | |
Public Attributes inherited from makVrv::DtElementEditorInterface | |
| boost::signal< void(const DtUnicode &)> | signal_addElement |
| boost::signal< void()> | signal_removeElement |
| boost::signal< void(const DtUnicode &, const DtUnicode &)> | signal_renameElement |
| boost::signal< void(const DtUnicode &)> | signal_elementSelected |
| boost::signal< void(const DtUnicode &)> | signal_elementDeselected |
| boost::signal< void()> | signal_noElementSelected |
| boost::signal< void(int index)> | signal_modelSetChanged |
| boost::signal< void(int index)> | signal_visualizerDefSelected |
| boost::signal< void(int index)> | signal_visualizerDefDeselected |
| boost::signal< void(int index, const std::string &)> | signal_attributeSelected |
| boost::signal< void(int index, const std::string &)> | signal_attributeDeselected |
| boost::signal< void()> | signal_noVisualizerOrAttributeSelected |
| boost::signal< void()> | signal_addVisualizer |
| boost::signal< void(int index)> | signal_removeVisualizer |
| boost::signal< void(int index)> | signal_addAttribute |
| boost::signal< void(int index, const std::string &)> | signal_removeAttribute |
| boost::signal< void(int index, const std::string &)> | signal_removeLocalAttribute |
| boost::signal< void(int index, const std::string &, DtVisualizerAttributeEditorInterface *iface)> | signal_attributeEditorCreated |
The main widget for editing element definitions.
| makVrv::DtElementEditorWidget::DtElementEditorWidget | ( | DtElementDefinitionTypeManager::ElementDefinitionType | type, |
| DtStateVisualizer::Type | visType, | ||
| DtDe & | de, | ||
| QWidget * | parent, | ||
| DtPersistenceControlsInterface * | persistenceToolbar | ||
| ) |
CTOR.
| makVrv::DtElementEditorWidget::~DtElementEditorWidget | ( | ) |
DTOR.
|
virtual |
Activates the widget.
|
virtual |
Deactivates the widget.
|
virtual |
Enable/Disable the remove element button.
Implements makVrv::DtElementEditorInterface.
|
virtual |
Enable/Disable the remove element button.
Implements makVrv::DtElementEditorInterface.
|
virtual |
Enable/Disable the remove element button.
Implements makVrv::DtElementEditorInterface.
|
virtual |
Enable/Disable the remove element button.
Implements makVrv::DtElementEditorInterface.
|
virtual |
Enable/Disable the remove element button.
Implements makVrv::DtElementEditorInterface.
|
virtual |
Enable/Disable the remove element button.
Implements makVrv::DtElementEditorInterface.
|
virtual |
Enable/Disable the remove element button.
Implements makVrv::DtElementEditorInterface.
|
virtual |
Enable/Disable the remove element button.
Implements makVrv::DtElementEditorInterface.
|
virtual |
Enable/Disable the remove element button.
Implements makVrv::DtElementEditorInterface.
|
virtual |
Enable/Disable the remove element button.
Implements makVrv::DtElementEditorInterface.
|
virtual |
Enable/Disable the remove element button.
Implements makVrv::DtElementEditorInterface.
|
virtual |
Enable/Disable the remove element button.
Implements makVrv::DtElementEditorInterface.
|
virtual |
Enable/Disable the remove element button.
Implements makVrv::DtElementEditorInterface.
|
virtual |
Enable/Disable the remove element button.
Implements makVrv::DtElementEditorInterface.
|
virtual |
Enable/Disable the remove element button.
Implements makVrv::DtElementEditorInterface.
|
virtual |
Enable/Disable the remove element button.
Implements makVrv::DtElementEditorInterface.
|
virtual |
Enable/Disable the remove element button.
Implements makVrv::DtElementEditorInterface.
|
virtual |
Enable/Disable the remove element button.
Implements makVrv::DtElementEditorInterface.
|
virtual |
Enable/Disable the remove element button.
Implements makVrv::DtElementEditorInterface.
|
virtual |
Enable/Disable the remove element button.
Implements makVrv::DtElementEditorInterface.
| QTreeWidgetItem* makVrv::DtElementEditorWidget::findAttributeItem | ( | int | defIndex, |
| const std::string & | name | ||
| ) |
Enable/Disable the remove element button.
|
virtual |
Enable/Disable the remove element button.
Implements makVrv::DtElementEditorInterface.
|
virtual |
Enable/Disable the remove element button.
Implements makVrv::DtElementEditorInterface.
|
virtual |
Enable/Disable the remove element button.
Implements makVrv::DtElementEditorInterface.
|
virtual |
Enable/Disable the remove element button.
Implements makVrv::DtElementEditorInterface.
|
virtual |
Enable/Disable the remove element button.
Implements makVrv::DtElementEditorInterface.
|
virtual |
Enable/Disable the remove element button.
Implements makVrv::DtElementEditorInterface.
|
virtual |
Enable/Disable the add visual defintion button.
Implements makVrv::DtElementEditorInterface.
|
virtual |
Enable/Disable the remove visual definition button.
Implements makVrv::DtElementEditorInterface.
|
virtual |
Enable/Disable the add attribute button.
Implements makVrv::DtElementEditorInterface.
|
virtual |
Enable/Disable the remove attribute button.
Implements makVrv::DtElementEditorInterface.
|
virtual |
Display a list of added element names.
Implements makVrv::DtElementEditorInterface.
|
protected |
|
protected |
Get the name of the selected element.
If an element is not selected returns empty string.
|
protected |
|
protected |
Get the name of the selected attribute.
If an attribute is not selected returns empty string.
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |