Results 1 to 10 of 10

Thread: Sql Query with QTreeView - Advice

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Aug 2010
    Posts
    30
    Thanks
    2

    Default Sql Query with QTreeView - Advice

    Hi,

    I currently have a program that use a QSqlQueryModel to populate a QTableView. I now want to change from QTableView to QTreeView.

    I've done some searching for examples and quick fixes, but has left me more confused than anything. So, I understand that I have to build my own data structure using either QStandardItemModel or a proxymodel.

    The query that is needed to populate the QTreeView is going to be very large.

    Does anyone have advice on what route to take the achieve this?
    Thanks
    Last edited by johnnyturbo3; 7th September 2010 at 15:32.

Similar Threads

  1. Advice for an Application
    By salmanmanekia in forum Newbie
    Replies: 1
    Last Post: 19th April 2010, 12:06
  2. QtConcurrent, i need advice
    By SABROG in forum Qt Programming
    Replies: 10
    Last Post: 29th December 2009, 19:53
  3. Replies: 2
    Last Post: 27th August 2009, 20:31
  4. Need Advice: Best IDE for Mac OSX
    By JimDaniel in forum Qt Programming
    Replies: 6
    Last Post: 18th October 2008, 23:14
  5. Newbie needs advice
    By Seth in forum Newbie
    Replies: 3
    Last Post: 12th April 2007, 22:50

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.