[PyQt] help with qscrollarea for a stacked widget

NISA BALAKRISHNAN snisa.balakrishnan at gmail.com
Wed Jan 27 12:12:10 GMT 2010


i am new to pyqt.
i have created my gui using Qtdesigner4
now i want to add a  vertical scrollbar to stacked widget which is placed on
a frame.
when i do it as follows the stacked widget forms a new window. i want it in
the existing main window.
self.scrollarea=QtGui.scrollArea()
self.scrollarea.setwidget(self.stackedWidget)
self.scrollarea.show()

any help appretiated.
thanks in advance!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20100127/7c1dd9be/attachment.html>


More information about the PyQt mailing list