![]() |
VR-Forces 4.10 Class Documentation
|
Logic for editing mappings from entities to cockpits. More...
Public Member Functions | |
| DtCockpitMappingEditorLogic (DtDe &de, const std::string &definitionSchema, DtEntityMappingEditorInterface &editorInterface, DtEntityTypeMapEditorInterface &entityTypeMapInterface, DtMultiMapEditorInterface &mapInterface, DtPersistenceControlsInterface &toolbarInterface, DtPage *page=0) | |
| CTOR. More... | |
| virtual | ~DtCockpitMappingEditorLogic () |
| virtual void | rebuildDefinitions () |
| DtEntityTypeMapper & | currentMapper (DtWriteSettingsLock< DtSharedCockpitSettings > &settings) |
| const DtEntityTypeMapper & | currentMapper (const DtReadSettingsLock< DtSharedCockpitSettings > &settings) const |
| virtual void | on_modelDefinitionAdded (const DtModelDefinition &definition) |
| virtual void | on_modelDefinitionToBeDestroyed (const DtModelDefinition &definition) |
| virtual void | modelDefinitionChanged (const DtSettingsChangeObject *) |
| virtual void | checkIfModified () |
| check if the type mapping have changed since the start up More... | |
Protected Member Functions | |
| void | updatePossibleValues () |
| void | on_changeFilePath () |
| Called to change the saved file path of the selected mapping to the path displayed in the dropdown box. More... | |
| void | updateSettings () |
| void | refreshPage () |
| void | reloadFileLocationBar () |
| Fills the file path dropdown bar with a list of all mappings files in the current directory. More... | |
| void | buildFiltersFromDefinitions () |
| virtual void | on_addValue (const std::string &name, const std::string &value, int index) |
| virtual void | on_changeValue (const std::string &name, const std::string &oldValue, const std::string &value, int index) |
| virtual void | on_deleteValue (const std::vector< std::string > &name, const std::vector< std::string > &value) |
| virtual void | on_renameValue (const std::string &oldName, const std::string &value, const std::string &newName) |
| virtual void | on_itemSelected (const std::string &itemName) |
| virtual void | on_import () |
| virtual void | on_merge () |
| virtual void | on_export () |
| virtual void | on_exportSelected () |
| virtual void | on_importFilePathChosen (const std::string &filePath) |
| virtual void | on_mergeFilePathChosen (const std::string &filePath) |
| virtual void | on_exportFilePathChosen (const std::string &filePath) |
| virtual void | on_exportSelectedFilePathChosen (const std::string &filePath) |
| virtual void | on_filterChanged (const DtUnicode &filter) |
| virtual void | on_lookupChanged (bool filterByType, const std::string &filter) |
| virtual void | on_resetFilters () |
| void | entityTypeMappingsRestored (const DtSettingsBackup *s) |
| void | askForNewElementDefinitionForEntityType (std::string entType) |
Protected Attributes | |
| DtDe & | myDe |
| DtSignalConnectionManager | myConnections |
| DtSharedSimulationSettingsManager & | myManager |
| DtEntityMappingEditorInterface & | myEditorInterface |
| DtEntityTypeMapEditorInterface & | myEntityTypeMapInterface |
| DtMultiMapEditorInterface & | myMapInterface |
| DtPersistenceControlsInterface & | myToolbarInterface |
| QStringList | myDefinitions |
| std::string | myDefinitionSchema |
| DtEntityType | myLookupType |
| DtSharedCockpitTypeMapper * | myMapperObject |
| DtPage * | myPage |
Logic for editing mappings from entities to cockpits.
| makVrv::DtCockpitMappingEditorLogic::DtCockpitMappingEditorLogic | ( | DtDe & | de, |
| const std::string & | definitionSchema, | ||
| DtEntityMappingEditorInterface & | editorInterface, | ||
| DtEntityTypeMapEditorInterface & | entityTypeMapInterface, | ||
| DtMultiMapEditorInterface & | mapInterface, | ||
| DtPersistenceControlsInterface & | toolbarInterface, | ||
| DtPage * | page = 0 |
||
| ) |
CTOR.
|
virtual |
|
virtual |
| DtEntityTypeMapper& makVrv::DtCockpitMappingEditorLogic::currentMapper | ( | DtWriteSettingsLock< DtSharedCockpitSettings > & | settings | ) |
| const DtEntityTypeMapper& makVrv::DtCockpitMappingEditorLogic::currentMapper | ( | const DtReadSettingsLock< DtSharedCockpitSettings > & | settings | ) | const |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
check if the type mapping have changed since the start up
|
protected |
|
protected |
Called to change the saved file path of the selected mapping to the path displayed in the dropdown box.
|
protected |
|
protected |
|
protected |
Fills the file path dropdown bar with a list of all mappings files in the current directory.
|
protected |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |