1 2 3 4 5 6 7 8 9 10 11
import QtQuick 2.0 Item { property int b: 100 property int c: 15 property int a: 15 onAChanged: { if (b >= 100) b = 12; else c += a; } }