Results 1 to 7 of 7

Thread: KeyPressEvent in QTableWidgetItem.

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    May 2015
    Posts
    66
    Thanks
    10
    Thanked 17 Times in 17 Posts
    Qt products
    Qt5
    Platforms
    Windows

    Default Re: KeyPressEvent in QTableWidgetItem.

    Then indeed the solution mentioned in my previous post could be a good option.. on keypress event since you already saved the row, column of the item being edited, you can get the item corresponding to (row+1, column) and call QTableWidgetItem::setSelected(true).

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

    akashh (10th December 2015)

Similar Threads

  1. Some troubles with keyPressEvent
    By code_err in forum Newbie
    Replies: 2
    Last Post: 3rd March 2012, 02:28
  2. keypressevent
    By djwk in forum Newbie
    Replies: 9
    Last Post: 5th July 2010, 02:12
  3. How to block keyPressEvent ?
    By richardander in forum Qt Programming
    Replies: 1
    Last Post: 24th January 2009, 09:14
  4. Replace keyPressEvent (dot with tab)
    By the_bis in forum Qt Programming
    Replies: 1
    Last Post: 6th June 2008, 10:43
  5. QTreeWidget keyPressEvent
    By hgedek in forum Qt Programming
    Replies: 3
    Last Post: 18th August 2007, 16:33

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