[Interest] Qt Quick MenuBar in subsections of a window
Alex Montgomery
apmontgomery at gmail.com
Tue Feb 25 19:25:34 CET 2014
On Tue, Feb 25, 2014 at 1:39 AM, Damian Ivanov <damianatorrpm at gmail.com>wrote:
> Hi Alex,
>
> depends on how you define menubar..
> You can make a few buttons next to each other and every button
> triggers it's own menu
>
<snip>
That's a good suggestion, but there are a lot of nice features that the Qt
Quick MenuBar has (keyboard shortcuts, roll-over to adjacent menus when
moving the mouse, etc) that I would rather not re-invent. I checked the
source code on the MenuBar class and it seems to fall back to a nicely
designed QML class when it can't find a native window. It would be great if
that were exposed to us and we could embed that into other QML items, or at
least use it with a window-type other than ApplicationWindow. Currently you
cannot even use MenuBar with QQuickWindow:
https://bugreports.qt-project.org/browse/QTBUG-31279
Anyway, thanks for the response, but unless I'm mistaken, there's currently
no way to use the MenuBar class as a sub-item in QML.
Regards,
Alex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20140225/56268b1c/attachment.html>
More information about the Interest
mailing list