How do I catch a pyqt closeEvent and minimize the dialog instead of exiting?
Asked 2012-09-11T07:56:26.947
12
I have a QDialog object. When the user clicks on the X button or presses Ctrl+Q, I want the dialog to go to a minimized view or system tray icon, instead of closing. How do I do that?