Is it possible to add a menu bar to a widget

Posted by yan bellavance on Stack Overflow See other posts from Stack Overflow or by yan bellavance
Published on 2010-03-19T20:17:22Z Indexed on 2010/03/19 20:21 UTC
Read the original article Hit count: 200

Filed under:

I would like to add a QMenuBar to a window of my program (not the QMainWindow) from QtDesigner but I do not see this widget in there and it seems the only way to do this from designer is to use a mainwindow. Would I absolutely need to create this QMenu by hand coding it. Is it possible/ok to instead add a QMainwindow that is actually declared inside my main QMainwindow?

© Stack Overflow or respective owner

Related posts about qt