PDA

View Full Version : How to mask/hide Windows Menu and Save screen window



vels
13th April 2010, 19:27
Hi All,

I am developing a virtual keyboard application. I am getting the key press scan code in event() method. When the windows keys and print screen key are pressed, GNOME pops up with window menu and save screen shot window.

Is there any direct API in Qt to avoid these Pop up windows which appear on the keyboard application?

Qt version: Qt-4.5 commercial version
OS : SUSE 11

Code snippet:

bool Keyboard::event(QEvent *event)
{
QKeyEvent *keyEvent = static_cast<QKeyEvent *>(event);
codevalue = keyEvent->nativeScanCode();
// Event handling stuff
return true;
}


Thanks
vels