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

Make QToolButton::showMenu virtual

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Won't Do
    • Not Evaluated
    • None
    • None

    Description

      Sometimes it's necessary to update `QToolButton` menu dynamically, so `showMenu` is best place to do so. Current implementation doesn't allow to customize it, so `showMenu` should be wrapper over virtual function. See [discussion on forum|https://forum.qt.io/topic/127220/qtoolbutton-showmenu-as-wrapper-of-virtual-function] for background of this request.

      Attachments

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

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            eugenezelenko Eugene Zelenko
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes