Re: [PyQt] QAbstractItemModel doesn't require to subclass data method

2008-10-09 Thread Phil Thompson
On Wed, 8 Oct 2008 22:58:05 +0200, "Filip GruszczyƄski" <[EMAIL PROTECTED]> wrote: > When I run following code (of course with some implementation of tree > objects): > > class QCategorizedItemModel(QAbstractItemModel): > > def __init__(self, tree): > QAbstractItemModel.__init

[PyQt] QAbstractItemModel doesn't require to subclass data method

2008-10-08 Thread Filip GruszczyƄski
When I run following code (of course with some implementation of tree objects): class QCategorizedItemModel(QAbstractItemModel): def __init__(self, tree): QAbstractItemModel.__init__(self) self.__root = tree def root(self):