Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Associate a button to a key
Twentyone last edited by
i'm creating a calculator and i want to associate the key "+" to the corresponding button on my program and performing the plus operation.
I searched in the doc and i understood that the solution is something about event, but i need a practical example.
Thank you for the help :D
DerManu last edited by
Read the "Event Filters" section of the documentation here:
This explains everything for your case and has example code.