summaryrefslogtreecommitdiffstats
path: root/progressdialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'progressdialog.h')
-rw-r--r--progressdialog.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/progressdialog.h b/progressdialog.h
index 35ede38..86a31bc 100644
--- a/progressdialog.h
+++ b/progressdialog.h
@@ -11,6 +11,7 @@ class ProgressDialog : public QDialog {
ProgressDialog(QWidget *parent = 0, Qt::WindowFlags f = 0);
void setLabelText(const QString &src, const QString &dst);
void setMaximum(int max) { mProgress->setMaximum(max); }
+ void setSummary(const QString &sum) { mSum->setText(sum); }
public slots:
void setValue(int val);
@@ -21,6 +22,7 @@ class ProgressDialog : public QDialog {
private:
QLabel *mSrc;
QLabel *mDst;
+ QLabel *mSum;
QProgressBar *mProgress;
};