Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Close Qdialog when press outside its boundaries
vamp89 last edited by
I have a qdialog that is launched from the mainwindow class through exec.
I want to close it when press outside the boundaries of the qdialog
Hi and welcome to devnet,
Do you mean something like QWidget::focusOutEvent) ?