Wednesday, 28 August 2013

How to prepend a child item in qtreewidgetitem?

How to prepend a child item in qtreewidgetitem?

I want to keep the latest child nodes always to in the top level items in
qtreewidget, how is this possible ?
Normally QTreeWidgetItem::addChild() append the child item, so I tried
QTreeWidgetItem::insertItem(0, childItem) but this doesnt helped me.

No comments:

Post a Comment