How to add a custom minimize button in PyQt5?

Printable View