Please help me to find interface which returns all items af QlistWidget hidden and not
thanks in advance
Please help me to find interface which returns all items af QlistWidget hidden and not
thanks in advance
I'm afraid there's no convenience function/class (such as QTreeWidgetItemIterator for QTreeWidget) for QListWidget and you have to iterate through the items in the list widget yourself and test each items visibility.
J-P Nurmi
One could use QListWidget::findItems() to retrieve all the elements. It should work if provided a regexp of ".*". Of course to have only the visible items, one has to iterate through the list and test the visibility.
Bookmarks