summaryrefslogtreecommitdiff
path: root/noncore/unsupported/mail2/mailstatusbar.h
authorconber <conber>2002-08-06 16:32:49 (UTC)
committer conber <conber>2002-08-06 16:32:49 (UTC)
commit8084d002de5e310491eec7fac0713ef29d0cf30f (patch) (unidiff)
treefe74e3cf2ee2f7d87e74910fbf4bfa34b9a439a0 /noncore/unsupported/mail2/mailstatusbar.h
parente6a512dc2e0602298f8a745036d25eb171ced977 (diff)
downloadopie-8084d002de5e310491eec7fac0713ef29d0cf30f.zip
opie-8084d002de5e310491eec7fac0713ef29d0cf30f.tar.gz
opie-8084d002de5e310491eec7fac0713ef29d0cf30f.tar.bz2
ui improvements
Diffstat (limited to 'noncore/unsupported/mail2/mailstatusbar.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/unsupported/mail2/mailstatusbar.h38
1 files changed, 38 insertions, 0 deletions
diff --git a/noncore/unsupported/mail2/mailstatusbar.h b/noncore/unsupported/mail2/mailstatusbar.h
new file mode 100644
index 0000000..11cd538
--- a/dev/null
+++ b/noncore/unsupported/mail2/mailstatusbar.h
@@ -0,0 +1,38 @@
1#ifndef MAILSTATUSBAR_H
2#define MAILSTATUSBAR_H
3
4#include <qhbox.h>
5
6class QLabel;
7class QToolButton;
8class QProgressBar;
9
10class MailStatusBar : public QHBox
11{
12 Q_OBJECT
13
14public:
15 MailStatusBar(QWidget *parent = 0, const char *name = 0, WFlags fl = 0);
16
17public slots:
18 void setStatusText(const QString &text);
19 void setStopEnabled(bool enabled);
20 void setProgressTotalSteps(int steps);
21 void setProgress(int progress);
22 void resetProgress();
23
24signals:
25 void stop();
26
27protected slots:
28 void stopClicked();
29
30private:
31 QLabel *label;
32 QToolButton *stopButton;
33 QProgressBar *progress;
34
35};
36
37#endif
38