VR-Forces 4.0.4 Class Documentation
Public Types | Public Member Functions | Protected Slots | Protected Member Functions | Protected Attributes
makVrv::DtEntityMappingEditorWidget Class Reference

A widget for editing the hla 13 entity mappings. More...

Inheritance diagram for makVrv::DtEntityMappingEditorWidget:
Inheritance graph
[legend]

List of all members.

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

DtDemyDe
DtEntityTypeToElementDefinitionLogicmyLogic
DtEntityTypeMapEditorWidgetmyEditor
DtPersistenceToolbarWidgetmyToolbar
MappingType myMappingType
QDialogButtonBox * myEntityTypeMappingButtons

Detailed Description

A widget for editing the hla 13 entity mappings.


Member Enumeration Documentation

Enumerator:
Entity 
Aggregate 
WeaponFire 
Detonation 
Environmental 
end_MappingType 

Constructor & Destructor Documentation

CTOR.

DTOR.


Member Function Documentation

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]

Member Data Documentation


The documentation for this class was generated from the following file:

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)