[PyQt] help with qscrollarea for a stacked widget

Russell Valentine russ at coldstonelabs.org
Thu Jan 28 18:10:20 GMT 2010


nisa wrote:
> 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!
> 


We don't have enough info from you to really help.



More information about the PyQt mailing list