author | zautrix <zautrix> | 2004-12-05 14:38:15 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2004-12-05 14:38:15 (UTC) |
commit | ea023772f18fa52d2b3d523a68d707576629326f (patch) (unidiff) | |
tree | 5c41a05954c543fefb49a27f256f2995a5a67b2a /kmicromail/viewmailbase.cpp | |
parent | 06bebf5be01898145c4f721a8d002519141e7f3b (diff) | |
download | kdepimpi-ea023772f18fa52d2b3d523a68d707576629326f.zip kdepimpi-ea023772f18fa52d2b3d523a68d707576629326f.tar.gz kdepimpi-ea023772f18fa52d2b3d523a68d707576629326f.tar.bz2 |
ompi mail view fix
-rw-r--r-- | kmicromail/viewmailbase.cpp | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/kmicromail/viewmailbase.cpp b/kmicromail/viewmailbase.cpp index 3d7ed42..c4731a7 100644 --- a/kmicromail/viewmailbase.cpp +++ b/kmicromail/viewmailbase.cpp | |||
@@ -40,26 +40,37 @@ ViewMailBase::ViewMailBase(QWidget *parent, const char *name, WFlags fl) | |||
40 | attachbutton->addTo(toolbar); | 40 | attachbutton->addTo(toolbar); |
41 | attachbutton->addTo(mailmenu); | 41 | attachbutton->addTo(mailmenu); |
42 | connect(attachbutton, SIGNAL(toggled(bool)), SLOT(slotChangeAttachview(bool))); | 42 | connect(attachbutton, SIGNAL(toggled(bool)), SLOT(slotChangeAttachview(bool))); |
43 | 43 | ||
44 | 44 | ||
45 | showHtml = new QAction( i18n( "Show Html" ), SmallIcon( "html" ), 0, 0, this, 0, true ); | 45 | showHtml = new QAction( i18n( "Show Html" ), SmallIcon( "html" ), 0, 0, this, 0, true ); |
46 | showHtml->addTo( toolbar ); | 46 | showHtml->addTo( toolbar ); |
47 | showHtml->addTo( mailmenu ); | 47 | showHtml->addTo( mailmenu ); |
48 | 48 | ||
49 | deleteMail = new QAction(i18n("Delete Mail"),SmallIcon("trash"), 0, 0, this); | 49 | deleteMail = new QAction(i18n("Delete Mail"),SmallIcon("trash"), 0, 0, this); |
50 | deleteMail->addTo(toolbar); | 50 | deleteMail->addTo(toolbar); |
51 | deleteMail->addTo(mailmenu); | 51 | deleteMail->addTo(mailmenu); |
52 | closeMail = new QAction(i18n("Close"),SmallIcon("exit"), 0, 0, this); | 52 | |
53 | |||
54 | |||
55 | nextMail = new QAction(i18n("Show next mail"),SmallIcon("add"), 0, 0, this); | ||
53 | QLabel *spacer = new QLabel(toolbar); | 56 | QLabel *spacer = new QLabel(toolbar); |
57 | nextMail->addTo(toolbar); | ||
58 | nextMail->addTo(mailmenu); | ||
59 | |||
60 | |||
61 | |||
62 | |||
63 | closeMail = new QAction(i18n("Close"),SmallIcon("exit"), 0, 0, this); | ||
64 | //QLabel *spacer = new QLabel(toolbar); | ||
54 | spacer->setBackgroundMode(QWidget::PaletteButton); | 65 | spacer->setBackgroundMode(QWidget::PaletteButton); |
55 | toolbar->setStretchableWidget(spacer); | 66 | toolbar->setStretchableWidget(spacer); |
56 | closeMail->addTo(toolbar); | 67 | closeMail->addTo(toolbar); |
57 | closeMail->addTo(mailmenu); | 68 | closeMail->addTo(mailmenu); |
58 | QVBox *view = new QVBox(this); | 69 | QVBox *view = new QVBox(this); |
59 | setCentralWidget(view); | 70 | setCentralWidget(view); |
60 | 71 | ||
61 | attachments = new QListView(view); | 72 | attachments = new QListView(view); |
62 | attachments->setMinimumHeight(90); | 73 | attachments->setMinimumHeight(90); |
63 | attachments->setMaximumHeight(90); | 74 | attachments->setMaximumHeight(90); |
64 | attachments->setAllColumnsShowFocus(true); | 75 | attachments->setAllColumnsShowFocus(true); |
65 | attachments->addColumn("Mime Type", 60); | 76 | attachments->addColumn("Mime Type", 60); |