PDA

View Full Version : SplashScreen and Event handling???



Nithya
24th April 2008, 14:25
I need to hide the splash screen window on any keyboard key is pressed .How shall I do.?

mazurekwrc
24th April 2008, 14:50
what about subclass QSplashScreen and reimplement keyPressEvent ?

aamer4yu
24th April 2008, 17:30
Implement a QAction for the key u want to be pressed.And call a slot when that action is trigerred.
In the slot, display ur splash screen :)

Nithya
25th April 2008, 07:59
what about subclass QSplashScreen and reimplement keyPressEvent ?

Ans: I've done in that way, but the keypress event is not been triggered when the splashscreen is displayed.
Rather on pressing the keys the letters or the event is occured on the terminal from where the application is started.

Nithya
25th April 2008, 08:05
Implement a QAction for the key u want to be pressed.And call a slot when that action is trigerred.
In the slot, display ur splash screen
Ans: But I need to trigger this action on ANY key is pressed. And when the Splash screen is displayed.

NB:I need to HIDE the splashscreen on the event occurs.