diff 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
line wrap: on
line diff
--- a/ui/createinstallerdialog.h	Tue Apr 29 13:29:28 2014 +0000
+++ b/ui/createinstallerdialog.h	Tue Apr 29 13:29:57 2014 +0000
@@ -24,7 +24,7 @@
 {
     Q_OBJECT
 public:
-    /** @brief Create a dialog showing settings for the create installer#
+    /** @brief Create a dialog showing settings for the create installer
      * process
      * */
     CreateInstallerDialog(QMainWindow *parent);
@@ -56,4 +56,24 @@
     void processFinished(int exitCode, QProcess::ExitStatus exitStatus);
 };
 
+/** @brief The dialog shown after the installer was created. */
+class FinishedDialog : public QDialog
+{
+    Q_OBJECT
+
+    public:
+        /** @brief constructor for the dialog
+         *
+         * @param [in] parent the parent window
+         * @param [in] msg the message to show
+         * @param [in] details verbose information
+         * @param [in] isErr if the dialog should be shown as an error*/
+        FinishedDialog(QDialog *parent,
+                       QString msg,
+                       QString details,
+                       bool isErr);
+
+};
+
+
 #endif // CREATEINSTALLERDIALOG_H

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