c++ - How do I handle the event of the user pressing the 'X
$ 6.99
In stock
4.6
(217)
![](https://i.stack.imgur.com/rgFqm.png)
In Qt, what is the slot that corresponds to the event of the user clicking the 'X' (close) button of the window frame, i.e., this button: If there isn't a slot for this, is there any other way to
![](https://i.stack.imgur.com/rgFqm.png)
c++ - How do I handle the event of the user pressing the 'X' (close) button? - Stack Overflow