I am trying to catch the closeEvent of a QDockWidget in my GUI. But destroyed() doesn't work and I have tried everything else I can't seem to get it to work.
What would be the simplest solution for this. Maybe a two liner. Just to catch the Qdockwidget exit event and then print something for instance. I have used Qt designer to create that widget.
cheers Anns