![]() |
VR-Forces Developer's Guide
|
A widget for editing the hla 13 entity mappings.

Public Types | |
| enum | MappingType { Entity, Unit, WeaponFire, Detonation, Environmental, TacticalGraphics, Smoke, end_MappingType } |
Public Member Functions | |
| DtEntityMappingEditorWidget (DtDe &de, QWidget *parent, MappingType mappingType) | |
| virtual | ~DtEntityMappingEditorWidget () |
| virtual void | warnUserOfExistingEntityType (const std::string &entityType) |
| virtual void | askUserForEntityTypeMapping (const std::string &defaultMappingn="") |
| void | activate () |
| void | deactivate () |
| virtual void | checkIfModified () |
| virtual DtPersistenceToolbarWidget * | persistenceToolbarWidget () |
Protected Slots | |
| void | on_validate_entityType (QString str) |
Protected Member Functions | |
| void | setupGui () |
Protected Attributes | |
| DtDe & | myDe |
| DtEntityTypeToElementDefinitionLogic * | myLogic |
| DtEntityTypeMapEditorWidget * | myEditor |
| DtPersistenceToolbarWidget * | myToolbar |
| MappingType | myMappingType |
| QDialogButtonBox * | myEntityTypeMappingButtons |
| makVrv::DtEntityMappingEditorWidget::DtEntityMappingEditorWidget | ( | DtDe & | de, |
| QWidget * | parent, | ||
| MappingType | mappingType | ||
| ) |
CTOR.
|
virtual |
DTOR.
|
virtual |
Warn the user that the entity type is already used.
Implements makVrv::DtEntityMappingEditorInterface.
|
virtual |
Ask the user for an entity type mapping. If default mapping is not empty, that string will be used initialliy in the dialog, else the currently selected entity type.
Implements makVrv::DtEntityMappingEditorInterface.
| void makVrv::DtEntityMappingEditorWidget::activate | ( | ) |
| void makVrv::DtEntityMappingEditorWidget::deactivate | ( | ) |
|
virtual |
check if the type mappings have changed since the start up
|
virtual |
brief return the DtPersistenceToolbarWidget of this widget
|
protectedslot |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |