VR-Forces 4.7 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
include
vrfGuiCoreQt
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
13
#include <
vrfGuiCoreQt/vrfGuiCoreQt.h
>
14
#include <
vrfGuiCoreQt/remappingDialogInterface.h
>
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
33
class
DT_DLL_VRFGUICOREQT
DtRemappingDialog
:
public
QDialog
,
public
DtRemappingDialogInterface
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
:
75
QLabel
*
myMainLabel
;
76
77
QLabel
*
myMissingBackendLabel
;
78
QLabel
*
myRemapToLabel
;
79
QFrame*
mySeparator
;
80
81
QLabel
*
myMapAllLabel
;
82
QComboBox
*
myMapAllComboBox
;
83
84
QPushButton
*
myOkPushButton
;
85
QPushButton
*
myCancelPushButton
;
86
87
QVBoxLayout*
myMainLayout
;
88
QGridLayout*
myEntryLayout
;
89
QHBoxLayout*
myOkCancelLayout
;
90
91
QPushButton
*
myStartAllButton
;
92
93
struct
MapToEntry
94
{
95
QLabel
*
label
;
96
QComboBox
*
backends
;
97
QPushButton
*
start
;
98
};
99
100
typedef
std::map<DtString, MapToEntry>
MapTo
;
101
MapTo
myMapTo
;
102
103
protected
:
104
makVrv::DtDe
&
myDe
;
105
DtRemappingDialogLogic
*
myLogic
;
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
)