Results 1 to 2 of 2

Thread: Is it possible to get the selected range when using QTableView?

  1. #1
    Join Date
    Dec 2010
    Posts
    7
    Thanks
    1
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11

    Default Is it possible to get the selected range when using QTableView?

    Hi, Sir:
    Although I reviewed the questions in forum, I failed to find a clear way to get the range of a table.

    I want to get the range when I press mouse's left key on an item and move to another item on table based on QTableView.

    I try to use QItemSelectionModel to get selectionChanged signal, however, it seems not to show me the selected range.

    So, Could anyone help me on that??

    Thanks a lot.

    BR,
    Pico

  2. #2
    Join Date
    Dec 2010
    Posts
    7
    Thanks
    1
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11

    Default Re: Is it possible to get the selected range when using QTableView?

    Hi, All:
    This issue is solved.

    Thanks.

Similar Threads

  1. QTableView get selected row
    By raphaelf in forum Qt Programming
    Replies: 8
    Last Post: 12th July 2013, 03:35
  2. Selected row bigger than others in QTableView
    By JuanMO in forum Qt Programming
    Replies: 1
    Last Post: 20th September 2010, 16:48
  3. QTableView Signal when nothing is selected
    By djjkotze in forum Qt Programming
    Replies: 1
    Last Post: 10th May 2010, 15:00
  4. Deleting selected row from a QTableView
    By Ferric in forum Newbie
    Replies: 9
    Last Post: 15th January 2010, 08:32
  5. iterating selected rows in a qtableview
    By JeanC in forum Qt Programming
    Replies: 2
    Last Post: 19th January 2008, 14:29

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.