Guillaume Laurent wrote: > > That said, I'd really like to check out Qt4's canvas widget, and how > improved it is compared to Qt3. If it works well enough, that might > decide if redoing the matrix and notation views is worth it, or if > migrating eventually to Qt4's canvas is a better option. If you feel > like taking a look at this, I'd be very interested in your results. The > main thing to test is, does it handle very long lines properly ?
Like drawing >32768 pixel wide segment rectangles properly without weird wraparound effects as seen in qt3? I'm not sure about that but QCOORD_MAX has been increased from 2^16-1 to 2^31-1 in Qt/qnamespace.h There was a discussion about this on qt4-preview-feedback http://lists.trolltech.com/qt4-preview-feedback/2004-10/thread00047-0.html#msg00048 I don't know whether it was completely fixed in the qt4 release. I'll find out. A deeper issue is that QCanvas has now gone (Q3Canvas exists only for compatibility in libQt3Support) and is being replaced in qt4.1 by QGraphicsView which is Trolltech's new supposedly more powerful MVC abstraction. There are early details about the MVC changes from one of the developers: http://lists.trolltech.com/qt4-preview-feedback/2005-06/thread00016-0.html#msg00069 It might be worth waiting to see how 4.1 looks as it should cover much the same kind of territory as in re-doing the matrix and notation views, particularly the MVC stuff. It will also have in-built anti-aliasing, no need for chunk-size tweaking, and better optimisation throughout. BTW, the trolls have put up a handy list of classes they recommend avoiding for new uses to simplify future qt4 porting: http://www.trolltech.com/products/qt/readyforqt4.html William ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Rosegarden-devel mailing list [email protected] - use the link below to unsubscribe https://lists.sourceforge.net/lists/listinfo/rosegarden-devel
