From 8084d002de5e310491eec7fac0713ef29d0cf30f Mon Sep 17 00:00:00 2001 From: conber Date: Tue, 06 Aug 2002 16:32:49 +0000 Subject: ui improvements --- (limited to 'noncore/unsupported/mail2/mainwindowbase.cpp') 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 @@ -#include -#include #include #include #include @@ -11,6 +9,7 @@ #include #include "mainwindowbase.h" +#include "mailstatusbar.h" #include "folderwidget.h" #include "mailtable.h" @@ -65,22 +64,7 @@ MainWindowBase::MainWindowBase(QWidget *parent, const char *name, WFlags fl) mailView = new MailTable(view); mailView->setMinimumHeight(50); - QHBox *status = new QHBox(view); - - statusLabel = new QLabel(status); - QFont tmpFont = statusLabel->font(); - tmpFont.setPixelSize(8); - statusLabel->setFont(tmpFont); - - stopButton = new QToolButton(status); - stopButton->setText(" X "); - stopButton->setMaximumHeight(15); - stopButton->setSizePolicy(QSizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed)); - - statusProgress = new QProgressBar(status); - statusProgress->setCenterIndicator(true); - statusProgress->setMaximumHeight(15); - statusProgress->setSizePolicy(QSizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed)); + status = new MailStatusBar(view); } void MainWindowBase::slotFoldersToggled(bool toggled) -- cgit v0.9.0.2