PDA

View Full Version : clone a qtreewidgetitem



weixj2003ld
6th September 2011, 15:38
I want to clone a qtreewidgetitem and its children,how to do ?
thanks.

llev
6th September 2011, 16:34
QTreeWidgetItem * QTreeWidgetItem::clone () const [virtual]

Creates a deep copy of the item and of its children.


Did you try it?

weixj2003ld
7th September 2011, 05:56
thank you!