comparison ui/createinstallerdialog.h @ 526:f6371e9c959a

Add a dialog when installer creation is done
author Andre Heinecke <aheinecke@intevation.de>
date Tue, 29 Apr 2014 13:29:57 +0000
parents 3332db04c77d
children 6c4fff146999
comparison
equal deleted inserted replaced
525:3edbe1af2c85 526:f6371e9c959a
22 22
23 class CreateInstallerDialog : public QDialog 23 class CreateInstallerDialog : public QDialog
24 { 24 {
25 Q_OBJECT 25 Q_OBJECT
26 public: 26 public:
27 /** @brief Create a dialog showing settings for the create installer# 27 /** @brief Create a dialog showing settings for the create installer
28 * process 28 * process
29 * */ 29 * */
30 CreateInstallerDialog(QMainWindow *parent); 30 CreateInstallerDialog(QMainWindow *parent);
31 31
32 private: 32 private:
54 /* Slots for the creator process */ 54 /* Slots for the creator process */
55 void processError(QProcess::ProcessError error); 55 void processError(QProcess::ProcessError error);
56 void processFinished(int exitCode, QProcess::ExitStatus exitStatus); 56 void processFinished(int exitCode, QProcess::ExitStatus exitStatus);
57 }; 57 };
58 58
59 /** @brief The dialog shown after the installer was created. */
60 class FinishedDialog : public QDialog
61 {
62 Q_OBJECT
63
64 public:
65 /** @brief constructor for the dialog
66 *
67 * @param [in] parent the parent window
68 * @param [in] msg the message to show
69 * @param [in] details verbose information
70 * @param [in] isErr if the dialog should be shown as an error*/
71 FinishedDialog(QDialog *parent,
72 QString msg,
73 QString details,
74 bool isErr);
75
76 };
77
78
59 #endif // CREATEINSTALLERDIALOG_H 79 #endif // CREATEINSTALLERDIALOG_H

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