KGuiAddons and QGestures like tap/click-and-hold to open context menu?
David Faure
faure at kde.org
Sun Mar 12 19:21:33 UTC 2017
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 at kde.org, http://www.davidfaure.fr
Working on KDE Frameworks 5
More information about the Kde-frameworks-devel
mailing list