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
loadScenarioDialog.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2015 MAK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
8
10
11
#pragma once
12
13
#include <
vrfGuiCoreQt/vrfGuiCoreQt.h
>
14
#include <
vrfGuiCoreQt/scenarioSettingsInterface.h
>
15
16
#ifdef QT_NO_FILEDIALOG
17
#define RESET_NO_FILE_DIALOG
18
#endif
19
20
#undef QT_NO_FILEDIALOG
21
#include <QtWidgets/QFileDialog>
22
23
class
QToolButton
;
24
class
QComboBox
;
25
class
QLabel
;
26
class
QLineEdit
;
27
class
QCheckBox
;
28
class
QRadioButton;
29
30
namespace
makVrf
31
{
32
class
DtScenarioPreviewPage;
33
class
DtScenarioLoadLogic;
34
class
DtVrfScenarioRemapFunction;
35
class
DtBackEndSelectionCombo;
36
38
class
DT_DLL_VRFGUICOREQT
DtLoadScenarioDialog
:
public
QFileDialog
,
public
DtScenarioSettingsInterface
39
{
40
Q_OBJECT;
41
42
public
:
43
45
DtLoadScenarioDialog
(
makVrv::DtDe
& de, QWidget* parent, Qt::WindowFlags f = Qt::Tool );
46
48
virtual
~
DtLoadScenarioDialog
();
49
50
public
:
51
virtual
void
accept();
52
virtual
void
setImportMode(
bool
);
53
54
protected
:
55
virtual
void
addLoadBalancingComboBox();
56
virtual
void
addImportScenarioInformation();
57
virtual
unsigned
int
loadFlags()
const
;
58
59
public
slots:
60
virtual
void
showScenarioInfo();
61
62
protected
slots:
63
virtual
void
scenarioNameChanged(
const
QString&);
64
virtual
void
simulationModelSetFilesChanged();
65
66
protected
:
67
makVrv::DtDe
&
myDe
;
68
bool
myImportMode
;
69
DtScenarioLoadLogic
*
myLogic
;
70
72
bool
myWarnedOnSMSChange
;
73
74
public
:
75
DtScenarioPreviewPage
*
myScenarioPreviewPage
;
76
QToolButton
*
myInfoButton
;
77
QComboBox
*
myLoadBalancingComboBox
;
78
QLabel
*
myLoadBalancingLabel
;
79
QSize
myDialogSize
;
80
DtVrfScenarioRemapFunction
*
myRemap
;
81
DtBackEndSelectionCombo
*
myBackendSelection
;
82
83
QLabel
*
myDeconflictingNameLabel
;
84
QLineEdit
*
myDeconflictingName
;
85
QCheckBox
*
myCreateUniqueNamesOnImport
;
86
QCheckBox
*
myImportScenarioEvents
;
87
QCheckBox
*
myCreateSelectionGroup
;
88
QWidget*
myCheckWidgetContainer
;
89
QLineEdit
*
myFileNameEdit
;
90
QRadioButton*
myDuplicateScenarioObjects
;
91
QRadioButton*
myKeepOriginalScenarioObjects
;
92
};
93
}
94
95
#ifdef RESET_NO_FILE_DIALOG
96
#define QT_NO_FILEDIALOG
97
#undef RESET_NO_FILE_DIALOG
98
#endif
99
100
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
)