Hi all,
I'm trying to create a vertically scrolling list view which contains
radio buttons with images instead of text. (To allow the user to
select one image from a list).
I've tried using a QListViewWidget as the container, and creating a
class that sub-classes QRadioButton and QListViewItem as the object in
the list. Then using the icon of the radio button to hold the
QPixmap, and resizing the icon, and the radio button to display the
image in the correct size. I can get it to display one item right, but
more than 1 doesn't work. Also, the scroll bar scales properly, but
if I drag it up and down it doesn't actually scroll the list!
Can anyone point me to an example of where this is done? Or give me
just a little sample code that shows how to go about doing this?
I'm sure this is a really easy problem, but it's driving me nuts! =)
Thanks!
-Jeff
--
To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx with
"unsubscribe" in the subject or the body.
List archive and information: http://lists.trolltech.com/qt-interest/