VR-Forces Developer's Guide
 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) 2026 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #ifndef DtEntityMappingEditorWidget_H_
11 #define DtEntityMappingEditorWidget_H_
12 
13 #include <vrvVrlQt/vrvVrlQt.h>
14 #include <QtWidgets/QWidget>
16 
17 class QDialogButtonBox;
18 
19 namespace makVrv
20 {
21  class DtDe;
22  class DtEntityTypeToElementDefinitionLogic;
23  class DtEntityTypeMapEditorWidget;
24  class DtPersistenceToolbarWidget;
25 
30  {
31  Q_OBJECT;
32  public:
33 
35  {
44  end_MappingType
45  };
46 
48  DtEntityMappingEditorWidget(DtDe& de,QWidget* parent,
49  MappingType mappingType);
50 
52  virtual ~DtEntityMappingEditorWidget();
53 
55  virtual void warnUserOfExistingEntityType(const std::string& entityType);
56 
59  virtual void askUserForEntityTypeMapping(const std::string& defaultMappingn = "");
60 
61  void activate();
62 
63  void deactivate();
64 
66  virtual void checkIfModified();
67 
69  virtual DtPersistenceToolbarWidget* persistenceToolbarWidget();
70 
71  protected slots:
72 
73  void on_validate_entityType(QString str);
74 
75  protected:
76  void setupGui();
77 
83 
84  QDialogButtonBox* myEntityTypeMappingButtons;
85  };
86 }
87 
88 #endif
89 
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:39
DtEntityTypeMapEditorWidget * myEditor
Definition: DtEntityMappingEditorWidget.h:80
MappingType
Definition: DtEntityMappingEditorWidget.h:34
This is the logic for the DtEntityTypeToDefinitionWidget class.
Definition: DtEntityTypeToDefinitionLogic.h:119
#define DT_DLL_VRVVRLQT
Definition: vrvVrlQt.h:19
Definition: DtEntityMappingEditorWidget.h:38
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
Definition: DtEntityMappingEditorWidget.h:37
Contains makVrv::DtEntityMappingEditorInterface class.
MappingType myMappingType
Definition: DtEntityMappingEditorWidget.h:82
DtEntityTypeToElementDefinitionLogic * myLogic
Definition: DtEntityMappingEditorWidget.h:79
DtPersistenceToolbarWidget * myToolbar
Definition: DtEntityMappingEditorWidget.h:81
Definition: DtEntityMappingEditorWidget.h:42
Definition: DtEntityMappingEditorWidget.h:41
QDialogButtonBox * myEntityTypeMappingButtons
Definition: DtEntityMappingEditorWidget.h:84
A widget for editing the hla 13 entity mappings.
Definition: DtEntityMappingEditorWidget.h:28
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:76
DtDe & myDe
Definition: DtEntityMappingEditorWidget.h:78
Definition: DtEntityMappingEditorWidget.h:43
Definition: DtEntityMappingEditorWidget.h:36
This DtEntityMappingEditorInterface provides a generic interface for common entity type editing opera...
Definition: DtEntityMappingEditorInterface.h:18

Document ID: Generated on Thu Oct 15 21:27:02 EDT 2026 from SVN revision 296421
Copyright © 2005-2026 MAK Technologies. All Rights Reserved (www.mak.com)