From: Guillaume L. <gla...@te...> - 2001-12-03 13:05:05
|
On Saturday 01 December 2001 02:25, Chris Cannam wrote: > > I see you use QDict in NotationToolBox. Is that effectively the > same thing as std::map (in which case why use QDict instead?), or > is it something different? It was straightforward to use, and it had this setAutoDelete() feature which I thought would be useful, but it turned out not to, so I'll replace it with a std::map<>. > I've already abandoned part of the Qt implementation (in fact I've > abandoned the QCanvasSpline class, in favour of calling the > cubicBezier() method in Q3PointArray directly, because since I > want to draw more than one of these I might as well draw them on a > pixmap just like all the rest of the stuff in NotePixmapFactory), You certainly can do that by changing/overriding some methods of QCanvasSpline, and the result will be easier to deal with (no need to project on a pixmap first). -- Guillaume http://www.telegraph-road.org |