QTreewidget / QTreeWidgetItem
at the Moment I'am hanging on a probaly simple Problem.
In QTreewidget-Object i am Displaying 10 Parents with various number (up to 15) Childs (Sub sections).
Now I want to select some of them (1..15). Collect these selection for later Processing.
Has anybody an idea or konw one example?
Thank you for your Support.
Are you thinking of the functionality provided by "QItemSelectionModel":http://qt-project.org/doc/qt-5/qitemselectionmodel.html ?
Hope it helps
You can use selectedItems to get the Items selected and then process them as you want. It will return you all the QTreeWidgetItems that are selected.
Hope that helps.