Changeset View
Changeset View
Standalone View
Standalone View
src/activities/redraw/resource/2/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 6,7") | ||||
27 | difficulty: 2 | ||||
28 | data: [ | ||||
29 | { | ||||
30 | "columns": 6, | ||||
31 | "image": | ||||
32 | [ | ||||
33 | 0,1,0,0,1,0, | ||||
34 | 1,0,0,0,0,1, | ||||
35 | 0,0,0,1,0,0, | ||||
36 | 0,0,0,0,0,0, | ||||
37 | 1,0,0,0,0,1, | ||||
38 | 0,0,1,1,0,0 | ||||
39 | ] | ||||
40 | }, | ||||
41 | { | ||||
42 | "columns": 6, | ||||
43 | "image": | ||||
44 | [ | ||||
45 | 1,0,2,0,0,0, | ||||
46 | 0,0,0,0,0,2, | ||||
47 | 0,0,1,2,0,0, | ||||
48 | 0,0,2,1,0,0, | ||||
49 | 0,0,0,0,0,0, | ||||
50 | 0,0,0,3,3,1 | ||||
51 | ] | ||||
52 | }, | ||||
53 | { | ||||
54 | "columns": 6, | ||||
55 | "image": | ||||
56 | [ | ||||
57 | 1,0,0,0,0,3, | ||||
58 | 0,2,0,0,0,3, | ||||
59 | 0,0,0,3,0,0, | ||||
60 | 0,0,1,0,0,0, | ||||
61 | 0,0,0,2,0,0, | ||||
62 | 0,1,0,0,0,1 | ||||
63 | ] | ||||
64 | }, | ||||
65 | { | ||||
66 | "columns": 7, | ||||
67 | "image": | ||||
68 | [ | ||||
69 | 0,1,2,0,2,1,0, | ||||
70 | 1,0,0,0,0,0,1, | ||||
71 | 2,0,0,0,0,0,2, | ||||
72 | 0,0,0,0,0,0,0, | ||||
73 | 2,0,0,0,0,0,2, | ||||
74 | 1,0,0,0,0,0,1, | ||||
75 | 0,1,2,0,2,1,0 | ||||
76 | ] | ||||
77 | }, | ||||
78 | { | ||||
79 | "columns": 7, | ||||
80 | "image": | ||||
81 | [ | ||||
82 | 0,0,1,0,1,0,0, | ||||
83 | 0,2,0,2,0,2,0, | ||||
84 | 3,0,0,0,0,0,3, | ||||
85 | 0,2,0,0,0,2,0, | ||||
86 | 0,0,0,3,0,0,0, | ||||
87 | 0,2,0,0,0,2,0, | ||||
88 | 1,0,1,0,1,0,1 | ||||
89 | ] | ||||
90 | }, | ||||
91 | { | ||||
92 | "columns": 7, | ||||
93 | "image": | ||||
94 | [ | ||||
95 | 0,0,1,0,1,0,0, | ||||
96 | 3,1,0,0,0,0,2, | ||||
97 | 3,0,0,0,0,0,3, | ||||
98 | 0,2,0,1,0,2,0, | ||||
99 | 0,0,0,0,1,0,0, | ||||
100 | 0,2,0,0,0,2,0, | ||||
101 | 0,3,0,0,3,0,1 | ||||
102 | ] | ||||
103 | }, | ||||
104 | ] | ||||
105 | } |