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

List:       kde-core-devel
Subject:    Bug in KListViewItem::paintCell
From:       Antonio Larrosa =?iso-8859-1?q?Jim=E9nez?= <larrosa () kde ! org>
Date:       2001-06-15 19:52:57
[Download RAW message or body]

Hello,

Could someone please have a look to KListViewItem::paintCell ?
I'd say the problem I reported some days ago in this list seems to be 
there. It uses :

  const QPixmap *pm = listView()->viewport()->backgroundPixmap();
  if (pm && !pm->isNull())
        _cg.setBrush(QColorGroup::Base, QBrush(backgroundColor(), *pm));

and I'd say that that's why it only paints the beginning of the background 
pixmap in each listview item (unless QColorGroup does some magic to get 
the offset from the contents instead of from the viewport which doesn't 
seem to work).

Greetings,

--
Antonio Larrosa Jimenez
KDE Core developer  - larrosa@kde.org
SuSE Labs developer - larrosa@suse.de
http://perso.wanadoo.es/antlarr
KDE - The development framework of the future, today.

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

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