[Interest] Qt5.6 QPushbutton Autorepeat

Ramakanth Kesireddy rama.kesi at gmail.com
Tue Jun 4 04:38:18 CEST 2019


Am using Qt 5.6 based widgets application.

Is there a way to know the auto repeat action of QPushButton (like if the
user pressed the button multiple times ), so as to process the further
button presses after specified time interval and ignore the repeated button
press events?

Had look at below but doesn't meets the purpose as it works only for long
press(when button is down, it adds initial delay and generates repeated
events after autorepeat interval)


Starting a single shot timer would work for the debounce implementation for
button but would like to know any other effective means.

Any thoughts?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20190604/7d652bf8/attachment.html>

More information about the Interest mailing list