Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
[SOLVED]close form(QDialog) when moved to background
ken536 last edited by
I wan't to close a form when another form on the background is clicked (or focussed), so that form isn't really active anymore.
I tried a focusOutEvent, but it doesn't seme to work?
maxim.prishchepa last edited by
Use @setWindowFlags(Qt::Popup);@ for your dialog