summaryrefslogtreecommitdiffstats
path: root/src/b2qt-flashing-wizard
diff options
context:
space:
mode:
authorRainer Keller <rainer.keller@theqtcompany.com>2014-11-24 11:06:18 +0100
committerRainer Keller <rainer.keller@theqtcompany.com>2014-11-25 09:33:39 +0200
commit464a2287adfac7020300484eb9813c76382c664d (patch)
tree9320281c6ba168d84cd810f6b28a945b880bcf68 /src/b2qt-flashing-wizard
parent74f87c03bbde4ba032fc6571fbcaf4613a8b3030 (diff)
b2qt-flashing-wizard: Add busy indicator on progress page
Change-Id: I5647994d8a950b29702de665dd53d7cec61bacd4 Reviewed-by: Rainer Keller <rainer.keller@theqtcompany.com>
Diffstat (limited to 'src/b2qt-flashing-wizard')
-rw-r--r--src/b2qt-flashing-wizard/progress_page.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/b2qt-flashing-wizard/progress_page.cpp b/src/b2qt-flashing-wizard/progress_page.cpp
index 9e49228..567d986 100644
--- a/src/b2qt-flashing-wizard/progress_page.cpp
+++ b/src/b2qt-flashing-wizard/progress_page.cpp
@@ -24,6 +24,7 @@
#include <QDebug>
#include <QLabel>
#include <QLayout>
+#include <QProgressBar>
#include <QPushButton>
#include <QTextEdit>
#include <QTimer>
@@ -40,6 +41,9 @@ ProgressPage::ProgressPage(QWidget *parent)
setTitle(tr("Disk Creation"));
setSubTitle(tr("Writing the hardware platform image to the disk"));
setLayout(new QVBoxLayout(this));
+ QProgressBar *progressBar = new QProgressBar(this);
+ progressBar->setRange(0, 0);
+ layout()->addWidget(progressBar);
mProgress->setWordWrap(true);
mProgress->setText(tr("Preparing the disk device..."));
layout()->addWidget(mProgress);