[PyQt] Coordinates in QScrollarea

2008-11-05 Thread georg
Hello, I'm using a QScrollArea as CentralWidget to display an SVG-file. Now I want to interact with the drawn image and select items via MousePressEvent. Only problem is that the position of the mouse is changing when I use the scrollbar. Does anybody know a solution? I'm new to python and I hope t

[PyQt] Coordinates in QScrollarea

2008-11-05 Thread Georg Kaspar
Hello, I'm using a QScrollArea as CentralWidget to display an SVG-file. Now I want to interact with the drawn image and select items via MousePressEvent. Only problem is that the position of the mouse is changing when I use the scrollbar. Does anybody know a solution? I'm new to python and I hope t