Long key press, double key press



  • Is there any way to find out if a key was pressed twice or if it was pressed for a specific amount of time?

    The MouseArea element can handle double clicks and tap and hold. Is there anything like that for the keys too?

    I know that it is possible to do it with Timers, but I still hope QML provides the functionality for it already...


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.