Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-37084

Please make MenuBar embeddable in QML items

    XMLWordPrintable

Details

    Description

      The MenuBar quick control is currently only usable in the ApplicationWindow application. I understand that most of the reason for this is that MenuBar attempts to use the platform's native implementation when available, and even has a (hidden) read-only member __isNative to track whether the MenuBar is using the native implementation.

      It would be very useful to be able to embed Qt Quick MenuBars in Quick items (much like QMenuBar can live in sub-widgets) or at least use them with other window types than ApplicationWindow. Would it be possible to declare a MenuBar as non-native, or have it fall back to non-native when the MenuBar is embedded or used in another Window type?

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            tpochep Timur Pocheptsov
            apmontgo Alex Montgomery
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes