[Qt-interest] QGraphicsLayouts

Willy P willy.lists at gmail.com
Mon Oct 18 22:58:50 CEST 2010


Hey,
I'm looking for the best way to manage widgets inside a QGraphicsScene
so that the widget is always on the top right corner of a
QGraphicsView.  I want it to remain there when the view resizes.  The
only way I can think to do this is to manually create invisible items,
create anchor layouts to them, and adjust their positions on resize.
This seems a little bit kludgy and I'd be curious to hear other ideas.

Thanks,
Willy



More information about the Qt-interest-old mailing list