VR-Forces 5.0.3 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) 2008 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  {
43  end_MappingType
44  };
45 
47  DtEntityMappingEditorWidget(DtDe& de,QWidget* parent,
48  MappingType mappingType);
49 
51  virtual ~DtEntityMappingEditorWidget();
52 
54  virtual void warnUserOfExistingEntityType(const std::string& entityType);
55 
58  virtual void askUserForEntityTypeMapping(const std::string& defaultMappingn = "");
59 
60  void activate();
61 
62  void deactivate();
63 
65  virtual void checkIfModified();
66 
68  virtual DtPersistenceToolbarWidget* persistenceToolbarWidget();
69 
70  protected slots:
71 
72  void on_validate_entityType(QString str);
73 
74  protected:
75  void setupGui();
76 
82 
83  QDialogButtonBox* myEntityTypeMappingButtons;
84  };
85 }
86 
87 #endif
88 
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:79
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:37
Contains makVrv::DtEntityMappingEditorInterface class.
MappingType myMappingType
Definition: DtEntityMappingEditorWidget.h:81
DtEntityTypeToElementDefinitionLogic * myLogic
Definition: DtEntityMappingEditorWidget.h:78
DtPersistenceToolbarWidget * myToolbar
Definition: DtEntityMappingEditorWidget.h:80
Definition: DtEntityMappingEditorWidget.h:41
Definition: DtEntityMappingEditorWidget.h:40
QDialogButtonBox * myEntityTypeMappingButtons
Definition: DtEntityMappingEditorWidget.h:83
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:70
DtDe & myDe
Definition: DtEntityMappingEditorWidget.h:77
Definition: DtEntityMappingEditorWidget.h:42
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 Jun 1 17:58:13 EDT 2023 from SVN revision 255404
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)