[Interest] Qt Quick MenuBar in subsections of a window

Alex Montgomery apmontgomery at gmail.com
Mon Feb 24 22:41:34 CET 2014


Hello,

It seems like the only way to show a MenuBar in Qt Quick is to create one
and immediately set it as the menuBar property of an ApplicationWindow, but
can the MenuBar stand alone? I'd like to create a window that has multiple
sections each with its own MenuBar, but that doesn't seem possible. Am I
missing something?

Declaring a MenuBar as part of a visible item doesn't cause an error, but
it doesn't show a valid menubar either. This has confused myself and
others, e.g.:
http://www.qtcentre.org/threads/56484-Qt-QML-MenuBar-and-Menus-not-showing

If MenuBar can only be used at the top of an ApplicationWindow shouldn't
that at least be documented?
http://qt-project.org/doc/qt-5.1/qtquickcontrols/qml-qtquick-controls1-menubar.html

Regards,
Alex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20140224/38d886ba/attachment.html>


More information about the Interest mailing list