Unsolved My Window seems not to get refocused
-
Hello here again!
My application works right now alright, except for one thing. When I start up the application my keyboard event works just fine, but if I minimized the window or does something else and then come back to my application it wont listen to my keyboard. Is this a problem of focus or what can it be?
Thanks!
-
Hi,
What widget exactly doesn't get focus ?
-
It's the MainWindow.
-
In that case, what exactly doesn't work with the keyboard ?
-
Well so when I start the application, the program gets trigged when I'm pushing a key. But then if I select something else, like taking up the terminal, or go to the desktop, or looking at the code, and try to go back to my application, it won't listen to my keys.
-
What gets triggered ? With what key ?
-
Well I've Up, Down, Right and Left arrow that program should do something when one of those key gets pushed.
-
How are you handling them ?