Removing an item from a QListView in PyQt

David Boddie david at boddie.org.uk
Tue Apr 11 18:38:46 EDT 2006


To summarize my previous misformatted post: removeChild() is a
QScrollView method. You can call it because QListView inherits it
from QScrollView, but you need to call your QListView instance's
takeItem() method with the item you want to remove as the argument.


Hope this helps,

David




More information about the Python-list mailing list