[Qt-interest] How to put a QLayout in a QScrollArea ?
Stephen Collyer
scollyer at netspinner.co.uk
Tue Dec 15 17:18:22 CET 2009
2009/12/15 Constantin Makshin <cmakshin at gmail.com>
> There's no magic. QScrollArea needs and uses its own layout for scroll
> bar[s].
That's a good point.
> Also documentation clearly describes QScrollArea'ss purpose and
> the way its contents must be specified: "A scroll area is used to display
> the contents of a child widget within a frame. ... The child widget must
>
>
Right. But the trick is in seeing that this can be done with a dummy
QWidget, which is not intuitive.
--
Stephen Collyer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20091215/f908776b/attachment.html
More information about the Qt-interest-old
mailing list