[Qt-interest] Deleting the treewidget item

Yuvaraj R yuvaraj at ongobiz.com
Mon Jun 22 06:50:15 CEST 2009


Hi All

please parden me ,if my question is silly,,


I added the items for QTreeWidget. using

QTreeWidgetItem *item  = new QTreeWidgetItem(ui->treeWidget);
item->setText("cities");

QTreeWidgetItem *city1 = new QTreeWidgetItem(item);

city1->setText("Bangalore");
 QTreeWidgetItem *city2 = new QTreeWidgetItem(item);

city1->setText("Chennai");

How do delete the child item and item..


Any Idea..


Advance Thanks for helpings...


Thanks

Yuvaraj R
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090622/ceacdf3c/attachment.html 


More information about the Qt-interest-old mailing list