[Qt-qml] Settings / State Saving proposal for QML
Shawn Rutledge
shawn.t.rutledge at gmail.com
Fri Nov 18 10:47:55 CET 2011
2011/11/17 João Abecasis <joao.abecasis at nokia.com>:
> Rectangle {
> id: main
> height: 480
> width: 640
> color: settings.color
>
> Settings {
> id: settings
> property string color: "blue"
> property alias height: main.height
> property alias width: main.width
> }
> }
I was wondering if we could omit the "property" keyword, similar to
how it's done for ListModel? Although it wouldn't work the same for
aliases then.
shawn.rutledge at nokia.com
More information about the Qt-qml
mailing list