[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-frameworks-devel
Subject:    Re: KGuiAddons and QGestures like tap/click-and-hold to open context menu?
From:       David Faure <faure () kde ! org>
Date:       2017-03-12 19:21:33
Message-ID: 1685413.1zLLTBEcQ9 () asterixp50
[Download RAW message or body]

On dimanche 12 mars 2017 20:14:20 CET René J.V. Bertin wrote:
> On Sunday March 12 2017 20:11:08 René J.V. Bertin wrote:
> > And a static method that takes a QWidget, subscribes it to the gesture and
> > installs the event filter.
> Correction: the event filter could of course be provided by a QPA platform
> plugin and installed at the application level. But what would be the
> interest of that if no widgets subscribe to a tap-and-hold gesture? Why
> would code grab that gesture if it cannot be certain that the required
> event filter is installed?

Forget QGesture, this can be done with simple mouse events.

-- 
David Faure, faure@kde.org, http://www.davidfaure.fr
Working on KDE Frameworks 5

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic