PDA

View Full Version : About QGraphicsProxyWidget



kehlaaa
19th December 2011, 17:03
OneMDI programme, i embed a QWidget to the current QGraphicsScene, but i donot want to auto delete it when the scene deleted ,so i call the func removeItem() to remove the embeded widget not delete it, before the scene is deleted.

when i exec the programme ,it does not step into the destructor of the embeded widget, but i cannot show the widget again, or embed it in another QGraphicsScene.

i am so fuzzy, expect for your help, thx.