Jean, I think you can extend QQuickItem and override the paint method and keep using the exact same code for painting your items.
Nuno > On 15 Apr 2016, at 11:05, Jean-Michaël Celerier > <[email protected]> wrote: > > Inspired by Ingo Schiller's problem, I am wondering if there is a "common" or > known pattern to enable migration from QPainter / QGraphicsItem objects to > QtQuick 2 ? > > I have a big scene with items all drawn by hand : > https://github.com/OSSIA/i-score/blob/master/Documentation/iscore.png?raw=true > > <https://github.com/OSSIA/i-score/blob/master/Documentation/iscore.png?raw=true> > > Should I reimplement QSGNode or stuff like this ? Will I have better > performance ? Are all nifty features (rubber band, contxt menu, etc...) > supported in QtQuick or does stuff need redoing ? > > > Best, > Jean-Michaël Celerier > _______________________________________________ > Interest mailing list > [email protected] > http://lists.qt-project.org/mailman/listinfo/interest
_______________________________________________ Interest mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/interest
