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
--
http:/
Svenn Bjerkem wrote: > In a dialog I have a QListView called
referenceList. Entries are added > and deleted from this list with
buttons addButton and removeButton > connected with sockets: [...] >
def removeReferenceSlot(self): > print "selected has address %s" %
(self.referenceList.selectedIt