VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtCockpitMappingEditorWidget.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2008 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 /******************************************************************************
6 ** $RCSfile: DtCockpitMappingEditorWidget.h,v $ $Revision: 1.2 $ $State: Exp $
7 ******************************************************************************/
8 
12 
13 #pragma once
14 
16 
17 #include <QtWidgets/QWidget>
19 
20 class QDialogButtonBox;
21 
22 namespace makVrv
23 {
24  class DtDe;
25  class DtCockpitMappingEditorLogic;
26  class DtEntityTypeMapEditorWidget;
27  class DtPersistenceToolbarWidget;
28 
33  {
34  Q_OBJECT;
35  public:
36 
38  DtCockpitMappingEditorWidget(DtDe& de,QWidget* parent);
39 
42 
44  virtual void warnUserOfExistingEntityType(const std::string& entityType);
45 
47  virtual void askUserForEntityTypeMapping(const std::string& defaultType = "");
48 
49  virtual void activate();
50 
51  virtual void deactivate();
52 
54  virtual void checkIfModified();
55 
57  virtual DtPersistenceToolbarWidget* persistenceToolbarWidget();
58 
59  protected slots:
60 
61  void on_validate_entityType(QString str);
62 
63  protected:
64  void setupGui();
65 
70 
71  QDialogButtonBox* myEntityTypeMappingButtons;
72  };
73 } //makVrv::
A widget that displays a persistence GUI in some way Operations presented are import, export, save, and restore.
Definition: DtPersistenceToolbarWidget.h:26
#define DT_DLL_VRVGLSTUDIO_QT
Definition: DtGlStudioQt.h:21
DtDe & myDe
Definition: DtCockpitMappingEditorWidget.h:66
A widget for editing the HUD entity mappings.
Definition: DtCockpitMappingEditorWidget.h:31
Logic for editing mappings from entities to cockpits.
Definition: DtCockpitMappingEditorLogic.h:36
DtCockpitMappingEditorLogic * myLogic
Definition: DtCockpitMappingEditorWidget.h:67
DtEntityTypeMapEditorWidget * myEditor
Definition: DtCockpitMappingEditorWidget.h:68
The DtEntityTypeMapEditorWidget provides a widget which edits entity type to &#39;element&#39; definitions...
Definition: DtEntityTypeMapEditorWidget.h:36
DtPersistenceToolbarWidget * myToolbar
Definition: DtCockpitMappingEditorWidget.h:69
Contains makVrv::DtEntityMappingEditorInterface class.
QDialogButtonBox * myEntityTypeMappingButtons
Definition: DtCockpitMappingEditorWidget.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)