| 1 |
/* GCompris - Data.qml |
| 2 |
* |
| 3 |
* SPDX-FileCopyrightText: 2020 Deepak Kumar <[email protected]> |
| 4 |
* |
| 5 |
* Authors: |
| 6 |
* Deepak Kumar <[email protected]> |
| 7 |
* |
| 8 |
* SPDX-License-Identifier: GPL-3.0-or-later |
| 9 |
*/ |
| 10 |
import core 1.0 |
| 11 |
|
| 12 |
Data { |
| 13 |
objective: qsTr("Up to 8 items, on a single line.") |
| 14 |
difficulty: 2 |
| 15 |
|
| 16 |
property var images: [ |
| 17 |
"oil_paint.svg", |
| 18 |
"tux.svg", |
| 19 |
"pencil.svg", |
| 20 |
"banana.svg", |
| 21 |
"mushroom.svg", |
| 22 |
"pencils_paper.svg", |
| 23 |
"pencils.svg", |
| 24 |
"orange.svg", |
| 25 |
"dice_1.svg", |
| 26 |
"dice_2.svg", |
| 27 |
"dice_3.svg", |
| 28 |
"dice_4.svg", |
| 29 |
"dice_5.svg", |
| 30 |
"dice_6.svg", |
| 31 |
"dice_7.svg", |
| 32 |
"dice_0.svg", |
| 33 |
"digital_dice0.svg", |
| 34 |
"digital_dice1.svg", |
| 35 |
"digital_dice2.svg", |
| 36 |
"digital_dice3.svg", |
| 37 |
"digital_dice4.svg", |
| 38 |
"digital_dice5.svg", |
| 39 |
"digital_dice6.svg", |
| 40 |
"digital_dice7.svg" |
| 41 |
] |
| 42 |
|
| 43 |
data: [ |
| 44 |
{ |
| 45 |
"nbOfCells": 6, |
| 46 |
"layout": [ |
| 47 |
[6,1] |
| 48 |
], |
| 49 |
"modelDisplayLayout": "smaller", |
| 50 |
"images": images.slice(3,9) |
| 51 |
}, |
| 52 |
{ |
| 53 |
"nbOfCells": 7, |
| 54 |
"layout": [ |
| 55 |
[7,1] |
| 56 |
], |
| 57 |
"modelDisplayLayout": "smaller", |
| 58 |
"images": images.slice(2,9) |
| 59 |
}, |
| 60 |
{ |
| 61 |
"nbOfCells": 8, |
| 62 |
"layout": [ |
| 63 |
[8,1] |
| 64 |
], |
| 65 |
"modelDisplayLayout": "smaller", |
| 66 |
"images": images.slice(5,13) |
| 67 |
} |
| 68 |
] |
| 69 |
} |