Results 1 to 3 of 3

Thread: Display sql table menu in a tree view

  1. #1
    Join Date
    Oct 2011
    Posts
    3
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Display sql table menu in a tree view

    Hello, I have a database table that contains a menu structure like this: id, parentid, name. how can I display a tree view?

  2. #2
    Join Date
    Sep 2011
    Posts
    12
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Display sql table menu in a tree view

    here is very good tutorial regarding your problem :
    http://www.voidrealms.com/viewtutorial.aspx?id=53

    good luck
    Unix is simple. It just takes a genius to understand its simplicity. – Dennis Ritchie

  3. #3
    Join Date
    Oct 2011
    Posts
    3
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: Display sql table menu in a tree view

    I want to display the menu in a QTreeView, not a QTableView.
    other ideas?

Similar Threads

  1. Replies: 1
    Last Post: 8th June 2011, 14:13
  2. Replies: 0
    Last Post: 10th December 2010, 14:58
  3. Replies: 8
    Last Post: 6th May 2010, 11:17
  4. Replies: 5
    Last Post: 3rd April 2010, 04:07
  5. Replies: 33
    Last Post: 7th December 2009, 10:11

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.