[PyKDE] inverseWorldMatrix

Vincent Wagelaar vincent at ricardis.tudelft.nl
Thu Oct 17 20:55:00 BST 2002


Hi,

I've been working with PyQt for several days now. It really works
great!

But now I've encountered a problem using self.inverseWorldMatrix()
from a QCanvasView . I get the following error when trying to execute
this example:
http://www.mail-archive.com/pykde@mats.gmd.de/msg02719.html

Traceback (most recent call last):
  File "canvastest1.py", line 137, in contentsMouseReleaseEvent
    self.endRubberBand(event.pos())
  File "canvastest1.py", line 83, in endRubberBand
    self.__endpos = self.inverseWorldMatrix().map(pos.x(), pos.y())
AttributeError: inverseWorldMatrix

What a I doing wrong? Has the interface to inverseWorldMatrix changed?

I hope someone can help me,

Vincent




More information about the PyQt mailing list