Is there a way to determine that Num Lock is on?
Is there a way to determine that Num Lock is on?
Install an event filter or monitor key events and check for Qt:: Key_NumLock. This will only work when your app or a widget within it has the input focus. Most likely if the user presses the NumLock key when a different app has input focus, your app won't be notified. I do not know if there is a way to determine a priori if the NumLock key is pressed during a normal key event.
<=== The Great Pumpkin says ===>
Please use CODE tags when posting source code so it is more readable. Click "Go Advanced" and then the "#" icon to insert the tags. Paste your code between them.
You can do this with the help of native system functions. Ask uncle Google.
Last edited by LepaBrena; 21st February 2017 at 07:47.
I'll be malicious: somewhere they should learn how to ask Google
Here you are.
You are right. Need some instructions for google search and for writing posts too
This is solution for win and linux, but I'm looking something for android (working platform: win).
Last edited by LepaBrena; 21st February 2017 at 09:18.
Bookmarks