Results 1 to 4 of 4

Thread: Forward key event to other widget?

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,368
    Thanks
    3
    Thanked 5,018 Times in 4,794 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Forward key event to other widget?

    Reimplement QObject::event() for your table widget (or its viewport(), try both) and handle Qt::Key_Tab there. Alternatively reimplement QAbstractItemView::focusNextPrevChild() and call implementation of the method from QWidget there.
    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.


  2. The following user says thank you to wysota for this useful post:

    Boron (6th February 2012)

Similar Threads

  1. Replies: 3
    Last Post: 2nd August 2011, 21:15
  2. tree widget item's widget don't respond to any event.
    By quantity in forum Qt Programming
    Replies: 0
    Last Post: 11th April 2011, 04:30
  3. widget load event?
    By scarleton in forum Newbie
    Replies: 2
    Last Post: 16th August 2010, 18:47
  4. Replies: 7
    Last Post: 14th January 2010, 08:47
  5. Widget enter event
    By bunjee in forum Qt Programming
    Replies: 5
    Last Post: 20th April 2008, 22:40

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
  •  
Qt is a trademark of The Qt Company.