Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Building a TreeView example in QML only
Forum Updated to NodeBB v4.3 + New Features

Building a TreeView example in QML only

Scheduled Pinned Locked Moved Solved QML and Qt Quick
4 Posts 2 Posters 272 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • ocgltdO Offline
    ocgltdO Offline
    ocgltd
    wrote on last edited by ocgltd
    #1
    This post is deleted!
    DiracsbracketD 1 Reply Last reply
    0
    • ocgltdO Offline
      ocgltdO Offline
      ocgltd
      wrote on last edited by
      #4

      It seems that you can't do it - the model must descend from QAbstractItemModel so I had to create a C++ descendant first (implementing pur e virtual functions) and then it I could proceed.

      1 Reply Last reply
      0
      • ocgltdO ocgltd

        This post is deleted!

        DiracsbracketD Offline
        DiracsbracketD Offline
        Diracsbracket
        wrote on last edited by Diracsbracket
        #2
        This post is deleted!
        1 Reply Last reply
        0
        • DiracsbracketD Offline
          DiracsbracketD Offline
          Diracsbracket
          wrote on last edited by Diracsbracket
          #3
          This post is deleted!
          1 Reply Last reply
          0
          • ocgltdO Offline
            ocgltdO Offline
            ocgltd
            wrote on last edited by
            #4

            It seems that you can't do it - the model must descend from QAbstractItemModel so I had to create a C++ descendant first (implementing pur e virtual functions) and then it I could proceed.

            1 Reply Last reply
            0

            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved