Data.qml 6.47 KB
Newer Older
Shubham Mishra's avatar
Shubham Mishra committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
/* GCompris - Data.qml
 *
 * Copyright (C) 2020 Shubham Mishra <email.shivam828787@gmail.com>
 *
 * Authors:
 *   shivam828787@gmail.com <email.shivam828787@gmail.com>
 *
 *   This program is free software; you can redistribute it and/or modify
 *   it under the terms of the GNU General Public License as published by
 *   the Free Software Foundation; either version 3 of the License, or
 *   (at your option) any later version.
 *
 *   This program is distributed in the hope that it will be useful,
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *   GNU General Public License for more details.
 *
 *   You should have received a copy of the GNU General Public License
 *   along with this program; if not, see <http://www.gnu.org/licenses/>.
 */
import GCompris 1.0

Data {
Shubham Mishra's avatar
Shubham Mishra committed
24
    objective: qsTr("Play with images.")
Shubham Mishra's avatar
Shubham Mishra committed
25
    difficulty: 2
Shubham Mishra's avatar
Shubham Mishra committed
26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42
    property var images: [
        "qrc:/gcompris/src/activities/crane/resource/bulb.svg",
        "qrc:/gcompris/src/activities/crane/resource/letter-a.svg",
        "qrc:/gcompris/src/activities/crane/resource/letter-b.svg",
        "qrc:/gcompris/src/activities/crane/resource/rectangle1.svg",
        "qrc:/gcompris/src/activities/crane/resource/rectangle2.svg",
        "qrc:/gcompris/src/activities/crane/resource/square1.svg",
        "qrc:/gcompris/src/activities/crane/resource/square2.svg",
        "qrc:/gcompris/src/activities/crane/resource/triangle1.svg",
        "qrc:/gcompris/src/activities/crane/resource/triangle2.svg",
        "qrc:/gcompris/src/activities/crane/resource/tux.svg",
        "qrc:/gcompris/src/activities/crane/resource/water_drop1.svg",
        "qrc:/gcompris/src/activities/crane/resource/water_drop2.svg",
        "qrc:/gcompris/src/activities/crane/resource/water_spot1.svg",
        "qrc:/gcompris/src/activities/crane/resource/water_spot2.svg"
    ]

Shubham Mishra's avatar
Shubham Mishra committed
43 44 45
    data:  [
        [
            {
Shubham Mishra's avatar
Shubham Mishra committed
46 47
                "isWord": false,
                "images": images.slice(0,2),
Shubham Mishra's avatar
Shubham Mishra committed
48 49 50 51 52 53
                "showGrid": true,
                "inLine": true,
                "rows": 3,
                "columns": 4
            },
            {
Shubham Mishra's avatar
Shubham Mishra committed
54 55
                "isWord": false,
                "images": images.slice(3,5),
Shubham Mishra's avatar
Shubham Mishra committed
56 57 58 59 60 61
                "showGrid": true,
                "inLine": true,
                "rows": 3,
                "columns": 4
            },
            {
Shubham Mishra's avatar
Shubham Mishra committed
62 63
                "isWord": false,
                "images": images.slice(6,8),
Shubham Mishra's avatar
Shubham Mishra committed
64 65 66 67 68 69
                "showGrid": true,
                "inLine": true,
                "rows": 3,
                "columns": 4
            },
            {
Shubham Mishra's avatar
Shubham Mishra committed
70 71
                "isWord": false,
                "images": images.slice(9,11),
Shubham Mishra's avatar
Shubham Mishra committed
72 73 74 75 76 77
                "showGrid": true,
                "inLine": false,
                "rows": 3,
                "columns": 4
            },
            {
Shubham Mishra's avatar
Shubham Mishra committed
78 79
                "isWord": false,
                "images": images.slice(11,13),
Shubham Mishra's avatar
Shubham Mishra committed
80 81 82 83 84 85 86 87 88
                "showGrid": true,
                "inLine": false,
                "rows": 3,
                "columns": 4
            }
        ],
        [
            {
                "isWord": false,
Shubham Mishra's avatar
Shubham Mishra committed
89
                "images": images.slice(0,3),
Shubham Mishra's avatar
Shubham Mishra committed
90 91
                "showGrid": true,
                "inLine": true,
Shubham Mishra's avatar
Shubham Mishra committed
92 93
                "rows": 4,
                "columns": 5
Shubham Mishra's avatar
Shubham Mishra committed
94 95 96
            },
            {
                "isWord": false,
Shubham Mishra's avatar
Shubham Mishra committed
97
                "images": images.slice(2,4),
Shubham Mishra's avatar
Shubham Mishra committed
98 99
                "showGrid": true,
                "inLine": true,
Shubham Mishra's avatar
Shubham Mishra committed
100 101
                "rows": 4,
                "columns": 5
Shubham Mishra's avatar
Shubham Mishra committed
102 103 104
            },
            {
                "isWord": false,
Shubham Mishra's avatar
Shubham Mishra committed
105
                "images": images.slice(5,8),
Shubham Mishra's avatar
Shubham Mishra committed
106 107
                "showGrid": true,
                "inLine": true,
Shubham Mishra's avatar
Shubham Mishra committed
108 109
                "rows": 4,
                "columns": 5
Shubham Mishra's avatar
Shubham Mishra committed
110 111 112
            },
            {
                "isWord": false,
Shubham Mishra's avatar
Shubham Mishra committed
113
                "images": images.slice(9,11),
Shubham Mishra's avatar
Shubham Mishra committed
114 115
                "showGrid": true,
                "inLine": false,
Shubham Mishra's avatar
Shubham Mishra committed
116 117
                "rows": 4,
                "columns": 5
Shubham Mishra's avatar
Shubham Mishra committed
118 119 120
            },
            {
                "isWord": false,
Shubham Mishra's avatar
Shubham Mishra committed
121
                "images": images.slice(10,13),
Shubham Mishra's avatar
Shubham Mishra committed
122 123
                "showGrid": true,
                "inLine": false,
Shubham Mishra's avatar
Shubham Mishra committed
124 125
                "rows": 4,
                "columns": 5
Shubham Mishra's avatar
Shubham Mishra committed
126 127 128 129
            }
        ],
        [
            {
Shubham Mishra's avatar
Shubham Mishra committed
130 131
                "isWord": false,
                "images": images.slice(0,3),
Shubham Mishra's avatar
Shubham Mishra committed
132 133
                "showGrid": false,
                "inLine": false,
Shubham Mishra's avatar
Shubham Mishra committed
134 135
                "rows": 5,
                "columns": 6
Shubham Mishra's avatar
Shubham Mishra committed
136 137
            },
            {
Shubham Mishra's avatar
Shubham Mishra committed
138 139
                "isWord": false,
                "images": images.slice(2,5),
Shubham Mishra's avatar
Shubham Mishra committed
140 141
                "showGrid": false,
                "inLine": false,
Shubham Mishra's avatar
Shubham Mishra committed
142 143
                "rows": 5,
                "columns": 6
Shubham Mishra's avatar
Shubham Mishra committed
144 145
            },
            {
Shubham Mishra's avatar
Shubham Mishra committed
146 147
                "isWord": false,
                "images": images.slice(3,6),
Shubham Mishra's avatar
Shubham Mishra committed
148 149
                "showGrid": false,
                "inLine": false,
Shubham Mishra's avatar
Shubham Mishra committed
150 151
                "rows": 5,
                "columns": 6
Shubham Mishra's avatar
Shubham Mishra committed
152 153
            },
            {
Shubham Mishra's avatar
Shubham Mishra committed
154 155
                "isWord": false,
                "images": images.slice(6,9),
Shubham Mishra's avatar
Shubham Mishra committed
156 157
                "showGrid": false,
                "inLine": false,
Shubham Mishra's avatar
Shubham Mishra committed
158 159
                "rows": 5,
                "columns": 6
Shubham Mishra's avatar
Shubham Mishra committed
160 161
            },
            {
Shubham Mishra's avatar
Shubham Mishra committed
162 163
                "isWord": false,
                "images": images.slice(9,13),
Shubham Mishra's avatar
Shubham Mishra committed
164 165
                "showGrid": false,
                "inLine": false,
Shubham Mishra's avatar
Shubham Mishra committed
166 167
                "rows": 5,
                "columns": 6
Shubham Mishra's avatar
Shubham Mishra committed
168 169 170 171 172
            }
        ],
        [
            {
                "isWord": false,
Shubham Mishra's avatar
Shubham Mishra committed
173
                "images": images.slice(0,4),
Shubham Mishra's avatar
Shubham Mishra committed
174 175
                "showGrid": false,
                "inLine": true,
Shubham Mishra's avatar
Shubham Mishra committed
176 177
                "rows": 6,
                "columns": 7
Shubham Mishra's avatar
Shubham Mishra committed
178 179 180
            },
            {
                "isWord": false,
Shubham Mishra's avatar
Shubham Mishra committed
181
                "images": images.slice(2,7),
Shubham Mishra's avatar
Shubham Mishra committed
182 183
                "showGrid": false,
                "inLine": true,
Shubham Mishra's avatar
Shubham Mishra committed
184 185
                "rows": 6,
                "columns": 7
Shubham Mishra's avatar
Shubham Mishra committed
186 187 188
            },
            {
                "isWord": false,
Shubham Mishra's avatar
Shubham Mishra committed
189
                "images": images.slice(4,9),
Shubham Mishra's avatar
Shubham Mishra committed
190 191
                "showGrid": false,
                "inLine": true,
Shubham Mishra's avatar
Shubham Mishra committed
192 193
                "rows": 6,
                "columns": 7
Shubham Mishra's avatar
Shubham Mishra committed
194 195 196
            },
            {
                "isWord": false,
Shubham Mishra's avatar
Shubham Mishra committed
197
                "images": images.slice(5,11),
Shubham Mishra's avatar
Shubham Mishra committed
198 199
                "showGrid": false,
                "inLine": false,
Shubham Mishra's avatar
Shubham Mishra committed
200 201
                "rows": 6,
                "columns": 7
Shubham Mishra's avatar
Shubham Mishra committed
202 203 204
            },
            {
                "isWord": false,
Shubham Mishra's avatar
Shubham Mishra committed
205
                "images": images.slice(6,13),
Shubham Mishra's avatar
Shubham Mishra committed
206 207
                "showGrid": false,
                "inLine": false,
Shubham Mishra's avatar
Shubham Mishra committed
208 209
                "rows": 6,
                "columns": 7
Shubham Mishra's avatar
Shubham Mishra committed
210 211 212 213
            }
        ]
    ]
}