![]() |
VR-Forces 4.0.4 Class Documentation
|
Logic class for the DtElementEditorWidget. More...

Public Member Functions | |
| DtElementEditorLogic (DtElementDefinitionTypeManager::ElementDefinitionType type, DtDe &de, DtElementEditorInterface *iface, DtPersistenceControlsInterface *persistenceControls) | |
| CTOR. | |
| ~DtElementEditorLogic () | |
| DTOR. | |
| void | selectElement (const DtUnicode &elementName) |
| Populate the visualizer definitions for a element definition. | |
Protected Member Functions | |
| void | selectVisualizerDefinition (int index) |
| void | selectAttribute (int index, const std::string &attrName) |
| void | deselectAttribute (int index, const std::string &attrName) |
| void | refreshElementDefinitions () |
| Populate the element definitions. | |
| void | refreshVisualizerDefinitionView () |
| void | clearElementSelection () |
| Called to clear the element. | |
| void | addVisualizerDefinition () |
| void | removeVisualizerDefinition (int index) |
| void | deselectVisualizerDefinition (int index) |
| void | addElement (const DtUnicode &name) |
| void | removeElement () |
| void | renameElement (const DtUnicode &oldName, const DtUnicode &newName) |
| void | addAttributeRequested (int index) |
| void | removeAttribute (int index, const std::string &name) |
| void | removeLocalAttribute (int index, const std::string &name) |
| void | refreshAttribute (int index, const std::string &name) |
| void | refreshModelSets () |
| void | updateAttributeEditorInterface (int index, const std::string &name, DtVisualizerAttributeEditorInterface *iface) |
| void | changeModelSet (int index) |
| virtual void | on_import () |
| imports settings | |
| virtual void | on_restoreFactory () |
| restores factory settings | |
| virtual void | on_restoreStartup () |
| restores startup settings | |
| virtual void | on_export () |
| Starts export procedure by allowing user to select export file. | |
| virtual void | on_merge () |
| Starts merge procedure by allowing user to select merge file. | |
| virtual void | on_exportSelected () |
| Starts export preselected items procedure by allowing user to select export file. | |
| virtual void | on_importFilePathChosen (const std::string &filePath) |
| Replaces hierarchy with contents of file. | |
| virtual void | on_exportFilePathChosen (const std::string &filePath) |
| Saves hierarchy to file. | |
| virtual void | on_mergeFilePathChosen (const std::string &filePath) |
| Merges hierarchy from file. | |
| virtual void | on_exportSelectedFilePathChosen (const std::string &filePath) |
| Saves selected hierarchy to file. | |
Protected Attributes | |
| DtUnicode | mySelectedElement |
| unsigned int | mySelectedModelSet |
| DtDe & | myDe |
| DtSignalConnectionManager | myConnections |
| DtElementDefinitionManager & | myManager |
| DtElementEditorInterface * | myInterface |
| DtPersistenceControlsInterface * | myPersistenceControls |
Logic class for the DtElementEditorWidget.
| makVrv::DtElementEditorLogic::DtElementEditorLogic | ( | DtElementDefinitionTypeManager::ElementDefinitionType | type, |
| DtDe & | de, | ||
| DtElementEditorInterface * | iface, | ||
| DtPersistenceControlsInterface * | persistenceControls | ||
| ) |
CTOR.
| void makVrv::DtElementEditorLogic::selectElement | ( | const DtUnicode & | elementName | ) |
Populate the visualizer definitions for a element definition.
| void makVrv::DtElementEditorLogic::selectVisualizerDefinition | ( | int | index | ) | [protected] |
| void makVrv::DtElementEditorLogic::selectAttribute | ( | int | index, |
| const std::string & | attrName | ||
| ) | [protected] |
| void makVrv::DtElementEditorLogic::deselectAttribute | ( | int | index, |
| const std::string & | attrName | ||
| ) | [protected] |
| void makVrv::DtElementEditorLogic::refreshElementDefinitions | ( | ) | [protected] |
Populate the element definitions.
| void makVrv::DtElementEditorLogic::refreshVisualizerDefinitionView | ( | ) | [protected] |
| void makVrv::DtElementEditorLogic::clearElementSelection | ( | ) | [protected] |
Called to clear the element.
| void makVrv::DtElementEditorLogic::addVisualizerDefinition | ( | ) | [protected] |
| void makVrv::DtElementEditorLogic::removeVisualizerDefinition | ( | int | index | ) | [protected] |
| void makVrv::DtElementEditorLogic::deselectVisualizerDefinition | ( | int | index | ) | [protected] |
| void makVrv::DtElementEditorLogic::addElement | ( | const DtUnicode & | name | ) | [protected] |
| void makVrv::DtElementEditorLogic::removeElement | ( | ) | [protected] |
| void makVrv::DtElementEditorLogic::renameElement | ( | const DtUnicode & | oldName, |
| const DtUnicode & | newName | ||
| ) | [protected] |
| void makVrv::DtElementEditorLogic::addAttributeRequested | ( | int | index | ) | [protected] |
| void makVrv::DtElementEditorLogic::removeAttribute | ( | int | index, |
| const std::string & | name | ||
| ) | [protected] |
| void makVrv::DtElementEditorLogic::removeLocalAttribute | ( | int | index, |
| const std::string & | name | ||
| ) | [protected] |
| void makVrv::DtElementEditorLogic::refreshAttribute | ( | int | index, |
| const std::string & | name | ||
| ) | [protected] |
| void makVrv::DtElementEditorLogic::refreshModelSets | ( | ) | [protected] |
| void makVrv::DtElementEditorLogic::updateAttributeEditorInterface | ( | int | index, |
| const std::string & | name, | ||
| DtVisualizerAttributeEditorInterface * | iface | ||
| ) | [protected] |
| void makVrv::DtElementEditorLogic::changeModelSet | ( | int | index | ) | [protected] |
| virtual void makVrv::DtElementEditorLogic::on_import | ( | ) | [protected, virtual] |
imports settings
| virtual void makVrv::DtElementEditorLogic::on_restoreFactory | ( | ) | [protected, virtual] |
restores factory settings
| virtual void makVrv::DtElementEditorLogic::on_restoreStartup | ( | ) | [protected, virtual] |
restores startup settings
| virtual void makVrv::DtElementEditorLogic::on_export | ( | ) | [protected, virtual] |
Starts export procedure by allowing user to select export file.
| virtual void makVrv::DtElementEditorLogic::on_merge | ( | ) | [protected, virtual] |
Starts merge procedure by allowing user to select merge file.
| virtual void makVrv::DtElementEditorLogic::on_exportSelected | ( | ) | [protected, virtual] |
Starts export preselected items procedure by allowing user to select export file.
| virtual void makVrv::DtElementEditorLogic::on_importFilePathChosen | ( | const std::string & | filePath | ) | [protected, virtual] |
Replaces hierarchy with contents of file.
| virtual void makVrv::DtElementEditorLogic::on_exportFilePathChosen | ( | const std::string & | filePath | ) | [protected, virtual] |
Saves hierarchy to file.
| virtual void makVrv::DtElementEditorLogic::on_mergeFilePathChosen | ( | const std::string & | filePath | ) | [protected, virtual] |
Merges hierarchy from file.
| virtual void makVrv::DtElementEditorLogic::on_exportSelectedFilePathChosen | ( | const std::string & | filePath | ) | [protected, virtual] |
Saves selected hierarchy to file.
unsigned int makVrv::DtElementEditorLogic::mySelectedModelSet [protected] |
DtDe& makVrv::DtElementEditorLogic::myDe [protected] |