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) (side-by-side diff)
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 @@
+#ifndef MAILSTATUSBAR_H
+#define MAILSTATUSBAR_H
+
+#include <qhbox.h>
+
+class QLabel;
+class QToolButton;
+class QProgressBar;
+
+class MailStatusBar : public QHBox
+{
+ Q_OBJECT
+
+public:
+ MailStatusBar(QWidget *parent = 0, const char *name = 0, WFlags fl = 0);
+
+public slots:
+ void setStatusText(const QString &text);
+ void setStopEnabled(bool enabled);
+ void setProgressTotalSteps(int steps);
+ void setProgress(int progress);
+ void resetProgress();
+
+signals:
+ void stop();
+
+protected slots:
+ void stopClicked();
+
+private:
+ QLabel *label;
+ QToolButton *stopButton;
+ QProgressBar *progress;
+
+};
+
+#endif
+