Hello,
>
> So I have this now:
>
> class A(QTreeWidgetItem):
> def __init__(self, parent):
> QTreeWidgetItem.__init__(parent)
>
Try this:
class A(QTreeWidgetItem):
def __init__(self, parent=None):
QTreeWidgetItem.__init__(self, parent) # the first argument is
always SELF. The second argument is the superclass' first argument from the
C++ api.
See other PyQt examples for further illustration.
Darryl
_______________________________________________
PyQt mailing list [email protected]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt