VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtEntityMappingEditorWidget.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2008 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 /******************************************************************************
6 ** $RCSfile: DtEntityMappingEditorWidget.h,v $ $Revision: 1.10 $ $State: Exp $
7 ******************************************************************************/
8 
12 
13 #ifndef DtEntityMappingEditorWidget_H_
14 #define DtEntityMappingEditorWidget_H_
15 
16 #include <vrvVrlQt/vrvVrlQt.h>
17 #include <QtWidgets/QWidget>
19 
20 class QDialogButtonBox;
21 
22 namespace makVrv
23 {
24  class DtDe;
25  class DtEntityTypeToElementDefinitionLogic;
26  class DtEntityTypeMapEditorWidget;
27  class DtPersistenceToolbarWidget;
28 
33  {
34  Q_OBJECT;
35  public:
36 
38  {
46  end_MappingType
47  };
48 
50  DtEntityMappingEditorWidget(DtDe& de,QWidget* parent,
51  MappingType mappingType);
52 
54  virtual ~DtEntityMappingEditorWidget();
55 
57  virtual void warnUserOfExistingEntityType(const std::string& entityType);
58 
61  virtual void askUserForEntityTypeMapping(const std::string& defaultMappingn = "");
62 
63  void activate();
64 
65  void deactivate();
66 
68  virtual void checkIfModified();
69 
71  virtual DtPersistenceToolbarWidget* persistenceToolbarWidget();
72 
73  protected slots:
74 
75  void on_validate_entityType(QString str);
76 
77  protected:
78  void setupGui();
79 
85 
86  QDialogButtonBox* myEntityTypeMappingButtons;
87  };
88 }
89 
90 #endif
91 
A widget that displays a persistence GUI in some way Operations presented are import, export, save, and restore.
Definition: DtPersistenceToolbarWidget.h:26
Definition: DtEntityMappingEditorWidget.h:42
DtEntityTypeMapEditorWidget * myEditor
Definition: DtEntityMappingEditorWidget.h:82
MappingType
Definition: DtEntityMappingEditorWidget.h:37
This is the logic for the DtEntityTypeToDefinitionWidget class.
Definition: DtEntityTypeToDefinitionLogic.h:116
#define DT_DLL_VRVVRLQT
Definition: vrvVrlQt.h:19
Definition: DtEntityMappingEditorWidget.h:41
The DtEntityTypeMapEditorWidget provides a widget which edits entity type to &#39;element&#39; definitions...
Definition: DtEntityTypeMapEditorWidget.h:36
Contains DLL export macros.
Definition: DtEntityMappingEditorWidget.h:40
Contains makVrv::DtEntityMappingEditorInterface class.
MappingType myMappingType
Definition: DtEntityMappingEditorWidget.h:84
DtEntityTypeToElementDefinitionLogic * myLogic
Definition: DtEntityMappingEditorWidget.h:81
DtPersistenceToolbarWidget * myToolbar
Definition: DtEntityMappingEditorWidget.h:83
Definition: DtEntityMappingEditorWidget.h:44
Definition: DtEntityMappingEditorWidget.h:43
QDialogButtonBox * myEntityTypeMappingButtons
Definition: DtEntityMappingEditorWidget.h:86
A widget for editing the hla 13 entity mappings.
Definition: DtEntityMappingEditorWidget.h:31
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69
DtDe & myDe
Definition: DtEntityMappingEditorWidget.h:80
Definition: DtEntityMappingEditorWidget.h:45
Definition: DtEntityMappingEditorWidget.h:39
This DtEntityMappingEditorInterface provides a generic interface for common entity type editing opera...
Definition: DtEntityMappingEditorInterface.h:21

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)