Results 1 to 3 of 3

Thread: QTableWidget get focus lost event

  1. #1
    Join Date
    Feb 2013
    Location
    India
    Posts
    153
    Thanks
    27
    Thanked 18 Times in 18 Posts
    Qt products
    Qt4 Qt5 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Question QTableWidget get focus lost event

    Is there any event in QTableWidget through which i get the tablewidget has lost its focus?

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

    Default Re: QTableWidget get focus lost event

    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.


  3. #3
    Join Date
    Feb 2013
    Location
    India
    Posts
    153
    Thanks
    27
    Thanked 18 Times in 18 Posts
    Qt products
    Qt4 Qt5 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: QTableWidget get focus lost event

    Hello wysota,

    i have implemented QWidget::focusOutEvent()
    But it is not exactly what i want. I have also set the focus policy as clickFocus but still the same .

    Actually i am searching something through which i got event even if i click outside of tree widget.
    QWidget::focusOutEvent() gives me event when it lost focus. that means when i click on any other widget.
    Any idea about get event when click outside the tree widget.?

Similar Threads

  1. lost Focus with QProcess
    By Jora in forum Qt Programming
    Replies: 1
    Last Post: 8th March 2012, 15:56
  2. QTableWidget select row after focus is lost?
    By grantbj74 in forum Newbie
    Replies: 2
    Last Post: 20th January 2012, 00:22
  3. Focus lost
    By franco.amato in forum Qt Programming
    Replies: 1
    Last Post: 25th January 2010, 23:07
  4. QLineEdit lost focus
    By codebehind in forum Newbie
    Replies: 5
    Last Post: 4th May 2007, 17:02
  5. Replies: 3
    Last Post: 8th September 2006, 19:54

Tags for this Thread

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.