From da66ed8ce7421506ddeb4e7feea13987c26620c7 Mon Sep 17 00:00:00 2001 From: Rainer Keller Date: Wed, 15 Apr 2015 10:08:27 +0200 Subject: 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 --- src/b2qt-flashing-wizard/progress_page.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/b2qt-flashing-wizard/progress_page.h') 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 -- cgit v1.2.3