Re: [SailfishDevel] QDeclarativePropertyMap not dynamic?

2013-05-08 Thread Ruediger Gad
Hi, I wrote a blog post about exchanging things between QML <-> C++ quite some time ago: http://ruedigergad.com/2011/11/13/exchange-data-and-objects-between-c-and-qml-and-vice-versa/ I am not explicitly covering signals there, iirc, but when you define a Q_PROPERTY in C++ with a defined NOTIF

Re: [SailfishDevel] QDeclarativePropertyMap not dynamic?

2013-05-08 Thread christopher . lamb
Hi Superpelican Why don't you post the QML / UI part of your code, so we can see how you think your QML should respond to your QDeclarativePropertyMap? Does your PropertyMap have an onChanged event? That would be one QML way of allowing UI components to respond to property changes. Yo

[SailfishDevel] QDeclarativePropertyMap not dynamic?

2013-05-08 Thread Superpelican
I'm trying to create a hybrid QML/C++ application, where the logic is written in C++ and the interface is QML/Sailfish Silica based. I'm currently playing around with the different ways to let QML/C++ communicate with each other. I currently have this code: #include #include #include #inc