Details
-
Bug
-
Resolution: Out of scope
-
P2: Important
-
4.3.4
-
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.