QTreeWidget child items
-
Hi all
I added 2 items to as a top level and I want different number of children for each one. Let say 2 child for the first item and like 3 children for the second item.
Can anyone help me?
Thanks
-
Hi,
What do you need help for exactly ?
-
The tutorial I was following was saying how to add a root and in the AddRoot() function it was adding two children. So every time you add a root, ti also adds two children. I think I know how to do it. Correct me if I am wrong.
in my AddRoot Function, I can return a pointer to the recently added item, and add as many child as I need, Correct?
Thanks
-
Yes, you can do that