PDA

View Full Version : QWSServer ScreenSaver



webquinty
16th June 2011, 09:47
Hello,

I am using Qt embedded 4.6.2 in my Geode LX800.
I would like to turn off backlight after a event, but I dont find it.
I have read about QWSServer ScreenSaver but without succes.

Is this the correct way to tourn off backlight??
Is there any example how to activate screensaver??

Best regards.
John Martin.

nix
28th June 2011, 10:37
Hi,

QWSScreenSaver doesn't work for that. This class allow you to do some actions after periods of time without any activity, but by itself it does nothing on your hardware.

Turnoff backlight of your screen is hardware related question, Qt does not manage this.
I have done that in the past, I made some sysfs entries in the backlight driver and used them with QWSScreenSaver in order to reduce backlight intensity when device is not used. There is a lot of other ways to do so, depends of your hardware.

femy
19th May 2016, 07:28
The QWSScreenSaver class is a base class for screensavers in Qt in cpp. Is there any such classes in pyqt? How to implement a simple screen-saver using pyqt?

anda_skoa
19th May 2016, 18:45
The QWSScreenSaver class is a base class for screensavers in Qt in cpp.

No, it is the base class for screensavers on a QWS system.
There is no such thing as a base class for screensavers in the generic sense

Cheers,
_