QGraphicsAnchorLayout: Set size policy in the example
authorAnselmo Lacerda S. de Melo <anselmo.melo@openbossa.org>
Wed, 16 Sep 2009 23:28:11 +0000 (20:28 -0300)
committerJan-Arve Sæther <jan-arve.saether@nokia.com>
Fri, 18 Sep 2009 08:28:28 +0000 (10:28 +0200)
commit403f533b09df5982c9d9ffea35a9ff8363704869
tree65bdc6b1e6cce1f751c5c52821df6301ddc23a62
parent91cd65ff36b0465c3eef4e1575f064c1cf7e9236
QGraphicsAnchorLayout: Set size policy in the example

Set QSizePolicy::Preferred to all proxy widgets (after setWidgeT) in the
QGraphicsAnchorLayout example to avoid "QSimplex: No feasible solution!"
that occurs when all items are set with QPushButton's default size policy.

Signed-off-by: Anselmo Lacerda S. de Melo <anselmo.melo@openbossa.org>
examples/graphicsview/anchorlayout/main.cpp