Re: [Qt-qml] Importing legacy QGrapicsItems

2012-05-21 Thread Bo Thorsen
Den 21-05-2012 13:52, Ian Geiser skrev: >> After doing this, I think the only issue you will have is to find the >> proper parent for your items. Things don't turn up in QML unless they >> have a parent. >> > I think this is where I am stuck now. I created my QDeclarativeItem, > and created my roo

Re: [Qt-qml] Importing legacy QGrapicsItems

2012-05-21 Thread Ian Geiser
> -Original Message- > From: qt-qml-bounces+igeiser=devonit@qt.nokia.com [mailto:qt-qml- > bounces+igeiser=devonit@qt.nokia.com] On Behalf Of Bo Thorsen > Sent: Monday, May 21, 2012 2:02 AM > To: qt-qml@qt.nokia.com > Subject: Re: [Qt-qml] Importing legacy QGrapic

Re: [Qt-qml] Importing legacy QGrapicsItems

2012-05-20 Thread Bo Thorsen
Hi Ian, Den 19-05-2012 14:49, Ian Geiser skrev: > Greetings, I have some C++ QGraphics View code that I would like to > move to QML. The binding was trivial to make the Graphics Items into > plugins, but where I get stuck is that I have a model that manages > the lifetimes of the items. I am con

[Qt-qml] Importing legacy QGrapicsItems

2012-05-19 Thread Ian Geiser
Greetings, I have some C++ QGraphics View code that I would like to move to QML. The binding was trivial to make the Graphics Items into plugins, but where I get stuck is that I have a model that manages the lifetimes of the items. I am confused as to has to expose this model to QML. I can pl