Fix bad language.
[dorian] / widgets / progressdialog.h
1 #ifndef PROGRESSDIALOG_H
2 #define PROGRESSDIALOG_H
3
4 #include <QString>
5 #include <QProgressDialog>
6
7 /** Simple wrapper for QProgressDialog. */
8 class ProgressDialog: public QProgressDialog
9 {
10     Q_OBJECT
11
12 public:
13     explicit ProgressDialog(const QString &label, QWidget *parent = 0);
14
15 public slots:
16     /** Show wait animation instead of progress bar. */
17     void showWait();
18
19     /** Show dialog, adjust position if needed. */
20     void show();
21 };
22
23 #endif // PROGRESSDIALOG_H