Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Hierarchical Tree with Selectionable Subtree/Elements e.g. via checkboxes
Forum Updated to NodeBB v4.3 + New Features

Hierarchical Tree with Selectionable Subtree/Elements e.g. via checkboxes

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 332 Views
  • 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.
  • P Offline
    P Offline
    PascalC
    wrote on last edited by
    #1

    I am looking to implement a hierarchical tree where individual elements or entire subtrees could be selected. This is typically shown as checkboxes and use in software installers to select components to install, or backup solutions to select which folders to sync, e.g:

    0_1562660353853_mstsc_JHffWrr1YH.png

    Is there an easy way to achieve that using Qt widgets?

    Thanks

    Pascal

    1 Reply Last reply
    0
    • VRoninV Offline
      VRoninV Offline
      VRonin
      wrote on last edited by
      #2

      QTreeWidget if the need is basic, QTreeView + a model (QStandardItemModel?) for more advanced uses

      "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
      ~Napoleon Bonaparte

      On a crusade to banish setIndexWidget() from the holy land of Qt

      1 Reply Last reply
      2

      • Login

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