From kde-devel Wed Apr 28 21:58:15 2004 From: Weinzierl Stefan Date: Wed, 28 Apr 2004 21:58:15 +0000 To: kde-devel Subject: Re: How to have KDE flag icons in QListViewItem ? Message-Id: <409028F7.7050303 () Weinzierl-Stefan ! de> X-MARC-Message: https://marc.info/?l=kde-devel&m=108318950819409 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 <<