Windows exit button
I want to change a function of button X in the upper-right corner of the window. Do you know how to do it?
change to what?
when the X button is pressed you will receive a QCloseEvent (to the top-level widget).
If you explicitly ignore the event nothing happens. Also this enables you to trigger anything you like there.
Tkanks for the answer, everything's clear :)