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

QPushButton and QToolButton with internal connections to showMenu()

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P2: Important
    • Some future release
    • 4.3.4
    • Other
    • None

    Description

      It seems odd that QPushbutton and QToolButton make internal connections to show the popup menu when one exists.

      I might be more useful to explicitly call the respective popup show method as opposed to use connections.

      One use case would be when the user would like to receive the buttons pressed() signal. As it is currently, the pressed signal is not emitted until after the menu has been show and closed, seeming due to the fact that the menu is modal.

      Attachments

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

        Activity

          People

            bjnilsen Bjørn Erik Nilsen
            gpf Shane McLaughlin
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes