qtreeview - How to know if an item is a leaf level item or not -


see attached image below. have created tree view , have connected doubleclicked signal slot prints row number, column number, haschildren , childcount

when clicked on "property 0", got first print , when clicked on "222.1", got 2nd print shown.

the first print correct because property 0 has 4 children

i expecting 2nd print same. why did give me childcount 0?

i wanted know when clicked on item in 2nd column, whether leaf level item or not.. please explain , help.

enter image description here


Comments

Popular posts from this blog

routing - AngularJS State management ->load multiple states in one page -

python - GRASS parser() error -

post - imageshack API cURL -