3

I checked latest documentation, nothing related was found. I place a pointer to a QListWidgetItem in my class, and I want to use some function from QListWidget to remove this child item.

What I found was only to remove this by ID, takeItem (i).

Is there any better / real way to do this?

1 Answer 1

3

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

According to the docs, that is the correct method to use.

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.