Results 1 to 14 of 14

Thread: Creating a QAbstractItemModel for QTreeView

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,376
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Thanks
    4
    Thanked 5,019 Times in 4,795 Posts
    Wiki edits
    10

    Default Re: Creating a QAbstractItemModel for QTreeView

    Could you check if your columnCount() method is called at all?

  2. #2

    Default Re: Creating a QAbstractItemModel for QTreeView

    Did you ever find a solution to the column data not being added?

  3. #3
    Join Date
    Aug 2008
    Posts
    39
    Qt products
    Qt4
    Platforms
    Unix/X11
    Thanks
    12

    Default Re: Creating a QAbstractItemModel for QTreeView

    Your problem may have been similar to mine. What version of Qt are you using. I upgraded from 4.3.2 to 4.4.1 on solaris, and my problems went away.

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.