[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: Multi column lists
From: Roberto Alsina <ralsina () unl ! edu ! ar>
Date: 1999-06-18 15:50:55
[Download RAW message or body]
On Fri, 18 Jun 1999, Dawit Alemayehu wrote:
> Well QListView had one flow in qt-1.4x. It does not allow you change the
> foreground color of the individual items in the list, at least not as easily as
> in KTabListBox. This comes in handy when you want to show show that the
> items are disabled. I have not checked the new version in qt-2.0, but some
> apps need this feature ...
It's actually quite trivial to do. You need to reimplement
QListViewItem::paintCell, but it's not really a huge chunk of code.
Besides, if your application requires specific kinds of drawing it may
even be faster than the QListViewItem generic implementation :-)
For example, a QListView that does no graphics.
("\''/").__..-''"`-. . Roberto Alsina
`9_ 9 ) `-. ( ).`-._.`) ralsina@unl.edu.ar
(_Y_.)' ._ ) `._`. " -.-' Centro de Telematica
_..`-'_..-_/ /-'_.' Universidad Nacional del Litoral
(l)-'' ((i).' ((!.' Santa Fe - Argentina
KDE Developer (MFCH)
An opinion you can't give reasons for is not an opinion worth having (I)
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic