I don't see any way how to add a menuBar to a QDialog, only to QMainWindow. Is it possible ?