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

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


On Sunday March 12 2017 15:27:43 David Faure wrote:

> Isn't this exactly what QToolButton::setMenu does?
> (given that the default popupMode is DelayedPopup)

Possible, one would indeed expect that from the description . That class wouldn't need this extension then, but I think it's not trivial to use QToolButton instead of QPushButton without any side-effects?
(And of course my implementation should work with any QWidget.)

R.


More information about the Kde-frameworks-devel mailing list