Please nominate your Qt Champions for 2021!

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

  • 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:


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



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

Log in to reply