Results 1 to 3 of 3

Thread: How detective lost focus application ?

  1. #1
    Join Date
    Aug 2008
    Posts
    2
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default How detective lost focus application ?

    Signals focusOut/In Event emitted only if focus changes in application widgets.
    How detect that user switch application and my application no has focus ?

  2. #2
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: How detective lost focus application ?

    Catch QEvent::ApplicationDeactivate or QEvent::WindowDeactivate.
    J-P Nurmi

  3. The following user says thank you to jpn for this useful post:

    Torsten (6th August 2008)

  4. #3
    Join Date
    Aug 2008
    Posts
    2
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: How detective lost focus application ?

    Great thanks !

Similar Threads

  1. removing focus of application?
    By triperzonak in forum Qt Programming
    Replies: 0
    Last Post: 16th July 2008, 16:17
  2. QLineEdit lost focus
    By codebehind in forum Newbie
    Replies: 5
    Last Post: 4th May 2007, 17:02
  3. Replies: 3
    Last Post: 8th September 2006, 19:54

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.