read and store the checked items from the Qtreewidget
Solved
General and Desktop
-
Greetings....
i have a tree and the child items are checkable, now i want to store the checked items to a list
how do i get the checked itemsthis is how my tree looks, after checking the items and pressing the select i want to store them in a list
(i am pretty new to Qt started using it exactly a month back please be kind)
thanks in advance -
@kook said in read and store the checked items from the Qtreewidget:
how do i get the checked items
https://doc.qt.io/qt-5/qtreewidgetitemiterator.html
https://doc.qt.io/qt-5/qtreewidgetitem.html#checkState