View Full Version : What do I need to create this scrollbar?

15th October 2009, 10:17
Hi guys I'm new to QT.

What I'm wanting is basically a vertical scroll bar and have the scroll bar scroll through avatars with text besides the avatar. Just like a contact list.

What type of widgets would I need to create to accomplish such a thing?


15th October 2009, 10:28
QListWidget sounds like a good start.

15th October 2009, 16:28
QListView with an appropriate model that you have to implement. QListWidget might look nice to implement something but in the end it is not so nice that you duplicate all your data unless you want the QListWidget to be part of your application logic.