PDA

View Full Version : Stacked Widget Scroll



csvivek
7th May 2008, 17:00
Is it possible to have scroll bars for stacked widgets based on the current page?
with the size policy of the stacked widget being made fixed

marcel
7th May 2008, 17:14
You can create a QScrollArea with a fixed size and add the stacked widget to the scroll area.

csvivek
23rd May 2008, 15:24
can this be done with the designer?
I am actually creating the GUI with designer! in that case the stackedwidget would have been already added to the mainwindow with number of pages and controls in it.
now depending on the controls present i need to add the scroll bar. what should i do?
--

jpn
25th May 2008, 08:15
QScrollArea is available under "Containers" section in Qt 4.4 Designer.

csvivek
27th May 2008, 04:12
i use Qt 4.2.2!:(

csvivek
27th May 2008, 04:14
is it possible to take the scroll area supporting library alone as a plugin from 4.4 and use it at 4.2.2?

jpn
27th May 2008, 11:36
Maybe it's time to update to today's version of Qt. Your version, Qt 4.2.2, which was released in December 2006, is not even latest in the 4.2 series...