Hi all,
In my element I am creating SBGWindow from QWidgets and I would like to catch their closing signal. Does any one of you know how to do it ?
I already tried to connect to the QWidget closing signal:
SAMSONWindow = SAMSON::addWidget(windowsVector[imageNumber], "RDKit SmilesConverter", SBGWindow::Lockable);
QObject::connect(SAMSONWindow, SIGNAL(close()), this, SLOT(saveImage()));
But it didn't work because SBGWindow doesn't have close() signal. I think it will be very useful to add it.
Thanks for your help !
Yassine