U
Uwe Mayer
Hi,
I have a subclassed PyQt class:
class Node(object):
def move(self, x,y): pass
class CRhomb(QCanvasPolygon, Node): pass
$ python
v2.4.1[<class '__main__.CRhomb'>, <class 'qtcanvas.QCanvasPolygon'>, <class
This executes also Node.move(a, 1,2)
Why?
Because even QCanvasItem.move delegates the call to the derived object? But
qt.Qt does not have a move() method... how does it get passed on to Node?
Thanks in advance,
Ciao
Uwe
I have a subclassed PyQt class:
class Node(object):
def move(self, x,y): pass
class CRhomb(QCanvasPolygon, Node): pass
$ python
v2.4.1[<class '__main__.CRhomb'>, <class 'qtcanvas.QCanvasPolygon'>, <class
This executes also Node.move(a, 1,2)
Why?
Because even QCanvasItem.move delegates the call to the derived object? But
qt.Qt does not have a move() method... how does it get passed on to Node?
Thanks in advance,
Ciao
Uwe