On Wednesday 28 March 2007 11:56, Chris Cannam wrote: > On Wednesday 28 Mar 2007 10:13, Guillaume Laurent wrote: > > Upon further investigations, it's not that something is broken, it's that > > the code just isn't there : the ruler scale which the tempo ruler in the > > matrix view uses is the matrix horiz. layout, but there is no way to tell > > this layout that zoom has occurred (the zooming in the matrix view is > > done by changing the canvas' transform matrix). > > Oh, of course -- that f*#*ing matrix. It's probably unwise to change the > ruler scale anyway, because presumably that would mean the matrix itself > ended up zooming twice over (I assume the matrix does use the ruler scale > as well, and then just transforms that with the matrix transform > afterwards).
Yes, but we easily could disable the canvas transform of the matrix. That would also have the advantage that zooming would be done more centrally, rather than through a transform there and a QPainter scaling here. > Which suggests two suitably nasty answers: have yet another scaling factor > in the ruler itself that the matrix can set; or have a separate ruler scale > for the rulers from the one used by the matrix. The TempoRuler scales fine in the main view because it uses a SimpleRuler which knows how to scale, while the MatrixHLayout doesn't. IMHO it would make sense to change that. > I see what you mean about the chord name ruler being broken. Yup, seems completely dead to me. I tried adding a nice A7 chord following by a C7, it still wouldn't display anything. -- Guillaume. http://telegraph-road.org ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Rosegarden-devel mailing list [email protected] - use the link below to unsubscribe https://lists.sourceforge.net/lists/listinfo/rosegarden-devel
