[PyKDE] Problem with QImage.metric

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


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...


Thanks,
-- 
Baz Walter




More information about the PyQt mailing list