Hi,

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)

https://doc.qt.io/archives/qt-5.6/qabstractbutton.html#autoRepeat-prop


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


Any thoughts?
_______________________________________________
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest

Reply via email to