Windows exit button
Unsolved
General and Desktop
-
wrote on 29 Jul 2016, 08:11 last edited by
Hello,
I want to change a function of button X in the upper-right corner of the window. Do you know how to do it?
-
Hello,
I want to change a function of button X in the upper-right corner of the window. Do you know how to do it?
@michalt38
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. -
wrote on 29 Jul 2016, 09:15 last edited by
Tkanks for the answer, everything's clear :)
3/3