I don't see any way how to add a menuBar to a QDialog, only to QMainWindow. Is it possible ?
Printable View
I don't see any way how to add a menuBar to a QDialog, only to QMainWindow. Is it possible ?
no, you can't add a menu bar in a dialog, only QMainWindow can have a menu bar.
but it's not right, because QDialog has not a place for a menu bar, but QMainWindow has. maybe it's better yo use QToolButton with menus.
No, I've written apps like this with other libraries, it works fine.
QMainWindow is still just a dialog but with some extra functions built on top.
It threw me when I didn't see how to do this with the designer. I guess they figured most people would not want a menu bar on a dialog.