PDA

View Full Version : adding widgets to tabWidgets pages



quickNitin
23rd November 2006, 09:52
This post is in continuation to post
http://www.qtcentre.org/forum/f-newbie-4/t-setting-i-widgt-visibleinvisible-on-toggling-of-button-4550.html

i am trying to adda widget to one of tab pages of tabWidget, this widget is not shown properly since widget is bigger than tab pag and no scrolls appears. Can widget can be made auto adjustable to size of widget being added to it.
Also i want to have limited no of pages in tabwidget. So i want to display different widgets in those pages. Since these pages may already will be having some widgets, do simply parenting that page will help. Also what will happen to earlier widget. I would lie to delete that. Do ihave to remov the that tab and add a new on each time.

quickNitin

jpn
23rd November 2006, 09:59
Read this post (http://www.qtcentre.org/forum/f-newbie-4/t-form-not-auto-resizing-4572.html#2). The same thing goes for this. Just open the context menu over the tab widget's background this time.