13 #include <vlutil/vlFilename.h>
15 #include <QtWidgets/QDialog>
16 #include <QtWidgets/QTextEdit>
17 #include <QtWidgets/QCheckBox>
18 #include <QtCore/QList>
19 #include <QtCore/QStringList>
21 #include <tbb/atomic.h>
58 boost::shared_ptr<DtSmsUpgradeInfo> info,
const Qt::WindowFlags& f = 0);
70 virtual void browseForSms();
71 virtual void smsChanged();
72 virtual void destinationChanged();
83 boost::shared_ptr<DtSmsUpgradeInfo>
myInfo;
92 boost::shared_ptr<DtSmsUpgradeInfo> info,
const Qt::WindowFlags& f = 0);
103 virtual void selectionChanged();
111 boost::shared_ptr<DtSmsUpgradeInfo>
myInfo;
120 boost::shared_ptr<DtSmsUpgradeInfo> info,
const Qt::WindowFlags& f = 0);
133 boost::shared_ptr<DtSmsUpgradeInfo>
myInfo;
142 boost::shared_ptr<DtSmsUpgradeInfo> info,
const Qt::WindowFlags& f = 0);
156 boost::shared_ptr<DtSmsUpgradeInfo>
myInfo;
165 boost::shared_ptr<DtSmsUpgradeInfo> info,
const Qt::WindowFlags& f = 0);
178 static std::vector<DtString> makePathsRelativeToDataDirectory(
makVrv::DtDe&,
const std::vector<DtString>&);
182 void getDestination(QString& modelSetDir, QString& smsFile)
const;
184 int fileCount(
const DtFilename& sourceDir)
const;
185 void allFilesOfType(
const DtFilename& sourceDir,
const QString& ext, QStringList& files)
const;
186 void copyFilesFromSMS(
188 const QString& destination,
189 QStringList& failedToCopy,
190 const QStringList& filesToIgnore = QStringList(),
191 const QStringList& fileTypesToIgnore = QStringList(),
192 const QStringList& fileTypesToNotOverwrite = QStringList());
193 bool duplicateDirectory(
195 const DtFilename& sourceDir,
const DtFilename& destDir,
196 const QStringList& filesToIgnore,
197 const QStringList& fileTypesToIgnore,
198 const QStringList& fileTypesToNotOverwrite,
199 QStringList& notCopied);
200 bool copyVisualsFromSMS(
202 const DtFilename& destinationModelSetVisualsDir,
203 const QString& newSmsName,
204 QStringList& failedToCopy);
205 bool copyVisualsFromDirectory(
206 const DtFilename& sourceDir,
const DtFilename& destDir,
207 const QString& oldSmsName,
const QString& newSmsName,
208 QStringList& failedToCopy,
const DtFilename& subPath = DtFilename::nullFilename());
217 boost::shared_ptr<DtSmsUpgradeInfo>
myInfo;
226 boost::shared_ptr<DtSmsUpgradeInfo> info,
const Qt::WindowFlags& f = 0);
237 virtual void saveReport();
245 boost::shared_ptr<DtSmsUpgradeInfo>
myInfo;
256 virtual void createNewModelSet();
259 virtual void keyPressEvent(QKeyEvent*);
262 virtual void backButtonClicked();
263 virtual void nextButtonClicked();
264 virtual void cancelButtonClicked();
265 virtual void enableNextButton(
bool);
266 virtual void returnKeyPressed();
279 boost::shared_ptr<DtSmsUpgradeInfo>
myInfo;
virtual DtWizardPage * nextPage(QWidget *p)
Definition: newSimulationModelSetWizard.h:36
virtual bool isLastPage() const
Definition: simulationModelSetUpgradeWizard.h:95
QComboBox * myVersions
Definition: simulationModelSetUpgradeWizard.h:130
virtual bool nextPageComplete() const
Definition: simulationModelSetUpgradeWizard.h:171
virtual bool showFinishButton() const
Definition: simulationModelSetUpgradeWizard.h:62
tbb::atomic< bool > myCancel
Definition: simulationModelSetUpgradeWizard.h:215
virtual bool isLastPage() const
Definition: simulationModelSetUpgradeWizard.h:229
Virtual base class. Allows for RTTI and proper virtual destruction. Used by Creators, Factories, Providers, Assemblers and User Interfaces.
Definition: DtVirtualBaseClass.h:19
Definition: simulationModelSetUpgradeWizard.h:159
bool myIsComplete
Definition: simulationModelSetUpgradeWizard.h:213
bool myCopyVisuals
Definition: simulationModelSetUpgradeWizard.h:45
QPushButton * myFinishButton
Definition: simulationModelSetUpgradeWizard.h:272
Definition: simulationModelSetUpgradeWizard.h:35
QRadioButton * myAggregateLevelButton
Definition: simulationModelSetUpgradeWizard.h:108
QStringList myFileUpgradeFailures
Definition: simulationModelSetUpgradeWizard.h:48
QString mySmsVersion
Definition: simulationModelSetUpgradeWizard.h:43
virtual bool isLastPage() const
Definition: simulationModelSetUpgradeWizard.h:168
QPushButton * myBackButton
Definition: simulationModelSetUpgradeWizard.h:270
Definition: simulationModelSetUpgradeWizard.h:40
QProgressBar * myProgressBar
Definition: simulationModelSetUpgradeWizard.h:211
Definition: simulationModelSetUpgradeWizard.h:220
Definition: simulationModelSetUpgradeWizard.h:36
QLabel * mySmsToUpgradeLabel
Definition: simulationModelSetUpgradeWizard.h:76
QRadioButton * myOriginalSmsButton
Definition: simulationModelSetUpgradeWizard.h:109
virtual bool showFinishButton() const
Definition: simulationModelSetUpgradeWizard.h:230
virtual bool nextPageComplete() const
Definition: simulationModelSetUpgradeWizard.h:64
Definition: simulationModelSetUpgradeWizard.h:114
boost::shared_ptr< DtSmsUpgradeInfo > myInfo
Definition: simulationModelSetUpgradeWizard.h:156
QTextEdit * myText
Definition: simulationModelSetUpgradeWizard.h:243
makVrv::DtDe & myDe
Definition: simulationModelSetUpgradeWizard.h:302
bool mySuccess
Definition: simulationModelSetUpgradeWizard.h:49
virtual bool pageComplete() const
Definition: simulationModelSetUpgradeWizard.h:231
boost::shared_ptr< DtSmsUpgradeInfo > myInfo
Definition: simulationModelSetUpgradeWizard.h:83
QRadioButton * myCopyVisualsIntoSms
Definition: simulationModelSetUpgradeWizard.h:153
QRadioButton * myEntityLevelButton
Definition: simulationModelSetUpgradeWizard.h:107
QLineEdit * mySmsToUpgrade
Definition: simulationModelSetUpgradeWizard.h:77
virtual bool showFinishButton() const
Definition: simulationModelSetUpgradeWizard.h:146
makVrv::DtDe & myDe
Definition: simulationModelSetUpgradeWizard.h:276
virtual bool nextPageComplete() const
Definition: simulationModelSetUpgradeWizard.h:148
virtual bool nextPageComplete() const
Definition: simulationModelSetUpgradeWizard.h:232
virtual bool showFinishButton() const
Definition: simulationModelSetUpgradeWizard.h:169
virtual bool pageComplete() const
Contains makVrv::DtVirtualBaseClass class.
DtSmsUpgradeType myUpgradeType
Definition: simulationModelSetUpgradeWizard.h:44
boost::shared_ptr< DtSimulationModelSet > mySmsToUpgrade
Definition: simulationModelSetUpgradeWizard.h:46
QLabel * myFileBeingCopied
Definition: simulationModelSetUpgradeWizard.h:212
Definition: simulationModelSetUpgradeWizard.h:86
virtual DtWizardPage * nextPage(QWidget *p)
Definition: simulationModelSetUpgradeWizard.h:233
virtual bool nextPageComplete() const
Definition: simulationModelSetUpgradeWizard.h:126
Creator for the dialog.
Definition: simulationModelSetUpgradeWizard.h:283
virtual bool isLastPage() const
Definition: simulationModelSetUpgradeWizard.h:145
QRadioButton * myDoNotCopyVisuals
Definition: simulationModelSetUpgradeWizard.h:154
Definition: simulationModelSetUpgradeWizard.h:136
Definition: simulationModelSetUpgradeWizard.h:248
virtual bool nextPageComplete() const
Definition: simulationModelSetUpgradeWizard.h:98
boost::shared_ptr< DtSmsUpgradeInfo > myInfo
Definition: simulationModelSetUpgradeWizard.h:111
boost::shared_ptr< DtSmsUpgradeInfo > myInfo
Definition: simulationModelSetUpgradeWizard.h:133
QPushButton * myNextButton
Definition: simulationModelSetUpgradeWizard.h:269
DtWizardPage * myStartPage
Definition: simulationModelSetUpgradeWizard.h:277
QString myDestinationName
Definition: simulationModelSetUpgradeWizard.h:42
virtual void cancel()
Definition: newSimulationModelSetWizard.h:45
Definition: newSimulationModelSetWizard.h:28
virtual bool isLastPage() const
Definition: simulationModelSetUpgradeWizard.h:123
A simulation model set contains all the information that can be used to support a scenario either for...
Definition: simulationModelSet.h:31
QPushButton * myCancelButton
Definition: simulationModelSetUpgradeWizard.h:271
boost::shared_ptr< DtSmsUpgradeInfo > myInfo
Definition: simulationModelSetUpgradeWizard.h:217
QLabel * myDestinationLabel
Definition: simulationModelSetUpgradeWizard.h:80
DtSmsUpgradeType
Definition: simulationModelSetUpgradeWizard.h:33
Definition: simulationModelSetUpgradeWizard.h:37
Definition: simulationModelSetUpgradeWizard.h:52
boost::shared_ptr< DtSimulationModelSet > myNewBaseSms
Definition: simulationModelSetUpgradeWizard.h:47
QPushButton * mySaveButton
Definition: simulationModelSetUpgradeWizard.h:242
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:70
QLabel * myAdditionalText
Definition: simulationModelSetUpgradeWizard.h:131
boost::shared_ptr< DtSmsUpgradeInfo > myInfo
Definition: simulationModelSetUpgradeWizard.h:245
virtual bool isLastPage() const
Definition: simulationModelSetUpgradeWizard.h:61
virtual void execute()
Definition: newSimulationModelSetWizard.h:43
QLabel * myDescription
Definition: simulationModelSetUpgradeWizard.h:241
QList< DtWizardPage * > myPages
Definition: simulationModelSetUpgradeWizard.h:273
virtual bool showFinishButton() const
Definition: simulationModelSetUpgradeWizard.h:124
boost::shared_ptr< DtSmsUpgradeInfo > myInfo
Definition: simulationModelSetUpgradeWizard.h:279
QPushButton * myBrowseButton
Definition: simulationModelSetUpgradeWizard.h:78
virtual bool showFinishButton() const
Definition: simulationModelSetUpgradeWizard.h:96
#define DT_DLL_simulationObjectEditorimpl
This file is used to determine how to build.
Definition: simulationObjectEditorImplDefines.h:33
QLineEdit * myDestinationName
Definition: simulationModelSetUpgradeWizard.h:81