VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
remappingDialog.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2018 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
8 
10 
11 #pragma once
12 
15 
16 #include <QtWidgets/QDialog>
17 
18 #include <vector>
19 
20 class DtBackendMap;
21 class QComboBox;
22 class QGridLayout;
23 class QHBoxLayout;
24 class QLabel;
25 class QTable;
26 class QVBoxLayout;
27 class QFrame;
28 class QTreeWidget;
29 class QTreeWidgetItem;
30 
31 namespace makVrf
32 {
33  class DtRemappingDialogLogic;
34  class DtBackEndSelectionCombo;
35 
37  {
38  Q_OBJECT
39 
40  public:
41  //CTOR
42  DtRemappingDialog(makVrv::DtDe& de, DtBackendMap*, QWidget* parent = 0, const Qt::WindowFlags& f = 0);
43 
44  //DTOR
45  virtual ~DtRemappingDialog() override;
46 
47  public:
49  virtual void setupGui(const std::set<DtSimulationAddress>& currentBackends) override;
50 
52  virtual DtBackEndSelectionCombo* addMapTo(const QString&) override;
53 
55  virtual void addToMapAll(const QString&) override;
56 
58  virtual void removeFromMapAll(const QString&) override;
59 
61  virtual void removeBackend(const DtString&) override;
62 
63  virtual DtBackEndSelectionCombo* mapAllTo() override;
64 
65  protected slots:
66  virtual void mapAllComboBoxSelection(const QString& string);
67 
68  protected:
69  virtual void accept() override;
70  virtual void reject() override;
71 
72  public:
74 
76 
79 
80  QVBoxLayout* myMainLayout;
81  QHBoxLayout* myOkCancelLayout;
83 
84  struct MapToEntry
85  {
88  };
89 
90  typedef std::map<DtString, MapToEntry> MapTo;
92 
93  protected:
96  };
97 }
QLabel * myMainLabel
Definition: remappingDialog.h:73
Definition: remappingDialogLogic.h:37
DtBackEndSelectionCombo * backends
Definition: remappingDialog.h:87
Definition: remappingDialogInterface.h:23
class DtBackendMap:
Definition: backendMap.h:21
QPushButton * myOkPushButton
Definition: remappingDialog.h:77
QPushButton * myCancelPushButton
Definition: remappingDialog.h:78
MapTo myMapTo
Definition: remappingDialog.h:91
QTreeWidget * myBackends
Definition: remappingDialog.h:82
QVBoxLayout * myMainLayout
Definition: remappingDialog.h:80
DtBackEndSelectionCombo * myMapAllComboBox
Definition: remappingDialog.h:75
QHBoxLayout * myOkCancelLayout
Definition: remappingDialog.h:81
Definition: remappingDialog.h:36
#define DT_DLL_VRFGUICOMMONQT
Definition: vrfGuiCommonQt.h:20
A widget class for managing simulation back-ends.
Definition: backEndSelectionList.h:101
makVrv::DtDe & myDe
Definition: remappingDialog.h:94
DtRemappingDialogLogic * myLogic
Definition: remappingDialog.h:95
std::map< DtString, MapToEntry > MapTo
Definition: remappingDialog.h:90
QTreeWidgetItem * label
Definition: remappingDialog.h:86
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:76
Definition: remappingDialog.h:84

Document ID: Generated on Thu Oct 15 21:27:02 EDT 2026 from SVN revision 296421
Copyright © 2005-2026 MAK Technologies. All Rights Reserved (www.mak.com)