how can i connect window's close button with my function.
how can i connect window's close button with my function.
You can over-ride the QWidget::closeEvent
Also you can tell us more about what are you trying to achieve, what function are you trying to call, what window close is supposed to trigger the function call (the main-window or some child-window) and maybe some other solutions will pop-up.
i solve my problem using closeEvent
thank you
Bookmarks