14 #include <QtWidgets/QDialog>
15 #include <QtWidgets/QTextEdit>
16 #include <QtWidgets/QCheckBox>
17 #include <QtCore/QList>
18 #include <QtCore/QStringList>
20 #include <tbb/atomic.h>
57 boost::shared_ptr<DtSmsUpgradeInfo> info,
const Qt::WindowFlags& f = 0);
69 virtual void browseForSms();
70 virtual void smsChanged();
71 virtual void destinationChanged();
82 boost::shared_ptr<DtSmsUpgradeInfo>
myInfo;
91 boost::shared_ptr<DtSmsUpgradeInfo> info,
const Qt::WindowFlags& f = 0);
102 virtual void selectionChanged();
110 boost::shared_ptr<DtSmsUpgradeInfo>
myInfo;
119 boost::shared_ptr<DtSmsUpgradeInfo> info,
const Qt::WindowFlags& f = 0);
132 boost::shared_ptr<DtSmsUpgradeInfo>
myInfo;
141 boost::shared_ptr<DtSmsUpgradeInfo> info,
const Qt::WindowFlags& f = 0);
155 boost::shared_ptr<DtSmsUpgradeInfo>
myInfo;
164 boost::shared_ptr<DtSmsUpgradeInfo> info,
const Qt::WindowFlags& f = 0);
177 static std::vector<DtString> makePathsRelativeToDataDirectory(
makVrv::DtDe&,
const std::vector<DtString>&);
181 void getDestination(QString& modelSetDir, QString& smsFile)
const;
183 int fileCount(
const DtFilename& sourceDir)
const;
184 void allFilesOfType(
const DtFilename& sourceDir,
const QString& ext, QStringList& files)
const;
185 void copyFilesFromSMS(
187 const QString& destination,
188 QStringList& failedToCopy,
189 const QStringList& filesToIgnore = QStringList(),
190 const QStringList& fileTypesToIgnore = QStringList(),
191 const QStringList& fileTypesToNotOverwrite = QStringList());
192 bool duplicateDirectory(
194 const DtFilename& sourceDir,
const DtFilename& destDir,
195 const QStringList& filesToIgnore,
196 const QStringList& fileTypesToIgnore,
197 const QStringList& fileTypesToNotOverwrite,
198 QStringList& notCopied);
199 bool copyVisualsFromSMS(
201 const DtFilename& destinationModelSetVisualsDir,
202 const QString& newSmsName,
203 QStringList& failedToCopy);
204 bool copyVisualsFromDirectory(
205 const DtFilename& sourceDir,
const DtFilename& destDir,
206 const QString& oldSmsName,
const QString& newSmsName,
207 QStringList& failedToCopy);
216 boost::shared_ptr<DtSmsUpgradeInfo>
myInfo;
225 boost::shared_ptr<DtSmsUpgradeInfo> info,
const Qt::WindowFlags& f = 0);
236 virtual void saveReport();
244 boost::shared_ptr<DtSmsUpgradeInfo>
myInfo;
255 virtual void createNewModelSet();
258 virtual void keyPressEvent(QKeyEvent*);
261 virtual void backButtonClicked();
262 virtual void nextButtonClicked();
263 virtual void cancelButtonClicked();
264 virtual void enableNextButton(
bool);
265 virtual void returnKeyPressed();
278 boost::shared_ptr<DtSmsUpgradeInfo>
myInfo;
virtual DtWizardPage * nextPage(QWidget *p)
Definition: newSimulationModelSetWizard.h:36
virtual bool isLastPage() const
Definition: simulationModelSetUpgradeWizard.h:94
QComboBox * myVersions
Definition: simulationModelSetUpgradeWizard.h:129
virtual bool nextPageComplete() const
Definition: simulationModelSetUpgradeWizard.h:170
virtual bool showFinishButton() const
Definition: simulationModelSetUpgradeWizard.h:61
tbb::atomic< bool > myCancel
Definition: simulationModelSetUpgradeWizard.h:214
virtual bool isLastPage() const
Definition: simulationModelSetUpgradeWizard.h:228
Virtual base class.
Definition: DtVirtualBaseClass.h:22
Definition: simulationModelSetUpgradeWizard.h:158
bool myIsComplete
Definition: simulationModelSetUpgradeWizard.h:212
bool myCopyVisuals
Definition: simulationModelSetUpgradeWizard.h:44
QPushButton * myFinishButton
Definition: simulationModelSetUpgradeWizard.h:271
Definition: simulationModelSetUpgradeWizard.h:34
QRadioButton * myAggregateLevelButton
Definition: simulationModelSetUpgradeWizard.h:107
QStringList myFileUpgradeFailures
Definition: simulationModelSetUpgradeWizard.h:47
QString mySmsVersion
Definition: simulationModelSetUpgradeWizard.h:42
virtual bool isLastPage() const
Definition: simulationModelSetUpgradeWizard.h:167
QPushButton * myBackButton
Definition: simulationModelSetUpgradeWizard.h:269
Definition: simulationModelSetUpgradeWizard.h:39
QProgressBar * myProgressBar
Definition: simulationModelSetUpgradeWizard.h:210
Definition: simulationModelSetUpgradeWizard.h:219
Definition: simulationModelSetUpgradeWizard.h:35
QLabel * mySmsToUpgradeLabel
Definition: simulationModelSetUpgradeWizard.h:75
QRadioButton * myOriginalSmsButton
Definition: simulationModelSetUpgradeWizard.h:108
virtual bool showFinishButton() const
Definition: simulationModelSetUpgradeWizard.h:229
virtual bool nextPageComplete() const
Definition: simulationModelSetUpgradeWizard.h:63
Definition: simulationModelSetUpgradeWizard.h:113
boost::shared_ptr< DtSmsUpgradeInfo > myInfo
Definition: simulationModelSetUpgradeWizard.h:155
QTextEdit * myText
Definition: simulationModelSetUpgradeWizard.h:242
makVrv::DtDe & myDe
Definition: simulationModelSetUpgradeWizard.h:301
bool mySuccess
Definition: simulationModelSetUpgradeWizard.h:48
virtual bool pageComplete() const
Definition: simulationModelSetUpgradeWizard.h:230
boost::shared_ptr< DtSmsUpgradeInfo > myInfo
Definition: simulationModelSetUpgradeWizard.h:82
QRadioButton * myCopyVisualsIntoSms
Definition: simulationModelSetUpgradeWizard.h:152
QRadioButton * myEntityLevelButton
Definition: simulationModelSetUpgradeWizard.h:106
QLineEdit * mySmsToUpgrade
Definition: simulationModelSetUpgradeWizard.h:76
virtual bool showFinishButton() const
Definition: simulationModelSetUpgradeWizard.h:145
makVrv::DtDe & myDe
Definition: simulationModelSetUpgradeWizard.h:275
virtual bool nextPageComplete() const
Definition: simulationModelSetUpgradeWizard.h:147
virtual bool nextPageComplete() const
Definition: simulationModelSetUpgradeWizard.h:231
virtual bool showFinishButton() const
Definition: simulationModelSetUpgradeWizard.h:168
virtual bool pageComplete() const
Contains makVrv::DtVirtualBaseClass class.
DtSmsUpgradeType myUpgradeType
Definition: simulationModelSetUpgradeWizard.h:43
boost::shared_ptr< DtSimulationModelSet > mySmsToUpgrade
Definition: simulationModelSetUpgradeWizard.h:45
QLabel * myFileBeingCopied
Definition: simulationModelSetUpgradeWizard.h:211
Definition: simulationModelSetUpgradeWizard.h:85
virtual DtWizardPage * nextPage(QWidget *p)
Definition: simulationModelSetUpgradeWizard.h:232
virtual bool nextPageComplete() const
Definition: simulationModelSetUpgradeWizard.h:125
Creator for the dialog.
Definition: simulationModelSetUpgradeWizard.h:282
virtual bool isLastPage() const
Definition: simulationModelSetUpgradeWizard.h:144
QRadioButton * myDoNotCopyVisuals
Definition: simulationModelSetUpgradeWizard.h:153
Definition: simulationModelSetUpgradeWizard.h:135
Definition: simulationModelSetUpgradeWizard.h:247
virtual bool nextPageComplete() const
Definition: simulationModelSetUpgradeWizard.h:97
boost::shared_ptr< DtSmsUpgradeInfo > myInfo
Definition: simulationModelSetUpgradeWizard.h:110
boost::shared_ptr< DtSmsUpgradeInfo > myInfo
Definition: simulationModelSetUpgradeWizard.h:132
QPushButton * myNextButton
Definition: simulationModelSetUpgradeWizard.h:268
DtWizardPage * myStartPage
Definition: simulationModelSetUpgradeWizard.h:276
QString myDestinationName
Definition: simulationModelSetUpgradeWizard.h:41
virtual void cancel()
Definition: newSimulationModelSetWizard.h:45
Definition: newSimulationModelSetWizard.h:28
virtual bool isLastPage() const
Definition: simulationModelSetUpgradeWizard.h:122
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:270
boost::shared_ptr< DtSmsUpgradeInfo > myInfo
Definition: simulationModelSetUpgradeWizard.h:216
QLabel * myDestinationLabel
Definition: simulationModelSetUpgradeWizard.h:79
DtSmsUpgradeType
Definition: simulationModelSetUpgradeWizard.h:32
Definition: simulationModelSetUpgradeWizard.h:36
Definition: simulationModelSetUpgradeWizard.h:51
boost::shared_ptr< DtSimulationModelSet > myNewBaseSms
Definition: simulationModelSetUpgradeWizard.h:46
QPushButton * mySaveButton
Definition: simulationModelSetUpgradeWizard.h:241
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69
QLabel * myAdditionalText
Definition: simulationModelSetUpgradeWizard.h:130
boost::shared_ptr< DtSmsUpgradeInfo > myInfo
Definition: simulationModelSetUpgradeWizard.h:244
virtual bool isLastPage() const
Definition: simulationModelSetUpgradeWizard.h:60
virtual void execute()
Definition: newSimulationModelSetWizard.h:43
QLabel * myDescription
Definition: simulationModelSetUpgradeWizard.h:240
QList< DtWizardPage * > myPages
Definition: simulationModelSetUpgradeWizard.h:272
virtual bool showFinishButton() const
Definition: simulationModelSetUpgradeWizard.h:123
boost::shared_ptr< DtSmsUpgradeInfo > myInfo
Definition: simulationModelSetUpgradeWizard.h:278
QPushButton * myBrowseButton
Definition: simulationModelSetUpgradeWizard.h:77
virtual bool showFinishButton() const
Definition: simulationModelSetUpgradeWizard.h:95
#define DT_DLL_simulationObjectEditorimpl
This file is used to determine how to build.
Definition: simulationObjectEditorImplDefines.h:32
QLineEdit * myDestinationName
Definition: simulationModelSetUpgradeWizard.h:80