VR-Forces 5.0.3 Developer's Guide
 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 
9 
10 #pragma once
11 
13 
14 #include <QtWidgets/QWidget>
16 
17 class QDialogButtonBox;
18 
19 namespace makVrv
20 {
21  class DtDe;
22  class DtCockpitMappingEditorLogic;
23  class DtEntityTypeMapEditorWidget;
24  class DtPersistenceToolbarWidget;
25 
30  {
31  Q_OBJECT;
32  public:
33 
35  DtCockpitMappingEditorWidget(DtDe& de,QWidget* parent);
36 
39 
41  virtual void warnUserOfExistingEntityType(const std::string& entityType);
42 
44  virtual void askUserForEntityTypeMapping(const std::string& defaultType = "");
45 
46  virtual void activate();
47 
48  virtual void deactivate();
49 
51  virtual void checkIfModified();
52 
54  virtual DtPersistenceToolbarWidget* persistenceToolbarWidget();
55 
56  protected slots:
57 
58  void on_validate_entityType(QString str);
59 
60  protected:
61  void setupGui();
62 
67 
68  QDialogButtonBox* myEntityTypeMappingButtons;
69  };
70 } //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:18
DtDe & myDe
Definition: DtCockpitMappingEditorWidget.h:63
A widget for editing the HUD entity mappings.
Definition: DtCockpitMappingEditorWidget.h:28
Logic for editing mappings from entities to cockpits.
Definition: DtCockpitMappingEditorLogic.h:36
DtCockpitMappingEditorLogic * myLogic
Definition: DtCockpitMappingEditorWidget.h:64
DtEntityTypeMapEditorWidget * myEditor
Definition: DtCockpitMappingEditorWidget.h:65
The DtEntityTypeMapEditorWidget provides a widget which edits entity type to &#39;element&#39; definitions...
Definition: DtEntityTypeMapEditorWidget.h:36
DtPersistenceToolbarWidget * myToolbar
Definition: DtCockpitMappingEditorWidget.h:66
Contains makVrv::DtEntityMappingEditorInterface class.
QDialogButtonBox * myEntityTypeMappingButtons
Definition: DtCockpitMappingEditorWidget.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:70
This DtEntityMappingEditorInterface provides a generic interface for common entity type editing opera...
Definition: DtEntityMappingEditorInterface.h:18

Document ID: Generated on Thu Jun 1 17:58:13 EDT 2023 from SVN revision 255404
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)