PDA

View Full Version : How to edit QTreeWidget item?



chaltier
16th April 2012, 10:38
Hi, i am using QTree Widget to display some number values..

Whenever an object is added to the scene, I wan the child of the Qtree widget to count the total number of object..

So i need the child to be able to update by itself..

How do i access the child and modify its value?

thanks..

wysota
16th April 2012, 16:32
Like usually in C++ -- through a pointer to an instance (object).