| 1 |
/* GCompris - Data.qml |
| 2 |
* |
| 3 |
* SPDX-FileCopyrightText: 2023 Johnny Jazeix <[email protected]> |
| 4 |
* |
| 5 |
* Authors: |
| 6 |
* Johnny Jazeix <[email protected]> |
| 7 |
* |
| 8 |
* SPDX-License-Identifier: GPL-3.0-or-later |
| 9 |
*/ |
| 10 |
import core 1.0 |
| 11 |
|
| 12 |
Data { |
| 13 |
//: \u002B is the unicode character for addition mathematical operator (+), \u2212 for subtraction (-), \u00D7 for multiplication (*) |
| 14 |
objective: qsTr("Small grids with \u002B, \u2212 and \u00D7 operators.") |
| 15 |
difficulty: 4 |
| 16 |
|
| 17 |
property var symbols: [ |
| 18 |
{"imgName": "1.svg", "text": '1'}, |
| 19 |
{"imgName": "2.svg", "text": '2'}, |
| 20 |
{"imgName": "3.svg", "text": '3'} |
| 21 |
] |
| 22 |
|
| 23 |
data: [ |
| 24 |
{ |
| 25 |
"random": true, |
| 26 |
"length": 20, |
| 27 |
"symbols": symbols, |
| 28 |
"size": 3, |
| 29 |
"operators": ["+", "-", "*"] |
| 30 |
} |
| 31 |
] |
| 32 |
} |