Is it possible to let QListWidget
remove a QListWidgetItem
, when the widget (I use setItemWidget()
) gets closed()
?
For now I pass in the row number and signal back to the main window, which will delete the item by row, but that sounds stupid.