PDA

View Full Version : Scrollbar



sabeesh
31st October 2007, 07:54
Hi,
I need to show some photos in a widget. My probs is that, each time the number of photos are change. I need a scrollbar in that widget and need to scroll that widget for see the photos. How can i do it. Which widget can i use? Please help me

jpn
31st October 2007, 08:33
All the item views are scrollable:

QListView (or QListWidget)
QTreeView (or QTreeWidget)
QTableView (or QTableWidget)

The graphics view is scrollable too:

QGraphicsView

Alternatively, you can build any kind of widget showing your photos and put it into a scroll area:

QScrollArea