Warning, /education/gcompris/src/activities/mosaic/resource/1/Data.qml is written in an unsupported language. File is not indexed.

0001  /* GCompris - Data.qml
0002  *
0003  * SPDX-FileCopyrightText: 2020 Deepak Kumar <deepakdk2431@gmail.com>
0004  *
0005  * Authors:
0006  *   Deepak Kumar <deepakdk2431@gmail.com>
0007  *
0008  *   SPDX-License-Identifier: GPL-3.0-or-later
0009  */
0010 import GCompris 1.0
0011 
0012 Data {
0013     objective: qsTr("Up to 5 items, on a single line.")
0014     difficulty: 2
0015 
0016     property var images: [
0017         "oil_paint.svg",
0018         "tux.svg",
0019         "pencil.svg",
0020         "banana.svg",
0021         "mushroom.svg",
0022         "pencils_paper.svg",
0023         "pencils.svg",
0024         "orange.svg",
0025         "dice_1.svg",
0026         "dice_2.svg",
0027         "dice_3.svg",
0028         "dice_4.svg",
0029         "dice_5.svg",
0030         "dice_6.svg",
0031         "dice_7.svg",
0032         "dice_0.svg",
0033         "digital_dice0.svg",
0034         "digital_dice1.svg",
0035         "digital_dice2.svg",
0036         "digital_dice3.svg",
0037         "digital_dice4.svg",
0038         "digital_dice5.svg",
0039         "digital_dice6.svg",
0040         "digital_dice7.svg"
0041     ]
0042 
0043     data: [
0044         {
0045             "nbOfCells": 3,
0046             "layout": [
0047                 [3,1]
0048             ],
0049             "modelDisplayLayout": "smaller",
0050             "images": images.slice(0,3)
0051         },
0052         {
0053             "nbOfCells": 4,
0054             "layout": [
0055                 [4,1]
0056             ],
0057             "modelDisplayLayout": "smaller",
0058             "images": images.slice(1,5)
0059         },
0060         {
0061             "nbOfCells": 5,
0062             "layout": [
0063                 [5,1]
0064             ],
0065             "modelDisplayLayout": "smaller",
0066             "images": images.slice(2,7)
0067         }
0068     ]
0069 }