PDA

View Full Version : need help for tree Handling concept



jyoti
23rd November 2006, 10:18
hi all
can anyone refer the path to get the documentation of tree Handling
i mean need the tutorials only for tree handling concept like searching,arranging,editing etc.
as i m working on mac os using QT4.2
so plz do help me as soon as possible..

thanks in advance

aamer4yu
23rd November 2006, 10:26
tree handling in what ? u can refer QTreeView, QTreeWidget,QTreeWidgetItem in Qt Assistant for tree handling.

jyoti
23rd November 2006, 10:41
QTreeWidget(item-based)

jpn
23rd November 2006, 10:53
The documentation can be found here: QTreeWidget (and in Qt Assistant by writing "QTreeWidget" into the index tab).

The documentation already gives you a short example code how to construct a simple tree widget.

For searching, you can use QTreeWidget::findItems().
For arranging, there is QTreeWidget::sortItems().
For editable items, use QTreeWidgetItem::setFlags() and pass Qt::ItemIsEditable amongst other desired flags.

jyoti
23rd November 2006, 12:25
thanks for your reply
plz can u tell me internet path for tutorials having with examples and in tree handling...there are alots of concepts which i do need further not only searching, arranging ...


TIA

aamer4yu
24th November 2006, 05:52
can u tell what features you are looking for ??