Results 1 to 4 of 4

Thread: Signal for when a QWidget is given setFocus()

  1. #1
    Join Date
    Aug 2009
    Posts
    56
    Thanks
    14
    Thanked 1 Time in 1 Post

    Default Signal for when a QWidget is given setFocus()

    I want an event to occur when a user gives a dialog window focus (QWidget::setFocus). Is there such a signal? I tried activated() and triggered() but neither did it

  2. #2
    Join Date
    Jun 2007
    Location
    India
    Posts
    1,042
    Thanks
    8
    Thanked 133 Times in 128 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Signal for when a QWidget is given setFocus()


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

    rakkar (26th August 2009)

  4. #3
    Join Date
    Aug 2009
    Posts
    56
    Thanks
    14
    Thanked 1 Time in 1 Post

    Default Re: Signal for when a QWidget is given setFocus()

    Thanks, you're awesome.

  5. #4
    Join Date
    Jun 2007
    Location
    India
    Posts
    1,042
    Thanks
    8
    Thanked 133 Times in 128 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Signal for when a QWidget is given setFocus()

    Quote Originally Posted by rakkar View Post
    Thanks, you're awesome.
    i know... thx for reminding me

Similar Threads

  1. pthread instead QThread
    By brevleq in forum Qt Programming
    Replies: 8
    Last Post: 23rd December 2008, 07:16
  2. Connection of custon signals/slots
    By brevleq in forum Qt Programming
    Replies: 2
    Last Post: 23rd December 2008, 07:04
  3. Replies: 3
    Last Post: 27th February 2008, 08:01
  4. qpushbutton setfocus signal
    By skuda in forum Qt Programming
    Replies: 16
    Last Post: 23rd November 2007, 12:53

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.