PDA

View Full Version : Unembed QDialog in QGraphicsProxyWidget



lfiedler
14th December 2010, 16:53
I have a QDialog in a graphicsview by using a QGraphicsProxyWidget and calling setWidget(dialog). However, I'd like to be able to "unembed" or "undock" the dialog from the graphicsview. I can call setWidget(NULL) on the proxy and it turns white, but my dialog doesn't pop out.

Can widgets be pulled out of a proxy?

wysota
15th December 2010, 01:49
Delete the proxy and show() or exec() the real widget.