PDA

View Full Version : keypressevent dont work when MainWindow is minimized



spitty_cash
17th October 2011, 17:13
Hi,
i have this problem: when i use keypressevent until my application in opened and maximizzed all works fine...but i want also that when my application is minimized keypressevent works.
Infact when my app is minimized keypressevent dont work.
i tried with setFocus() or setFocusPolicy() but nothing about this problems works.
Please tell me how resolve this issue...maybe with a Qsystemtrayicon?

Thanks and sorry for bad english.