KGuiAddons and QGestures like tap/click-and-hold to open context menu?

René J.V. Bertin rjvbertin at gmail.com
Sun Mar 12 19:14:20 UTC 2017


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?

R.


More information about the Kde-frameworks-devel mailing list