Hi All
I am writing a Qt program, I want to change color of my menu by pressing a key on keyboard. I wonder that , may i make the same effect by code not pressing on keyboard?

Infact how my i make call keypress event without pressing any key?