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

add to MouseArea{} posibility to handle doubleClicked() before clicked()

    XMLWordPrintable

Details

    Description

      Hello,

      as I see so many bugs reports, full forums here as well as stackoverflow and others. All users are constantly asking for solution to handle doubleClicked() as prior to clicked().

      Would it be too dificult to add it to the standard solution of QtQuick MouseArea to have a boolean property (ie waitForDoubleClick)? And when its set to true, the clicked() would run the timer of 350ms (or probably also adjustable by user) and if during this timer second click appears, only doubleClicked() would trigger?... of course if the second click on the same object will not appear during this timer, then clicked() would trigger right when the timer ticks?

       

      Of course we can se it ourself, however the realy a definitely not nice solution to set it everywhere ourselfs.

      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
            shokarta Jiri Zaloudek
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes