comparison ui/createinstallerdialog.h @ 524:a097dd86cb4d

merged.
author Raimund Renkert <rrenkert@intevation.de>
date Tue, 29 Apr 2014 15:26:43 +0200
parents 3332db04c77d
children f6371e9c959a
comparison
equal deleted inserted replaced
523:ca583ffe728a 524:a097dd86cb4d
9 #define CREATEINSTALLERDIALOG_H 9 #define CREATEINSTALLERDIALOG_H
10 10
11 #include <QDialog> 11 #include <QDialog>
12 #include <QMainWindow> 12 #include <QMainWindow>
13 #include <QLineEdit> 13 #include <QLineEdit>
14 #include <QProcess>
15 #include <QProgressDialog>
14 /** 16 /**
15 * @file createinstallerdialog.h 17 * @file createinstallerdialog.h
16 * @brief The dialog to show settings and create an installer. 18 * @brief The dialog to show settings and create an installer.
17 */ 19 */
18 20
29 31
30 private: 32 private:
31 void setupGUI(); 33 void setupGUI();
32 34
33 QLineEdit *mCertFile; 35 QLineEdit *mCertFile;
34 QLineEdit *mArchiveFile; 36 QLineEdit *mBinaryFolder;
35 QLineEdit *mSaveFile; 37 QLineEdit *mSaveFile;
38
39 QProcess mNSISProc;
40 QProgressDialog mProgress;
41
42 /** @brief show an error message with QMessageBox
43 *
44 * @param [in] msg The message to show
45 */
46 void showErrorMessage(const QString &msg);
36 47
37 private slots: 48 private slots:
38 void openCertificateSelect(); 49 void openCertificateSelect();
39 void openArchiveSelect(); 50 void openFolderSelect();
40 void openSaveLocation(); 51 void openSaveLocation();
41 void createInstaller(); 52 void createInstaller();
53
54 /* Slots for the creator process */
55 void processError(QProcess::ProcessError error);
56 void processFinished(int exitCode, QProcess::ExitStatus exitStatus);
42 }; 57 };
43 58
44 #endif // CREATEINSTALLERDIALOG_H 59 #endif // CREATEINSTALLERDIALOG_H

http://wald.intevation.org/projects/trustbridge/