Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Multiple selection for the child nodes of one only parentin QTreeview?
Qt 6.12 LTS is out! See what's new in the release blog

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

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 775 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by
    #1

    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

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt
    • Unsolved