[Qt-interest] Change QGraphicsItem size according to QGraphicsLayout

Ori Lahav vbcrlf at gmail.com
Fri Jun 25 09:00:08 CEST 2010


Hello,

I have a QGraphicsItem placed inside a scene, and a QGraphicsLayout with
some widgets in it. The layout with the widgets inside that QGraphicsLayout
(some of them are QGraphicsProxyWidget) takes more space than the size of
the parent QGraphicsItem. How can I tell QGraphicsItem to change it size to
the minimum size of its layout?

Thanks!
Ori
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100625/4b9e1917/attachment.html 


More information about the Qt-interest-old mailing list