[PyKDE] Problem with QImage.metric
Phil Thompson
phil at riverbankcomputing.co.uk
Thu Jan 5 23:04:07 GMT 2006
On Thursday 05 January 2006 8:46 pm, Baz Walter wrote:
> Hello
>
> The QImage.metric function seems to be broken because an internal function
> of
>
> the same name inherited from QPaintDevice gets called instead:
> >>> img = QtGui.QImage()
> >>> img.metric(QtGui.QImage.PdmDepth)
>
> QPaintDevice::metrics: Device has no metric information
> 0
>
>
> Hope this can be fixed, so I can complete the svgviewer example...
Should be in tonight's snapshot.
Phil
More information about the PyQt
mailing list