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

Suggestion: QWidget::grabbedGesture()

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • P5: Not important
    • None
    • None
    • 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

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            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