Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
How can I get the index position of an Item on a QListWidget and delete it knowing only its index? thanks
Hi,
Are you think of something like
@QListWidgetItem *item = listWidget->takeItem(index.row())@
?
what is distinctiveness of item which is you needed its index pos? if answer is item->text() you can use QListWidget::findItems() at first. Than ... EDIT:there are many ways to done it .eg by loops.