Results 1 to 6 of 6

Thread: Dynamic Grouping of QTableView Rows

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #2
    Join Date
    Jul 2009
    Location
    Enschede, Netherlands
    Posts
    462
    Thanked 69 Times in 67 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Dynamic Grouping of QTableView Rows

    There's several possibilities. You can work with the table model and implement a sort model that has the behavior you want (keeping the original table model the way it is), or you reimplement the source model. In both cases, have a look at the Editable Tree Model example. If you want to use the sort/proxy model approach, have a look at the KDE libraries. KDE is Qt based and they have some developers that are quite good at creating sort/filter proxy models.
    Horse sense is the thing that keeps horses from betting on people. --W.C. Fields

    Ask Smart Questions

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

    stefanadelbert (6th December 2010)

Similar Threads

  1. Replies: 2
    Last Post: 23rd November 2010, 05:43
  2. Dynamic form layout - Ability to add new rows
    By FaradayCage in forum Newbie
    Replies: 1
    Last Post: 22nd July 2010, 16:23
  3. Replies: 0
    Last Post: 22nd April 2010, 13:18
  4. QTableView 2 rows inside every row
    By skuda in forum Qt Programming
    Replies: 3
    Last Post: 22nd April 2009, 09:23
  5. Replies: 6
    Last Post: 5th March 2006, 21:05

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.