PDA

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



technoViking
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?

Thanks!

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

axeljaeger
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.