Re: [Interest] QML properties

2016-04-12 Thread Jason H
> Hi, > > How to correctly name that that when in QML I write "width: > parent.width / 2", for example, then when parent.width changed then > changed and width too? I.e. automatic propagation? Realize that QML properties are Q_PROPERTY, with an onPROPERTYChanged emit event. In this way, when

Re: [Interest] QML properties

2016-04-11 Thread Ben Lau
Property binding / Data binding On 12 April 2016 at 12:47, Igor Mironchik wrote: > Hi, > > How to correctly name that that when in QML I write "width: parent.width > / 2", for example, then when parent.width changed then changed and width > too? I.e. automatic propagation? > > Thank you. >

[Interest] QML properties

2016-04-11 Thread Igor Mironchik
Hi, How to correctly name that that when in QML I write "width: parent.width / 2", for example, then when parent.width changed then changed and width too? I.e. automatic propagation? Thank you. ___ Interest mailing list Interest@qt-project.org http