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

MenuBar: Add abilitiy to programatically activate menus from QML

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Unresolved
    • Icon: Not Evaluated Not Evaluated
    • None
    • None
    • Quick: Controls 2
    • None

      Currently there is no way to open menus programmatically and have it behave the same as when clicked by the user.

      You can manually open and close menus directly, but then the MenuBar highlighting and left right arrow key behavior doesn't work properly because the MenuBar doesn't know the Menu has shown itself.

      Exposing the MenuBar's activate methods to QML might be one solution.

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

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            philwilliams Phil Williams
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes