How to let the close icon of QWidget on the right-up corner appear?

Printable View