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

Public Types | |
| enum | MappingType { Entity, Aggregate, WeaponFire, Detonation, Environmental, 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 () |
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 makVrv::DtEntityMappingEditorWidget::~DtEntityMappingEditorWidget | ( | ) | [virtual] |
DTOR.
| virtual void makVrv::DtEntityMappingEditorWidget::warnUserOfExistingEntityType | ( | const std::string & | entityType | ) | [virtual] |
Warn the user that the entity type is already used.
Implements makVrv::DtEntityMappingEditorInterface.
| virtual void makVrv::DtEntityMappingEditorWidget::askUserForEntityTypeMapping | ( | const std::string & | defaultMappingn = "" | ) | [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::on_validate_entityType | ( | QString | str | ) | [protected, slot] |
| void makVrv::DtEntityMappingEditorWidget::setupGui | ( | ) | [protected] |
DtDe& makVrv::DtEntityMappingEditorWidget::myDe [protected] |
QDialogButtonBox* makVrv::DtEntityMappingEditorWidget::myEntityTypeMappingButtons [protected] |