VR-Forces Developer's Guide
 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 
9 
10 #pragma once
11 
12 #include <vrvUtil/signalslib.h>
13 
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:
34  DtAggregateMappingEditorWidget(DtDe& de,QWidget* parent);
35 
38 
40  virtual void warnUserOfExistingEntityType(const std::string& entityType);
41 
44  virtual void askUserForEntityTypeMapping(const std::string& defaultMappingn = "");
45 
46  virtual void activate();
47 
48  virtual void deactivate();
49 
51  virtual DtPersistenceToolbarWidget* persistenceToolbarWidget();
52 
54  virtual void checkIfModified();
55 
56  protected slots:
57 
58  void on_validate_entityType(QString str);
59 
60  protected:
61  void setupGui();
62 
63  protected:
64 
69 
70  QDialogButtonBox* myEntityTypeMappingButtons;
71  };
72 }
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:65
Contains makVrv::DtEntityTypeMapEditorWidget class.
This is the logic for the DtEntityTypeToDefinitionWidget class.
Definition: DtEntityTypeToDefinitionLogic.h:119
#define DT_DLL_VRVVRLQT
Definition: vrvVrlQt.h:19
QDialogButtonBox * myEntityTypeMappingButtons
Definition: DtAggregateMappingEditorWidget.h:70
A widget for editing the aggregate mappings.
Definition: DtAggregateMappingEditorWidget.h:28
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:66
DtEntityTypeMapEditorWidget * myEditor
Definition: DtAggregateMappingEditorWidget.h:67
DtPersistenceToolbarWidget * myToolbar
Definition: DtAggregateMappingEditorWidget.h:68
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:72
This DtEntityMappingEditorInterface provides a generic interface for common entity type editing opera...
Definition: DtEntityMappingEditorInterface.h:18

Document ID: Generated on Wed Mar 27 22:49:11 EDT 2024 from SVN revision 264633
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)