QUOTE(Tom9729 @ 1 Jan, 2008 - 01:35 AM)

There are a lot of Linux screen saver programs that support screen locking (gnome-screensaver, xscreensaver, xlockmore). I don't know how easy their source code is to read, and I'm not suggesting you copy it, but taking a look there just to see how they did it might be a good start.
This was a great idea. I ended up going through the source of a very basic software called xtrlock. It turned out not to be very hard stuff. Basically just opening a window in full screen on top of everything else that caches all keyboard and mouse events.
This was very easy to do with Qt. Right now im kind of stuck with the shortcuts like alt+F4 or atl+tab, because they make it pretty easy to get around the lock. I'll figure that one out pretty soon though i guess.
I have one last question though. Do you guys know a easy way to make a main window in Qt transparent. I have been trying to do this for the last couple of hours but cant find a working way. Thanks for your help guys!