If you want a menu bar, maybe you could use QMainWindow instead? It already has a menu bar and proper layout to handle it.

Cheers,
_