PDA

View Full Version : How to remove a QListWidgetItem from a QListWidget?



dave
10th May 2010, 21:00
There must be some simple way to do it, but I can't find it. I can add QListWidgetItem with no problem, but I can't find a method that removes a QListWidgetItem from a QListWidget.

norobro
11th May 2010, 02:52
Here you go: QListWidget::takeItem() (http://doc.qt.nokia.com/4.6/qlistwidget.html#takeItem)