[Qt-interest] releasing an item from treeWidget not possible?

Roland Tollenaar rwatollenaar at gmail.com
Mon Feb 8 15:21:16 CET 2010


Hi,

it seems to be impossible to free a QtreeWidgetItem from its parent 
treeWidget once it has been added.


In other words:

tw.addTopLevelItem(item)

can never be undone without deleting the item?

The idea is to add the item as a childof another item sometimes and 
sometimes have it directly as topLevelItem.

Help appreciated.

Thanks,

Roland



More information about the Qt-interest-old mailing list