On Monday, September 12, 2011, D. Michael McIntyre wrote: > why what is supposed to be equivalent code is clearly not doing an > equivalent job.
OK, so here's where we're at now... I spent a good bit of time trying alternative approaches and even trying to hard wire the size of m_[segments|artifacts]DrawBuffer to anything at all except 96 x 26. I experienced 100% failure. I figured if QPixmap::resize_helper() could do the job we expect done, then why not subclass and implement Rosegarden::Pixmap to lift that code straight out of Qt. QPixmap::resize_helper() is what all the other calls resolve to. It seemed like a fine idea to me, but that method makes deep use of internal Qt implementation bits and bobs that are inaccessible without an absurd amount of hacking. The further I went down that path, the more I started to notice the trees looked like they were thinking about eating me. I wisely stepped back, and I'm done. If Rosegarden is going to survive past the end of Qt 3 support, then somebody needs to figure out how to rewrite CompositionView::resizeEvent() so it doesn't rely on QPixmap::resize(). How to do that, I ha'n't a clue. -- D. Michael McIntyre ------------------------------------------------------------------------------ Doing More with Less: The Next Generation Virtual Desktop What are the key obstacles that have prevented many mid-market businesses from deploying virtual desktops? How do next-generation virtual desktops provide companies an easier-to-deploy, easier-to-manage and more affordable virtual desktop model.http://www.accelacomm.com/jaw/sfnl/114/51426474/ _______________________________________________ Rosegarden-devel mailing list Rosegarden-devel@lists.sourceforge.net - use the link below to unsubscribe https://lists.sourceforge.net/lists/listinfo/rosegarden-devel