VR-Forces Development_Version 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 <QtGui/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  {
45  end_MappingType
46  };
47 
50  MappingType mappingType);
51 
53  virtual ~DtEntityMappingEditorWidget();
54 
56  virtual void warnUserOfExistingEntityType(const std::string& entityType);
57 
60  virtual void askUserForEntityTypeMapping(const std::string& defaultMappingn = "");
61 
62  void activate();
63 
64  void deactivate();
65 
66  protected slots:
67 
68  void on_validate_entityType(QString str);
69 
70  protected:
71  void setupGui();
72 
78 
79  QDialogButtonBox* myEntityTypeMappingButtons;
80  };
81 }
82 
83 #endif
84 

Document ID: Generated on Tue Mar 8 22:13:38 EST 2016 from SVN revision 162938
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)