Hello,
I’m trying to create an application similar to Scratch (placing graphical blocks instead of writing text) for trying to get children interested in programming. I’d really like to do it in QtQuick for nice animations etc., and I think it should be fully doable.
For getting the tree like structure I use something like this [codeproject.com] , so each kind of delegate that has child items will end with a repeater.
My problem right now is getting the C++ <-> QML bridge to work, I’m currently trying to have QObject subclasses contain the data as properties and one “delegate” property that returns a QQmlComponent, the root items are then put into a list and given to QML.
The problem I’m currently having is connecting the data to the component (delegate), how would I do that?
Thanks in advance,
Jan
↧