Remove QListWidgetItem from QListWidget?

I checked the latest documentation, nothing was found. I put a pointer to QListWidgetItemin my class and I want to use some function from QListWidgetto remove this child.

What I found was only for the removal of this identifier takeItem (i).

Is there a better / real way to do this?

+3
source share
1 answer

To remove items from the list, use takeItem ().

According to the docs, this is the correct method.

+3
source

All Articles