Solved Is there any way to block the keyPressEvent event on the keyboard?Is there a switch method?
-
Is there any way to block the keyPressEvent event on the keyboard?Is there a switch method?
-
No, but what do you want to achieve?
-
@Christian-Ehrlicher
I want to do permission control, respond to keyboard events when the conditions are met, and do not respond if the conditions are not met -
I dont know / tested if it works but you could try to install an event filter and ignore some key events on your form and let other keys through