Quantcast
Channel: Qt DevNet forums: Qt Quick 1283365070**
Viewing all articles
Browse latest Browse all 4972

Changing button image loses pressed signal

$
0
0
Ah that is also interesting! Well, I understand the problem now and I know the difference between property binding and javascript asignment. What I’m asking myself is, why isn’t it possible to use the property binding operator (image.source: …) in a JS statement (like in my example: onClicked:) ? Or the other way round, why is assignment (image.source = …) only possible within a JS statement? Is there any reason for that?

Viewing all articles
Browse latest Browse all 4972

Trending Articles