-
Hide Qtreewidgetitem
Hi,
I have a Qtreewidget that contains many nested levels of QTreewidgetitems. I am filtering items that contain a specific string and i would like to hide all other items except the matching item and its parent.
However when i set the parent item's visibility to true, all its children are also set to true. How could i show only a parent and one or few its children items?
Thankyou
-
Re: Hide Qtreewidgetitem
well, you have to set the visibility on both the parent and its children (and grandchildren and so on)