Hello.

I'm working on project that use QGraphicsView.

I interactively group child elements (items) and ungroup. Everything is fine, but when I do ungroup, sceneRect in view increases. Look:

scene QRectF(0,0 800x630) form pos QPointF(0,0)

sceneRect QRectF(-5,-5 805x640)

sceneRect QRectF(-5,-5 805x640) <-- Normal state

sceneRect QRectF(-5,-186 805x821) <-- Here I did ungroup and sceneRect increased.

sceneRect QRectF(-5,-186 805x821)

sceneRect QRectF(-5,-186 805x821)

sceneRect QRectF(-5,-186 805x821)

scene QRectF(0,0 800x630) form pos QPointF(0,0) <-- But scene's itemsBoundingRect() is unchanged.

What it can be? Thank you.


_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to