Results 1 to 3 of 3

Thread: A simple example of a tree model

  1. #1
    Join Date
    Nov 2008
    Posts
    27
    Qt products
    Qt4
    Platforms
    Windows

    Default A simple example of a tree model

    Can somebody give a simple example of a simple tree model for a QTreeView? In the manuals i found only the direct plugging of QDirMode, but i don't need it. Could you show a simple tree with a root (or maybe two roots) and a pair of leaves?

  2. #2
    Join Date
    Nov 2008
    Posts
    23
    Thanks
    2

    Default Re: A simple example of a tree model

    have a look at the 'The simple tree model' example at http://doc.trolltech.com/4.4/examples.html

  3. #3
    Join Date
    Oct 2006
    Location
    New Delhi, India
    Posts
    2,467
    Thanks
    8
    Thanked 334 Times in 317 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: A simple example of a tree model

    Qt Examples/ Demos and Qt Assistant are your guide into the Qt World !!
    Never get apart from them :P

Similar Threads

  1. Writing a Tree model.
    By kaushal_gaurav in forum Qt Programming
    Replies: 6
    Last Post: 16th January 2009, 11:22
  2. Creating a Tree Model from a QStandardModel
    By kaushal_gaurav in forum Qt Programming
    Replies: 3
    Last Post: 19th December 2008, 06:47
  3. Help needed in creating Tree Model.
    By kaushal_gaurav in forum Qt Programming
    Replies: 5
    Last Post: 18th December 2008, 12:14
  4. How use Model view with a tree wich have Cycle ?
    By weepdoo in forum Qt Programming
    Replies: 2
    Last Post: 9th December 2008, 17:05
  5. using the example of simple tree model
    By krishna.bv in forum Qt Programming
    Replies: 1
    Last Post: 22nd December 2006, 12:28

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.