[PyKDE] Problem with QImage.metric

Baz Walter bazwal at ftml.net
Thu Jan 5 20:46:59 GMT 2006


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

Hope this can be fixed, so I can complete the svgviewer example...

Baz Walter

More information about the PyQt mailing list