[Kde-pim] Review Request: make custom fonts work in message list view
Martin Koller
kollix at aon.at
Sun Aug 9 22:22:41 BST 2009
> On 2009-08-09 20:49:02, Thomas McGuire wrote:
> > trunk/KDE/kdepim/kmail/messagelistview/core/messageitem.h, line 147
> > <http://reviewboard.kde.org/r/1249/diff/1/?file=9789#file9789line147>
> >
> > add spaces to the inside of the parenthesis
done
> On 2009-08-09 20:49:02, Thomas McGuire wrote:
> > trunk/KDE/kdepim/kmail/messagelistview/storagemodel.cpp, line 158
> > <http://reviewboard.kde.org/r/1249/diff/1/?file=9798#file9798line158>
> >
> > This setting is also in the kmail.kcfg, so it is better to use the GlobalSettings class for accessing it.
done
> On 2009-08-09 20:49:02, Thomas McGuire wrote:
> > trunk/KDE/kdepim/kmail/messagelistview/storagemodel.cpp, line 535
> > <http://reviewboard.kde.org/r/1249/diff/1/?file=9798#file9798line535>
> >
> > This seems like a lot of code duplication, which was also in the original code.
> > Would be good to clean that up eventually.
did that by introducing a new private method.
- Martin
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviewboard.kde.org/r/1249/#review1941
-----------------------------------------------------------
On 2009-08-09 20:37:35, Martin Koller wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://reviewboard.kde.org/r/1249/
> -----------------------------------------------------------
>
> (Updated 2009-08-09 20:37:35)
>
>
> Review request for KDE PIM.
>
>
> Summary
> -------
>
> This patch brings back the functionality of using custom defined fonts inside the new message list view on a message-status base.
>
> After a short discussion with the original author of the new message list, Szymon Tomasz Stefanek, I removed all the caching code for fontMetrics, sizeHint, etc. as it did not work with sizeHints per message but per theme and the performance I measured with a mailfolder containing 25900 messages was as good as before.
> To me it seems that all the performance improvements which went into the Qt4.5 version solved the problems the original author had to work around while using Qt4.4
>
> The patch also removes the font setting for the date-column from the configure dialog as this is already settable in the theme.
>
> Also, the fonts and colors to be used for a message depending on the status has been slightly modified to match the behavior of KDE3.
>
>
> This addresses bug 178402.
> https://bugs.kde.org/show_bug.cgi?id=178402
>
>
> Diffs
> -----
>
> trunk/KDE/kdepim/kmail/configuredialog.cpp 1009321
> trunk/KDE/kdepim/kmail/configuredialog_p.h 1009321
> trunk/KDE/kdepim/kmail/messagelistview/core/delegate.cpp 1009321
> trunk/KDE/kdepim/kmail/messagelistview/core/messageitem.h 1009321
> trunk/KDE/kdepim/kmail/messagelistview/core/model.cpp 1009321
> trunk/KDE/kdepim/kmail/messagelistview/core/theme.h 1009321
> trunk/KDE/kdepim/kmail/messagelistview/core/theme.cpp 1009321
> trunk/KDE/kdepim/kmail/messagelistview/core/themedelegate.h 1009321
> trunk/KDE/kdepim/kmail/messagelistview/core/themedelegate.cpp 1009321
> trunk/KDE/kdepim/kmail/messagelistview/core/themeeditor.h 1009321
> trunk/KDE/kdepim/kmail/messagelistview/core/themeeditor.cpp 1009321
> trunk/KDE/kdepim/kmail/messagelistview/storagemodel.h 1009321
> trunk/KDE/kdepim/kmail/messagelistview/storagemodel.cpp 1009321
>
> Diff: http://reviewboard.kde.org/r/1249/diff
>
>
> Testing
> -------
>
> all different aggregation modes and themes with a mail folder of > 25900 messages (mbox and maildir).
>
>
> Thanks,
>
> Martin
>
>
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/
More information about the kde-pim
mailing list