VR-Forces 4.7 Class Documentation
 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 
29 namespace makVrf
30 {
31  class DtRemappingDialogLogic;
32 
34  {
35  Q_OBJECT
36 
37  public:
38  //CTOR
39  DtRemappingDialog(makVrv::DtDe& de, DtBackendMap*, QWidget* parent = 0, const Qt::WindowFlags& f = 0);
40 
41  //DTOR
42  virtual ~DtRemappingDialog();
43 
44  public:
46  virtual void setupGui(const std::set<DtSimulationAddress>& currentBackends);
47 
49  virtual QComboBox* addMapTo(const QString&, int row);
50 
52  virtual void addToMapAll(const QString&);
53 
55  virtual void removeFromMapAll(const QString&);
56 
58  virtual void removeBackend(const DtString&);
59 
61  virtual QComboBox* readdMapTo(const QString&);
62 
63  virtual void couldNotStart(const DtString&);
64 
65  protected slots:
66  virtual void mapAllComboBoxSelection(const QString& string);
67  virtual void startBackend();
68  virtual void startAllBackEnds();
69 
70  protected:
71  virtual void accept();
72  virtual void reject();
73 
74  public:
76 
79  QFrame* mySeparator;
80 
83 
86 
87  QVBoxLayout* myMainLayout;
88  QGridLayout* myEntryLayout;
89  QHBoxLayout* myOkCancelLayout;
90 
92 
93  struct MapToEntry
94  {
98  };
99 
100  typedef std::map<DtString, MapToEntry> MapTo;
102 
103  protected:
106  };
107 }

Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (www.mak.com)