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

QPushButton does not accept mouseDoubleClickEvent

XMLWordPrintable

    • 4dbef58c3d2a63f59c5ae32ba9dc47a2a9157474 (release, 17.4.2014, 5.3.0)

      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.

        For Gerrit Dashboard: QTBUG-36423
        # Subject Branch Project Status CR V

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes