summaryrefslogtreecommitdiff
path: root/noncore/unsupported/mail2/mainwindowbase.cpp
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/mainwindowbase.cpp
parente6a512dc2e0602298f8a745036d25eb171ced977 (diff)
downloadopie-8084d002de5e310491eec7fac0713ef29d0cf30f.zip
opie-8084d002de5e310491eec7fac0713ef29d0cf30f.tar.gz
opie-8084d002de5e310491eec7fac0713ef29d0cf30f.tar.bz2
ui improvements
Diffstat (limited to 'noncore/unsupported/mail2/mainwindowbase.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/unsupported/mail2/mainwindowbase.cpp20
1 files changed, 2 insertions, 18 deletions
diff --git a/noncore/unsupported/mail2/mainwindowbase.cpp b/noncore/unsupported/mail2/mainwindowbase.cpp
index bffe8b3..e35d489 100644
--- a/noncore/unsupported/mail2/mainwindowbase.cpp
+++ b/noncore/unsupported/mail2/mainwindowbase.cpp
@@ -1,5 +1,3 @@
1#include <qprogressbar.h>
2#include <qtoolbutton.h>
3#include <qpopupmenu.h> 1#include <qpopupmenu.h>
4#include <qaction.h> 2#include <qaction.h>
5#include <qheader.h> 3#include <qheader.h>
@@ -11,6 +9,7 @@
11#include <qpe/resource.h> 9#include <qpe/resource.h>
12 10
13#include "mainwindowbase.h" 11#include "mainwindowbase.h"
12#include "mailstatusbar.h"
14#include "folderwidget.h" 13#include "folderwidget.h"
15#include "mailtable.h" 14#include "mailtable.h"
16 15
@@ -65,22 +64,7 @@ MainWindowBase::MainWindowBase(QWidget *parent, const char *name, WFlags fl)
65 mailView = new MailTable(view); 64 mailView = new MailTable(view);
66 mailView->setMinimumHeight(50); 65 mailView->setMinimumHeight(50);
67 66
68 QHBox *status = new QHBox(view); 67 status = new MailStatusBar(view);
69
70 statusLabel = new QLabel(status);
71 QFont tmpFont = statusLabel->font();
72 tmpFont.setPixelSize(8);
73 statusLabel->setFont(tmpFont);
74
75 stopButton = new QToolButton(status);
76 stopButton->setText(" X ");
77 stopButton->setMaximumHeight(15);
78 stopButton->setSizePolicy(QSizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed));
79
80 statusProgress = new QProgressBar(status);
81 statusProgress->setCenterIndicator(true);
82 statusProgress->setMaximumHeight(15);
83 statusProgress->setSizePolicy(QSizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed));
84} 68}
85 69
86void MainWindowBase::slotFoldersToggled(bool toggled) 70void MainWindowBase::slotFoldersToggled(bool toggled)