Results 1 to 5 of 5

Thread: Groups inside QTreeView (using QAbstractItemModel)

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #2
    Join Date
    Jan 2008
    Location
    Alameda, CA, USA
    Posts
    5,348
    Qt products
    Qt5
    Platforms
    Windows
    Thanks
    318
    Thanked 872 Times in 859 Posts

    Default Re: Groups inside QTreeView (using QAbstractItemModel)

    There is a QTreeView::setFirstColumnSpanned() method that will do what you want, I think.
    <=== The Great Pumpkin says ===>
    Please use CODE tags when posting source code so it is more readable. Click "Go Advanced" and then the "#" icon to insert the tags. Paste your code between them.

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

    gabo (11th December 2020)

Similar Threads

  1. QTreeView with QAbstractItemModel slow
    By Qiieha in forum Qt Programming
    Replies: 1
    Last Post: 7th December 2012, 10:06
  2. Performance with QTreeView and QAbstractItemModel
    By Goug in forum Qt Programming
    Replies: 2
    Last Post: 23rd November 2011, 01:30
  3. QTreeView with QAbstractItemModel
    By Fletcher in forum Qt Programming
    Replies: 4
    Last Post: 11th December 2009, 00:02
  4. Need help with QTreeView/QAbstractItemModel
    By Valheru in forum Qt Programming
    Replies: 5
    Last Post: 28th August 2006, 16:09
  5. [QT4] QTreeView, QAbstractItemModel and sorting
    By KShots in forum Qt Programming
    Replies: 3
    Last Post: 24th March 2006, 21:16

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.