You are not logged in.
I'm working on a Qt project and would like to display images (with text) which the user can click, just like in the KDE Desktop Background selector below.
http://oi56.tinypic.com/jggjrp.jpg
Does anyone know the name of that widget?
mod edit: Hello, please read Forum Etiquette: Pasting Pictures and Code. Thanks. --fsckd
Last edited by fsckd (2011-08-24 00:51:44)
Offline
An "QListView" with a model that returns the image as "QPixmap" for "Qt::DecorationRole". Alternatively a "QListWidget" with items that have the image set as "QPixmap" for "Qt::DecorationRole" (by using "QListWidgetItem::setData()")
Last edited by lunar (2011-08-24 05:57:22)
Offline