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
Hi,
I am looking for a bit more elaboration on the problem of deleting
elements from a QListsView. I know this is a tricky problem with
references, but I have not been able to extract enough knowledge from
the documentation to solve a specific problem:
In a dialog I have a QListView called refere