[PyKDE] more QListView problems!?

Michael Lauer mickey at tm.informatik.uni-frankfurt.de
Fri Jul 5 12:50:00 BST 2002


Hi,

could someone please tell me what I'm doing wrong, I really
don't get it...

I can't get to delete a single QListViewItem - instead the whole tree
is deleted. I tested this on many PyQt version (including the
3.3rc2) with Qt 3.0.3 and Qt 3.0.4.

The attached program demonstrates it. If you right-click on a
node, the whole tree is being deleted.

(BTW, after closing the program, I get a segfault, but that's only
a minor issue)

Where is the problem and could someone post a code snippet which
does this?

Sincerely,

-- 
:M:
--------------------------------------------------------------------------
Dipl.-Inf. Michael 'Mickey' Lauer  
mickey at tm.informatik.uni-frankfurt.de 
  Raum 10b - ++49 69 798 28358       Fachbereich Informatik und Biologie
--------------------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: listview.py
Type: application/x-python
Size: 1906 bytes
Desc: not available
Url : http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20020705/96c7cb35/listview.bin


More information about the PyQt mailing list