Hi,
I am learning the positioner and repeater of QML. I am a little confused on
the code below. Anyone could explain that to me? Thanks.
Grid {
>
> x: 5; y: 5
>
> rows: 8; columns: 8; spacing: 5
>
> Repeater {
>
> id: repeater
>
> model: {
>
> var board = [true]
>
> for (var i = 1; i < 64; ++i)
>
> board[i] = false;
>
> board;
>
> }
>
> ...
>
I normally see model: 64 but I do not know what the whole code above
meaning.
--
Owen Zhao
_______________________________________________
Qt-qml mailing list
[email protected]
http://lists.qt.nokia.com/mailman/listinfo/qt-qml