Re: [SailfishDevel] QDeclarativePropertyMap not dynamic?

2013-06-15 Thread Ruediger Gad
Fwiw, just updated my tiny QML <-> C++ example to also show interaction via signals of properties: https://github.com/ruedigergad/QML-CPP_Interaction_Example Generally, I am quite happy with the qmlRegisterType approach, as shown in that example. hth Ruediger On 06/15/2013 11:44 AM, ch

Re: [SailfishDevel] QDeclarativePropertyMap not dynamic?

2013-06-15 Thread christopher . lamb
Hi Superpelican I had almost forgotten PropertyChanged! It was a nonsense example to show 4 different ways of doing the same thing, to prove / disprove that all 4 options work. In a real life application that actually does something useful you would only use one of the 4 options to respond

Re: [SailfishDevel] QDeclarativePropertyMap not dynamic?

2013-06-15 Thread Superpelican
Hi everyone, I've been looking at the PropertyChanged project again and do I need to use both the Q_PROPERTY stuff and the method/signals way? Or can I just use 1 of them? Also do I need to make a plugin of the C++ part of my application or is there also another way to do it? Kind Regards,