Am not sure if thats possible in a straight way. I can think of 3 ways to accomplish the same -
1) Use chevrons, the small inverted arrows which show a menu to choose from. You might see them in Word or some other application
2) Use QListview and implement your own items to behave like a pusbutton. Or in simple case just change the cursor on hover event and make the list item work as a link/button. Be sure u use IConView for the list
3) In Qt 4.4 you can add widgets to QGraphicsView. This might help your case if you are bent on using QPushButton. QGraphicsView is derived from QAbstractScrollArea, so it will have scrollbars as u need them.
4) Make your own scrollbar for your widget. But why reinvent the wheel![]()
Bookmarks