PDA

View Full Version : scrollbar with buttongroup???



chandantheracer
4th May 2011, 05:49
i have a widget suppose xyz,i add a button group to this widget with twenty buttons.how i set scrollbar in this widget so that user able to see all pushbuttons?

chandantheracer
4th May 2011, 09:10
http://doc.trolltech.com/latest/qscrollarea.html

button group is not a widget thats why i got error in setwidget.any hint there?

nish
4th May 2011, 12:01
put the buttons and buttongroup in a QWidget and then put the QWidget inside the scrollarea

chandantheracer
9th May 2011, 07:00
i used as u suggested but after that button not shows.