Thanks, really appreciate the feedback from everybody. It's making more sense
to me now. I have tons of questions will research them. But I will start
another thread for my next one.
> From: [email protected]
> To: [email protected]; [email protected]
> Date: Wed, 19 May 2010 03:16:05 +0200
> Subject: RE: [Qt-qml] C++ Data Models and plugin mechanism
>
> > QDeclarativeExpression: Expression "(function() { return
> > myPluggedInObj.myModel })" depends on non-NOTIFYable properties:
>
> This message means that one of the properties in the expression does not have
> a NOTIFY signal, so if it changes, the expression will not be re-evaluated,
> so this:
>
> > > Q_PROPERTY(QStringList myModel READ myModel);
>
> Would need to be:
>
> Q_PROPERTY(QStringList myModel READ myModel NOTIFY myModelChanged)
>
> And when the list of strings changed (because of some mechanism in the C++
> code), you would emit myModelChanged() to tell the QML to update all
> dependant expressions (bindings).
>
> --
> Warwick
_________________________________________________________________
30 days of prizes to be won with Hotmail. Enter Here.
http://go.microsoft.com/?linkid=9729709_______________________________________________
Qt-qml mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-qml