VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | 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.

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

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

DtDemyDe
 
DtEntityTypeToElementDefinitionLogicmyLogic
 
DtEntityTypeMapEditorWidgetmyEditor
 
DtPersistenceToolbarWidgetmyToolbar
 
MappingType myMappingType
 
QDialogButtonBox * myEntityTypeMappingButtons
 

Member Enumeration Documentation

Enumerator
Entity 
Unit 
WeaponFire 
Detonation 
Environmental 
TacticalGraphics 
Smoke 
end_MappingType 

Constructor & Destructor Documentation

makVrv::DtEntityMappingEditorWidget::DtEntityMappingEditorWidget ( DtDe de,
QWidget *  parent,
MappingType  mappingType 
)

CTOR.

virtual makVrv::DtEntityMappingEditorWidget::~DtEntityMappingEditorWidget ( )
virtual

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::activate ( )
void makVrv::DtEntityMappingEditorWidget::deactivate ( )
virtual void makVrv::DtEntityMappingEditorWidget::checkIfModified ( )
virtual

check if the type mappings have changed since the start up

virtual DtPersistenceToolbarWidget* makVrv::DtEntityMappingEditorWidget::persistenceToolbarWidget ( )
virtual

brief return the DtPersistenceToolbarWidget of this widget

void makVrv::DtEntityMappingEditorWidget::on_validate_entityType ( QString  str)
protectedslot
void makVrv::DtEntityMappingEditorWidget::setupGui ( )
protected

Member Data Documentation

DtDe& makVrv::DtEntityMappingEditorWidget::myDe
protected
DtEntityTypeToElementDefinitionLogic* makVrv::DtEntityMappingEditorWidget::myLogic
protected
DtEntityTypeMapEditorWidget* makVrv::DtEntityMappingEditorWidget::myEditor
protected
DtPersistenceToolbarWidget* makVrv::DtEntityMappingEditorWidget::myToolbar
protected
MappingType makVrv::DtEntityMappingEditorWidget::myMappingType
protected
QDialogButtonBox* makVrv::DtEntityMappingEditorWidget::myEntityTypeMappingButtons
protected

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

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)