Re: [Interest] Migration path from QGraphicsScene to QtQuick2

2016-04-15 Thread Igor Mironchik
On 15.04.2016 15:57, Jean-Michaël Celerier wrote: On Fri, Apr 15, 2016 at 12:15 PM, Igor Mironchik mailto:igor.mironc...@gmail.com>> wrote: Can I ask you why you need to migrate from QGraphicsScene to QtQuick? Hi, I like the scene graph rendering being done in another thread, and

Re: [Interest] Migration path from QGraphicsScene to QtQuick2

2016-04-15 Thread Jean-Michaël Celerier
On Fri, Apr 15, 2016 at 12:15 PM, Igor Mironchik wrote: > > > Can I ask you why you need to migrate from QGraphicsScene to QtQuick? Hi, I like the scene graph rendering being done in another thread, and more importantly I wish to provide the ability to write plug-ins in QML for my software, wh

Re: [Interest] Migration path from QGraphicsScene to QtQuick2

2016-04-15 Thread Nuno Santos
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 > wrote: > > Inspired by Ingo Schiller's problem, I am wondering if there is a "common" or > known pattern

[Interest] Migration path from QGraphicsScene to QtQuick2

2016-04-15 Thread Jean-Michaël Celerier
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 Sho