How to add custom QWidget to the QMenubar as action which can be toggled?

Printable View