Changeset View
Changeset View
Standalone View
Standalone View
src/activities/memory-math-minus/resource/5/Data.qml
- This file was copied from src/activities/memory-math-minus/MemoryMathMinus.qml.
1 | /* gcompris - MemoryMathMinus.qml | 1 | /* GCompris - Data.qml | ||
---|---|---|---|---|---|
2 | * | 2 | * | ||
3 | * Copyright (C) 2014 JB BUTET <ashashiwa@gmail.com> | 3 | * Copyright (C) 2020 Deepak Kumar <deepakdk2431@gmail.com> | ||
4 | * | 4 | * | ||
5 | * Authors: | 5 | * Authors: | ||
6 | * Bruno Coudoin <bruno.coudoin@gcompris.net> (GTK+ version) | 6 | * Deepak Kumar <deepakdk2431@gmail.com> | ||
7 | * JB BUTET <ashashiwa@gmail.com> (Qt Quick port) | | |||
8 | * | 7 | * | ||
9 | * This program is free software; you can redistribute it and/or modify | 8 | * This program is free software; you can redistribute it and/or modify | ||
10 | * it under the terms of the GNU General Public License as published by | 9 | * it under the terms of the GNU General Public License as published by | ||
11 | * the Free Software Foundation; either version 3 of the License, or | 10 | * the Free Software Foundation; either version 3 of the License, or | ||
12 | * (at your option) any later version. | 11 | * (at your option) any later version. | ||
13 | * | 12 | * | ||
14 | * This program is distributed in the hope that it will be useful, | 13 | * This program is distributed in the hope that it will be useful, | ||
15 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
16 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
17 | * GNU General Public License for more details. | 16 | * GNU General Public License for more details. | ||
18 | * | 17 | * | ||
19 | * You should have received a copy of the GNU General Public License | 18 | * You should have received a copy of the GNU General Public License | ||
20 | * along with this program; if not, see <https://www.gnu.org/licenses/>. | 19 | * along with this program; if not, see <http://www.gnu.org/licenses/>. | ||
21 | */ | 20 | */ | ||
22 | import QtQuick 2.6 | | |||
23 | 21 | | |||
24 | import "../memory" | 22 | import GCompris 1.0 | ||
25 | import "memory-minusdataset.js" as Dataset | 23 | import "qrc:/gcompris/src/activities/memory/math_util.js" as Memory | ||
26 | 24 | | |||
27 | MemoryCommon { | 25 | Data { | ||
28 | dataset: Dataset.get() | 26 | objective: qsTr("Subtraction table of 5 with maximum minuend 15.") | ||
29 | backgroundImg: "qrc:/gcompris/src/activities/memory/resource/background.svg" | 27 | difficulty: 4 | ||
28 | | ||||
29 | data: [ | ||||
30 | { // Level 1 | ||||
31 | columns: 5, | ||||
32 | rows: 2, | ||||
33 | texts: Memory.getMinusTable(5) | ||||
34 | } | ||||
35 | ] | ||||
30 | } | 36 | } |