![]() |
VR-Forces 4.6.1 Class Documentation
|
A widget for editing the hla 13 entity mappings. More...

Public Types | |
| enum | MappingType { Entity, Unit, WeaponFire, Detonation, Environmental, TacticalGraphics, Smoke, end_MappingType } |
Public Member Functions | |
| DtEntityMappingEditorWidget (DtDe &de, QWidget *parent, MappingType mappingType) | |
| CTOR. | |
| virtual | ~DtEntityMappingEditorWidget () |
| DTOR. | |
| virtual void | warnUserOfExistingEntityType (const std::string &entityType) |
| Warn the user that the entity type is already used. | |
| virtual void | askUserForEntityTypeMapping (const std::string &defaultMappingn="") |
| Ask the user for an entity type mapping. | |
| void | activate () |
| void | deactivate () |
| virtual void | checkIfModified () |
| check if the type mappings have changed since the start up | |
| virtual DtPersistenceToolbarWidget * | persistenceToolbarWidget () |
| brief return the DtPersistenceToolbarWidget of this widget | |
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 |
A widget for editing the hla 13 entity mappings.
| 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 |