[PyQt] Re: Zoom or scale into an QImage

2009-02-12 Thread Markus Feldmann
I got an error Message: unhandled AttributeError "imgLabel" I think he can not find this Attribute, but i am not sure. I have defined "imgLabel" in the <__init__(self, parent=None)> Class-Method. Do i have to make a Class-Attribute to call it from another Class-Method ? What should be Class Att

Re: [PyQt] Re: Zoom or scale into an QImage

2009-02-11 Thread Phil Thompson
On Wed, 11 Feb 2009 14:12:57 +0100, Markus Feldmann wrote: > At this moment i am trying the example: > http://doc.trolltech.com/4.4/widgets-imageviewer.html > > But i have trouble to convert the class-method . > > There is a Qt Method which is not listed in the Qt API > Library. It is named . h

[PyQt] Re: Zoom or scale into an QImage

2009-02-11 Thread Markus Feldmann
At this moment i am trying the example: http://doc.trolltech.com/4.4/widgets-imageviewer.html But i have trouble to convert the class-method . There is a Qt Method which is not listed in the Qt API Library. It is named . How should my PyQt4 Code looks like for this Class-Method? I doesn't know

[PyQt] Re: Zoom or scale into an QImage

2009-02-10 Thread Markus Feldmann
David Boddie schrieb: On Tue, 10 Feb 2009 22:45:51 +0100, Markus Feldmann wrote: i have an QScrollArea where i inserted a QLabel. This QLabel includes an QImage. I want to zoom/scale into this image. How can i do this? Try one of these approaches: 1. Keep the original image and show a scale