VR-Forces 4.5 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator 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 
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 

Document ID: Generated on Thu Mar 23 18:54:12 EDT 2017 from SVN revision 174804
Copyright © 2005-2017 VT MÄK. All Rights Reserved (www.mak.com)