See the attached image below. I have created a tree view and I have connected the doubleClicked signal to a slot which prints the row number, column number, hasChildren and childCount
When I clicked on "Property 0", I got the first print and when I clicked on "222.1", I got the 2nd print as shown.
The first print is correct because Property 0 has 4 children
I was expecting the 2nd print also to be same. Why did it give me a childCount as 0?
I wanted to know that when I clicked on any item in the 2nd column, whether that is leaf level item or not.. Please explain and help.