[Qt-interest] How to put a QLayout in a QScrollArea ?

Stephen Collyer scollyer at netspinner.co.uk
Mon Dec 14 17:52:33 CET 2009


I want to create a scrollable widget containing a QVBoxLayout of other
widgets. However, QScrollArea::setWidget() wants a QWidget*, not a QLayout*.

Is there straightforward way to do this ?

-- 
Stephen Collyer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20091214/ca52e72e/attachment.html 


More information about the Qt-interest-old mailing list