VR-Forces 4.5 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
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
29
namespace
makVrf
30
{
31
class
DtScenarioPreviewPage;
32
class
DtScenarioLoadLogic;
33
class
DtVrfScenarioRemapFunction;
34
class
DtBackEndSelectionCombo;
35
37
class
DT_DLL_VRFGUICOREQT
DtLoadScenarioDialog
:
public
QFileDialog
,
public
DtScenarioSettingsInterface
38
{
39
Q_OBJECT;
40
41
public
:
42
44
DtLoadScenarioDialog
(
makVrv::DtDe
& de,
QWidget
* parent, Qt::WindowFlags f = Qt::Tool );
45
47
virtual
~
DtLoadScenarioDialog
();
48
49
public
:
50
virtual
void
accept();
51
virtual
void
setImportMode(
bool
);
52
53
protected
:
54
virtual
void
addLoadBalancingComboBox();
55
virtual
void
addImportScenarioInformation();
56
virtual
unsigned
int
loadFlags()
const
;
57
58
public
slots:
59
virtual
void
showScenarioInfo();
60
61
protected
slots:
62
virtual
void
scenarioNameChanged(
const
QString&);
63
64
protected
:
65
makVrv::DtDe
&
myDe
;
66
bool
myImportMode
;
67
DtScenarioLoadLogic
*
myLogic
;
68
69
public
:
70
DtScenarioPreviewPage
*
myScenarioPreviewPage
;
71
QToolButton
*
myInfoButton
;
72
QComboBox
*
myLoadBalancingComboBox
;
73
QLabel
*
myLoadBalancingLabel
;
74
QSize
myDialogSize
;
75
DtVrfScenarioRemapFunction
*
myRemap
;
76
DtBackEndSelectionCombo
*
myBackendSelection
;
77
78
QLabel
*
myDeconflictingNameLabel
;
79
QLineEdit
*
myDeconflictingName
;
80
QCheckBox
*
myCreateUniqueNamesOnImport
;
81
QCheckBox
*
myImportScenarioEvents
;
82
QCheckBox
*
myCreateSelectionGroup
;
83
QWidget
*
myCheckWidgetContainer
;
84
QLineEdit
*
myFileNameEdit
;
85
};
86
}
87
88
#ifdef RESET_NO_FILE_DIALOG
89
#define QT_NO_FILEDIALOG
90
#undef RESET_NO_FILE_DIALOG
91
#endif
92
93
Document ID: Generated on Thu Mar 23 18:54:12 EDT 2017 from SVN revision 174804
Copyright © 2005-2017 VT MÄK. All Rights Reserved (
www.mak.com
)