[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: Re: [PyKDE] QListView problem :$
From: Gordon Tyler <gordon () doxxx ! net>
Date: 2002-12-23 10:47:55
[Download RAW message or body]
On December 23, 2002 01:32 pm, Bart Verwilst wrote:
> I'm trying to add 2 items to a listview.. I have inherited QListViewItem in
> a TreeViewItem class of my own. Added a top item to the list is no problem.
> Adding several top items works fine as well. But as soon as i want to add a
> child node to one of these top items, my GUI just hangs.. I hope you guys
> can help me out :$
When you create the child node, you're giving it another
TreeViewItem(QListViewItem) as a parent. But in your TreeViewItem.__init__
you treat the parent as a QListView and call methods which don't exist on a
QListViewItem. You will probably find that the thread in which you're doing
this is crashing with a Python AttributeError.
Ciao,
Gordon
_______________________________________________
PyKDE mailing list PyKDE@mats.gmd.de
http://mats.gmd.de/mailman/listinfo/pykde
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic