Hi,

I have a scene to which i add a custom widget(mainly a dialog), in my custom widget i have reimplemented closeEvent(QCloseEvent *) to perform specific action when the custom widget is closed, however the closeEvent is not triggered when the custom widget is added to the scene, works fine otherwise, how can i work around this or use a signal when items are removed

thanks


Qt Code:
  1. mydialog = new DialogWindow;
  2. scene->addWidget(mydialog,Qt::Dialog);
To copy to clipboard, switch view to plain text mode