Multiple selection for the child nodes of one only parentin QTreeview?

  • I have a Tree with parent nodes as A , B , C . Each node has child nodes. I want to allow the multiple selections for only child nodes under one parent node. Any pointer, that how can i do that using QTreeview ?

    A-> D,E,F
    B-> G, H, I
    C-> J, K, L

    So multiple selection should be allowed for D,E,F or G,H,I and not for D, G, H for example.

    Thank you

Log in to reply