[Qt-interest] Reg:: QDesktopWidget

Chris W qtinterest at psychogeeks.com
Fri Sep 25 08:36:53 CEST 2009


>     I am trying to paint a rectangle around the computer screen when a
> click happens in my application which is running. I understand that Qt
> doesnt allow paint to be done outside the application view but I am
> wondering if it would be possible to create a widget of screen size
> hidden and then draw frame or any other way of achieving this ?

Have a look at the source of LightScreen
http://sourceforge.net/projects/lightscreen/

It does something similar for its arbitrary rectangle screen shot.

Regards,
Chris



More information about the Qt-interest-old mailing list