Results 1 to 2 of 2

Thread: Detect application idle

  1. #1
    Join Date
    Feb 2010
    Posts
    52
    Thanks
    6
    Thanked 2 Times in 2 Posts

    Default Detect application idle

    Hi,
    Is there a way to detect when a GUI application has been idle, (ie, no user interaction), for a period of time ?

    Cheers,
    Chris.

  2. #2
    Join Date
    Mar 2010
    Location
    Capelle aan den IJssel, Netherlands
    Posts
    24
    Thanks
    1
    Thanked 1 Time in 1 Post
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows Symbian S60

    Default Re: Detect application idle

    I guess you could use a QTimer, that you check for elapsed time and reset it whenever the application receives a mouse or key event?

Similar Threads

  1. Replies: 4
    Last Post: 11th January 2011, 07:56
  2. detect which layer of the screen an application is on
    By solartic in forum Qt Programming
    Replies: 2
    Last Post: 22nd July 2009, 17:05
  3. How to detect a running application
    By yogesh in forum Qt Programming
    Replies: 4
    Last Post: 20th February 2009, 10:22
  4. Replies: 5
    Last Post: 9th June 2008, 11:21
  5. how do I get the idle time in qt2
    By pencilren in forum Qt Programming
    Replies: 1
    Last Post: 17th September 2007, 04:19

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.