Results 1 to 2 of 2

Thread: how to set focus to specified QTablewidgetItem, in QTableWidget?

  1. #1
    Join Date
    Oct 2011
    Posts
    160
    Thanks
    31
    Qt products
    Qt4
    Platforms
    Windows

    Default how to set focus to specified QTablewidgetItem, in QTableWidget?

    In my program i'm using QTableWidget.
    The table contains thousands of rows, I'm using findItem() to search specific key in table.
    The findItem returns list of QTableWidgetItems, i want to highlight all those items one by one when "NEXT" button pressed.
    But table wont performing auto scroll to view the Items below the table...
    How can i do that?

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

    Default Re: how to set focus to specified QTablewidgetItem, in QTableWidget?

    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.


Similar Threads

  1. QTableWidgetItem disable focus
    By giantdragon in forum Qt Programming
    Replies: 1
    Last Post: 13th June 2011, 09:16
  2. QTableWidgetItem for a QTableWidget
    By Archa4 in forum Newbie
    Replies: 1
    Last Post: 28th April 2011, 11:11
  3. QTableWidget or QTableWidgetItem CSS
    By ajayajgdeva in forum Newbie
    Replies: 0
    Last Post: 5th February 2010, 13:47
  4. QTableWidget+QTableWidgetItem trouble
    By Fastman in forum Qt Programming
    Replies: 13
    Last Post: 10th November 2007, 12:19
  5. QTableWidget QTableWidgetItem
    By TheKedge in forum Qt Programming
    Replies: 3
    Last Post: 6th September 2006, 15:03

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.