Results 1 to 2 of 2

Thread: Lock screen after inactivity time

  1. #1
    Join Date
    Jul 2010
    Posts
    15
    Qt products
    Qt4
    Platforms
    Windows

    Default Lock screen after inactivity time

    Hi all,

    I am developing an application on mini2440 board (ARM9).
    How can i show an lock screen after an inactivity time (just similar to ubuntu) and allow the user enter password to unlock it?

    Thank you very much.

    Bao

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Lock screen after inactivity time

    If your application is the only one running on the machine then you can have a timer running that triggers a lock. You would reset the timer by filtering events that reach the application object. If your app is not the only one running then you have to rely on the windowing system (like the X Server) to give you such information.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Similar Threads

  1. Replies: 0
    Last Post: 27th January 2011, 20:08
  2. Replies: 3
    Last Post: 25th January 2011, 13:36
  3. Lock Screen
    By ahmdsd_ostora in forum Qt Programming
    Replies: 16
    Last Post: 11th July 2010, 09:55
  4. Replies: 2
    Last Post: 11th June 2010, 07:23
  5. appbar: allocate screen space (dock and lock)
    By mito in forum Qt Programming
    Replies: 1
    Last Post: 20th April 2007, 18:39

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.