summaryrefslogtreecommitdiffstats
path: root/src/b2qt-flashing-wizard/progress_page.h
diff options
context:
space:
mode:
authorRainer Keller <rainer.keller@theqtcompany.com>2015-04-15 10:08:27 +0200
committerRainer Keller <rainer.keller@theqtcompany.com>2015-04-20 15:05:03 +0300
commitda66ed8ce7421506ddeb4e7feea13987c26620c7 (patch)
tree5510857b5591f9f1f902ca91e14fba34662baf71 /src/b2qt-flashing-wizard/progress_page.h
parent8d960279e3398375f2b9cea242289be562332b9a (diff)
b2qt-flashing-wizard: Hints for users to find error messages more easily
If the image creation fails the details widget is opened and scrolled to bottom automatically. Also the progressbar is disabled to indicate a stop. Change-Id: I74573a2b19d915ac90a12645e3e806a979f74baf Reviewed-by: Rainer Keller <rainer.keller@theqtcompany.com>
Diffstat (limited to 'src/b2qt-flashing-wizard/progress_page.h')
-rw-r--r--src/b2qt-flashing-wizard/progress_page.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/b2qt-flashing-wizard/progress_page.h b/src/b2qt-flashing-wizard/progress_page.h
index f99f11b..c2e4c4c 100644
--- a/src/b2qt-flashing-wizard/progress_page.h
+++ b/src/b2qt-flashing-wizard/progress_page.h
@@ -25,6 +25,7 @@ class QLabel;
class Actor;
class QTextEdit;
class QPushButton;
+class QProgressBar;
class ProgressPage : public QWizardPage
{
@@ -41,6 +42,8 @@ public slots:
void finished();
void failed(const QString &step);
void addDetails(QByteArray newData);
+ void showDetails();
+ void hideDetails();
void toggleDetails();
void copyDetailsToClipboard();
@@ -51,6 +54,7 @@ private:
QTextEdit *mTextEdit;
QPushButton *mToggleDetailsButton;
QPushButton *mCopyToClipboardButton;
+ QProgressBar *mProgressBar;
};
#endif // PROGRESS_PAGE_H