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

List:       kde-devel
Subject:    Re: How to have KDE flag icons in QListViewItem ?
From:       Weinzierl Stefan <Stefan () Weinzierl-Stefan ! de>
Date:       2004-04-28 21:58:15
Message-ID: 409028F7.7050303 () Weinzierl-Stefan ! de
[Download RAW message or body]

Kevin Krammer wrote:
 > On Tuesday 27 April 2004 10:33, Giuseppe Torelli wrote:
 >
 >>Hi,
 >>
 >>I would like to have KDE flag icons inserted in a QListViewItem.
 >>Currently I retrieve the two letters country from the ouput of
 >>whois. Is there an example showing how to have the country
 >>flag icons in a QListViewItem corresponding to the country code ?
 >
 >
 > The country selector in KDE's control center has to do it somehow.
 > Maybe have a look at its code.

 From the Qt-Docu:

void QListViewItem::setPixmap ( int column, const QPixmap & pm ) [virtual]

Sets the pixmap in column column to pm, if pm is non-null and different
from the current pixmap, and if column is non-negative


Stefan
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

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