author | alwin <alwin> | 2003-12-13 03:51:21 (UTC) |
---|---|---|
committer | alwin <alwin> | 2003-12-13 03:51:21 (UTC) |
commit | 7f0861e63db74263ff286e09fbc4faf16d367a5b (patch) (unidiff) | |
tree | d97bd868343b179039c141fee3725f7781a0fca1 /noncore/net/mail/viewmailbase.cpp | |
parent | a170120c655169de904ff282e23461ba4eef2b47 (diff) | |
download | opie-7f0861e63db74263ff286e09fbc4faf16d367a5b.zip opie-7f0861e63db74263ff286e09fbc4faf16d367a5b.tar.gz opie-7f0861e63db74263ff286e09fbc4faf16d367a5b.tar.bz2 |
displaying list of attachments of a mail works. (Of course only if
the mail HAS attachments ;)
Diffstat (limited to 'noncore/net/mail/viewmailbase.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/net/mail/viewmailbase.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/noncore/net/mail/viewmailbase.cpp b/noncore/net/mail/viewmailbase.cpp index 197a665..38f92b4 100644 --- a/noncore/net/mail/viewmailbase.cpp +++ b/noncore/net/mail/viewmailbase.cpp | |||
@@ -51,15 +51,16 @@ ViewMailBase::ViewMailBase(QWidget *parent, const char *name, WFlags fl) | |||
51 | setCentralWidget(view); | 51 | setCentralWidget(view); |
52 | 52 | ||
53 | attachments = new QListView(view); | 53 | attachments = new QListView(view); |
54 | attachments->setMinimumHeight(90); | 54 | attachments->setMinimumHeight(90); |
55 | attachments->setMaximumHeight(90); | 55 | attachments->setMaximumHeight(90); |
56 | attachments->setAllColumnsShowFocus(true); | 56 | attachments->setAllColumnsShowFocus(true); |
57 | attachments->addColumn("Mime Type", 100); | 57 | attachments->addColumn("Mime Type", 60); |
58 | attachments->addColumn("Filename", 100); | 58 | attachments->addColumn(tr("Filename"), 100); |
59 | attachments->addColumn("Description", 100); | 59 | attachments->addColumn(tr("Size"), 80); |
60 | attachments->setSorting(-1); | ||
60 | attachments->hide(); | 61 | attachments->hide(); |
61 | 62 | ||
62 | browser = new QTextBrowser(view); | 63 | browser = new QTextBrowser(view); |
63 | 64 | ||
64 | //openDiag = new OpenDiag(view); | 65 | //openDiag = new OpenDiag(view); |
65 | //openDiag->hide(); | 66 | //openDiag->hide(); |