VR-Forces 4.10 Class Documentation
 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. More...

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)
 CTOR. More...
 
virtual ~DtEntityMappingEditorWidget ()
 DTOR. More...
 
virtual void warnUserOfExistingEntityType (const std::string &entityType)
 Warn the user that the entity type is already used. More...
 
virtual void askUserForEntityTypeMapping (const std::string &defaultMappingn="")
 Ask the user for an entity type mapping. More...
 
void activate ()
 
void deactivate ()
 
virtual void checkIfModified ()
 check if the type mappings have changed since the start up More...
 
virtual
DtPersistenceToolbarWidget
persistenceToolbarWidget ()
 brief return the DtPersistenceToolbarWidget of this widget More...
 

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 
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 Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)