musescore/MuseScore — pull request #1416 by mgavioli (2014-10-29 12:37:01+00:00)
Title: Scripting: element.bbox property in spatium units

Currently, in scripts, the `element.bbox` property returns a rect in raster units.

Changed to return data in spatium units.

I know the code looks clumsy but, for all I looked, I could not find a Qt function to scale a QRectF!