Results 1 to 16 of 16

Thread: Populate QTreeView from database

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #3
    Join Date
    Dec 2007
    Location
    London
    Posts
    206
    Thanks
    40
    Qt products
    Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android

    Default Re: Populate QTreeView from database

    Hi anda,

    Tha actual model is a sqlquerymodel . It returns a table data. I am not very much familiar with model view framework yet. In the above code "TagChannelTreeModel" is derived from QAbstractProxyModel. Dont you mean that? Here, i couldnt figure out how to build the algorithm to create the tree in proxy model
    Last edited by yagabey; 22nd November 2014 at 16:32.

Similar Threads

  1. Qtreeview from database(sqlite)
    By cengiz3519 in forum Qt Programming
    Replies: 1
    Last Post: 4th June 2014, 23:42
  2. QTreeView & Sql Database.
    By gcain in forum Qt Programming
    Replies: 1
    Last Post: 18th October 2013, 05:56
  3. Replies: 6
    Last Post: 20th February 2012, 10:59
  4. QTreeView and database
    By langziyang in forum Qt Programming
    Replies: 1
    Last Post: 22nd November 2010, 08:19
  5. using QTreeView with a Database model
    By darksaga in forum Qt Programming
    Replies: 1
    Last Post: 17th January 2007, 23:29

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.