VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtAggregateMappingEditorWidget.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2010 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 /******************************************************************************
6 ** $RCSfile: DtAggregateMappinEditorWidget.h,v $ $Revision: 1.10 $ $State: Exp $
7 ******************************************************************************/
8 
12 
13 #pragma once
14 
15 #include <vrvUtil/signalslib.h>
16 
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:
37  DtAggregateMappingEditorWidget(DtDe& de,QWidget* parent);
38 
41 
43  virtual void warnUserOfExistingEntityType(const std::string& entityType);
44 
47  virtual void askUserForEntityTypeMapping(const std::string& defaultMappingn = "");
48 
49  virtual void activate();
50 
51  virtual void deactivate();
52 
54  virtual DtPersistenceToolbarWidget* persistenceToolbarWidget();
55 
57  virtual void checkIfModified();
58 
59  protected slots:
60 
61  void on_validate_entityType(QString str);
62 
63  protected:
64  void setupGui();
65 
66  protected:
67 
72 
73  QDialogButtonBox* myEntityTypeMappingButtons;
74  };
75 }
A widget that displays a persistence GUI in some way Operations presented are import, export, save, and restore.
Definition: DtPersistenceToolbarWidget.h:26
DtDe & myDe
Definition: DtAggregateMappingEditorWidget.h:68
Contains makVrv::DtEntityTypeMapEditorWidget class.
This is the logic for the DtEntityTypeToDefinitionWidget class.
Definition: DtEntityTypeToDefinitionLogic.h:116
#define DT_DLL_VRVVRLQT
Definition: vrvVrlQt.h:19
QDialogButtonBox * myEntityTypeMappingButtons
Definition: DtAggregateMappingEditorWidget.h:73
A widget for editing the aggregate mappings.
Definition: DtAggregateMappingEditorWidget.h:31
The DtEntityTypeMapEditorWidget provides a widget which edits entity type to &#39;element&#39; definitions...
Definition: DtEntityTypeMapEditorWidget.h:36
Contains makVrv::DtEntityMappingEditorInterface class.
DtEntityTypeToElementDefinitionLogic * myLogic
Definition: DtAggregateMappingEditorWidget.h:69
DtEntityTypeMapEditorWidget * myEditor
Definition: DtAggregateMappingEditorWidget.h:70
DtPersistenceToolbarWidget * myToolbar
Definition: DtAggregateMappingEditorWidget.h:71
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69
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)