qtuser20
22nd January 2010, 18:01
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
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