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.
Comments
Post a Comment