Results 1 to 4 of 4

Thread: QWSServer ScreenSaver

  1. #1
    Join Date
    May 2008
    Location
    Spain
    Posts
    92
    Thanks
    13
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default QWSServer ScreenSaver

    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.

  2. #2
    Join Date
    Dec 2008
    Location
    France
    Posts
    93
    Thanked 23 Times in 22 Posts
    Qt products
    Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android

    Default Re: QWSServer ScreenSaver

    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.

  3. #3
    Join Date
    Dec 2015
    Posts
    3
    Thanks
    1
    Qt products
    Platforms
    Unix/X11

    Default Re: QWSServer ScreenSaver

    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?

  4. #4
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: QWSServer ScreenSaver

    Quote Originally Posted by femy View Post
    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,
    _

Similar Threads

  1. How to create screensaver ?
    By Aki Tomar in forum General Programming
    Replies: 4
    Last Post: 1st May 2017, 11:12
  2. Windows screensaver
    By Darkstar in forum Qt Programming
    Replies: 4
    Last Post: 21st October 2009, 10:44
  3. QWSServer error
    By heraldx in forum Qt for Embedded and Mobile
    Replies: 1
    Last Post: 3rd July 2009, 11:51
  4. Stoping the Screensaver.
    By Grimlock in forum Qt Programming
    Replies: 1
    Last Post: 23rd January 2009, 23:30
  5. setting desktop background and screensaver in X11
    By nupul in forum Qt Programming
    Replies: 5
    Last Post: 2nd April 2006, 21:11

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.