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

Suggestion: QWidget::grabbedGesture()

    XMLWordPrintable

    Details

    • Type: Suggestion
    • Status: Reported
    • Priority: P5: Not important
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None

      Description

      The QScroller class has a grabbedGesture() method, I think it'd be useful if QWidget also had a method allowing to determine whether a widget already subscribes to a particular gesture. I'm sure the reasons why QScroller::grabbedgesture() exist can be extended to many other QWidgets.

      My own context: a lowlevel eventFilter implementation of a generic click-and-hold opens the contextmenu behaviour. Knowing when a widget already subscribes to the gesture would make this easier and safer.

        Attachments

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

          Activity

            People

            Assignee:
            qt.team.quick.subscriptions Qt Quick and Widgets Team
            Reporter:
            rjvbertin René Bertin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes