PDA

View Full Version : A simple example of a tree model



YaK
4th March 2009, 15:58
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?

darshan
4th March 2009, 17:11
have a look at the 'The simple tree model' example at http://doc.trolltech.com/4.4/examples.html

aamer4yu
4th March 2009, 17:15
Qt Examples/ Demos and Qt Assistant are your guide into the Qt World !!
Never get apart from them :P