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?
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?
have a look at the 'The simple tree model' example at http://doc.trolltech.com/4.4/examples.html
Qt Examples/ Demos and Qt Assistant are your guide into the Qt World !!
Never get apart from them :P
Bookmarks