Hello,

I know when we do something like this in QML:

    myStringProperty: aStringProperty

myStringProperty is dynamically evaluated whenever aStringProperty changes.

Question 1: If we write the assignment inside JavaScript like this:

    onSomethingHappened: myStringProperty = aStringProperty

would myStringProperty again change whenever aStringProperty changes later in 
runtime? Or is it just one-time assignment this time?

Question 2: If we use an element instead of a basic type like this:


    myCoordinateProperty: aCoordinateReading


would myCoordinateProperty.latitude change whenever aCoordinateReading.latitude 
changes?

Question 3: Do I make the distinction right between basic types and elements? 
For example; double, string etc. are "basic types" and Coordinate, Page, 
Rectangle etc. are "elements"?



Canol Gokel
_______________________________________________
Qt-qml mailing list
[email protected]
http://lists.qt.nokia.com/mailman/listinfo/qt-qml

Reply via email to