PySide - Delete selected items

  • I'm currently deleting the selected items in a QLIstWidget like so:

    for item in self.selectedItems():

    My list consists of 20,000 entries and this is proving to be way too slow. Is there a faster way? In C++ land I saw an example online where qDeleteAll(selectedItems()) was used. Is there an equivalent in PySide, or some other faster approach?


Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.