when you read the documentation carefully it helps
addWidget returns a pointer so you can use it to know when its being closed
QGraphicsProxyWidget *p = new QGraphicsProxyWidget;
p=scene->addWidget(mydialog,Qt::Dialog);
connect(p, SIGNAL(visibleChanged()),this,SLOT(closingTable()));
QGraphicsProxyWidget *p = new QGraphicsProxyWidget;
p=scene->addWidget(mydialog,Qt::Dialog);
connect(p, SIGNAL(visibleChanged()),this,SLOT(closingTable()));
To copy to clipboard, switch view to plain text mode
if someone has a better solution please let me know
Bookmarks