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

QPushButton and QToolButton with internal connections to showMenu()

XMLWordPrintable

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

      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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes