[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kmail-devel
Subject:    Re: [RFC] blue unread count
From:       "Carsten Burghardt" <cb () magic-shop ! de>
Date:       2002-07-11 10:50:13
[Download RAW message or body]


 Don Sanders wrote:
> On Thursday 11 July 2002 04:19, Marc Mutz wrote:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> On Wednesday 10 July 2002 08:27, Don Sanders wrote:
>> <snip>
>>
>> > > Cut'n'Paste gives you only such horrid code as in
>> > > KMFolderTree, where the KMail re-implementation only does
>> > > what Qt or KDE's implementation already do (and possibly
>> > > much
>> > > better, since the cut'n'paste code that's in Kmail is
>> > > probably still of Qt1.x days :-( )
>> >
>> > Actually there is no cut'n'paste code. The
>> > KMFolderTreeItem::paintCell is a much simplified version of
>> > QListViewItem::paintCell that only does what is needed for
>> > KMFolderTreeItem.
>>
>> <snip>
>>
>> > I would like to apply my patch, wait awhile and if there are
>> > still problems reconsider the situation before 3.1 is
>> > released.
>>
>> <snip>
>>
>> One of the reasons why I wanted to get rid of paintCell actually
>> were the missing ellipses-functionality. We have
>> KSqeezedTextLabel, maybe a method that takes a QFont and a
>> QString and a width in
>> pixels and makes returns the squeezed text could be made static
>> and then used in the paintCell() re-implementation (not that
>> this would be the perfect solution). But then, I won't be using
>> the coloured unread count anyway, so for me, your patch is
>> equivalent to
>> removing paintCell() which means I will get the ellipses ;-)
>
> Hmm, I don't know whether that is actually true. But it sounds
> like a  good idea.
>
> I should update paintCell so that it just calls back to
> KListView::paintCell if the unread column is active, (have to
> leave  in 5 minutes can't do it right now).

But then you get a different behaviour when the unread-column is
active. This is not very nice.
-- 
Carsten Burghardt


_______________________________________________
KMail Developers mailing list
kmail@mail.kde.org
http://mail.kde.org/mailman/listinfo/kmail
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic