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

QPushButton does not accept mouseDoubleClickEvent

    XMLWordPrintable

Details

    • 4dbef58c3d2a63f59c5ae32ba9dc47a2a9157474 (release, 17.4.2014, 5.3.0)

    Description

      At Qt 5, the QWidget base class was modified to ignore the mouseDoubleClickEvent. This change has a ripple effect on derived widgets, such as QPushButton, which do not implement the mouseDoubleClickEvent. Therefore a double click on a QPushButton will not be accepted.

      Either the QWidget base class needs to be reverted to its Qt 4 behavior, or subclassed widgets, such as QPushButton, need to override mouseDoubleClickEvent and interpret it as a mousePressEvent when appropriate.

      Attachments

        Issue Links

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

          Activity

            People

              peppe Giuseppe D'Angelo
              mtims5148 Michael Tims
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes