Changeset View
Changeset View
Standalone View
Standalone View
src/activities/redraw/resource/1/Data.qml
- This file was added.
1 | /* GCompris - Data.qml | ||||
---|---|---|---|---|---|
2 | * | ||||
3 | * Copyright (C) 2019 Shubham Mishra <email.shivam828787@gmail.com> | ||||
4 | * | ||||
5 | * Authors: | ||||
6 | * Shubham Mishra <email.shivam828787@gmail.com> | ||||
7 | * | ||||
8 | * This program is free software; you can redistribute it and/or modify | ||||
9 | * it under the terms of the GNU General Public License as published by | ||||
10 | * the Free Software Foundation; either version 3 of the License, or | ||||
11 | * (at your option) any later version. | ||||
12 | * | ||||
13 | * This program is distributed in the hope that it will be useful, | ||||
14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||||
15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||||
16 | * GNU General Public License for more details. | ||||
17 | * | ||||
18 | * You should have received a copy of the GNU General Public License | ||||
19 | * along with this program; if not, see <http://www.gnu.org/licenses/>. | ||||
20 | */ | ||||
21 | import QtQuick 2.6 | ||||
22 | import GCompris 1.0 | ||||
23 | import "../../../../core" | ||||
24 | | ||||
25 | Dataset { | ||||
26 | objective: qsTr("Select a grid size of 4") | ||||
27 | difficulty: 1 | ||||
28 | data: [ | ||||
29 | { | ||||
30 | "columns": 4, | ||||
31 | "image": | ||||
32 | [ | ||||
33 | 1,0,0,1, | ||||
34 | 0,1,1,0, | ||||
35 | 0,0,0,0, | ||||
36 | 0,0,0,0, | ||||
37 | 0,0,0,0 | ||||
38 | ] | ||||
39 | }, | ||||
40 | { | ||||
41 | "columns": 4, | ||||
42 | "image": | ||||
43 | [ | ||||
44 | 1,0,0,0, | ||||
45 | 0,0,2,0, | ||||
46 | 0,0,0,0, | ||||
47 | 0,0,2,0, | ||||
48 | 1,0,0,0 | ||||
49 | ] | ||||
50 | }, | ||||
51 | { | ||||
52 | "columns": 4, | ||||
53 | "image": | ||||
54 | [ | ||||
55 | 1,0,0,0, | ||||
56 | 0,0,0,0, | ||||
57 | 0,0,2,1, | ||||
58 | 0,2,0,0, | ||||
59 | 0,0,0,0 | ||||
60 | ] | ||||
61 | }, | ||||
62 | { | ||||
63 | "columns": 4, | ||||
64 | "image": | ||||
65 | [ | ||||
66 | 1,0,0,1, | ||||
67 | 2,0,0,2, | ||||
68 | 0,0,1,0, | ||||
69 | 0,2,2,0, | ||||
70 | 1,0,0,1 | ||||
71 | ] | ||||
72 | }, | ||||
73 | { | ||||
74 | "columns": 4, | ||||
75 | "image": | ||||
76 | [ | ||||
77 | 0,0,0,1, | ||||
78 | 2,2,2,0, | ||||
79 | 0,0,1,0, | ||||
80 | 1,0,2,0, | ||||
81 | 0,2,0,1 | ||||
82 | ] | ||||
83 | }, | ||||
84 | { | ||||
85 | "columns": 4, | ||||
86 | "image": | ||||
87 | [ | ||||
88 | 0,0,0,1, | ||||
89 | 2,3,2,0, | ||||
90 | 0,0,3,0, | ||||
91 | 0,1,2,0, | ||||
92 | 0,2,0,1 | ||||
93 | ] | ||||
94 | }, | ||||
95 | ] | ||||
96 | } |