Warning, /education/gcompris/src/activities/memory-enumerate/resource/4/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 * SPDX-FileCopyrightText: 2023 Timothée Giet <animtim@gmail.com> 0005 * 0006 * Authors: 0007 * Deepak Kumar <deepakdk2431@gmail.com> 0008 * Timothée Giet <animtim@gmail.com> 0009 * 0010 * SPDX-License-Identifier: GPL-3.0-or-later 0011 */ 0012 0013 import GCompris 1.0 0014 import GCompris 1.0 as GCompris 0015 0016 Data { 0017 objective: qsTr("Match the numbers up to 5.") 0018 difficulty: 2 0019 0020 readonly property string imageUrl: "qrc:/gcompris/src/activities/memory-enumerate/resource/butterfly.svg" 0021 0022 readonly property var texts: [ 0023 ["", 0], 0024 ["", 1], 0025 ["", 2], 0026 ["", 3], 0027 ["", 4], 0028 ["", 5] 0029 ] 0030 0031 readonly property var repeaterModels: [ 0032 [ 0033 [{ "itemX": 0, "itemY": 0, "itemSize": 0, "itemRotation": 0, "itemSource": imageUrl}], '' 0034 ], 0035 [ 0036 [{ "itemX": 0.3, "itemY": 0.45, "itemSize": 0.3, "itemRotation": 30, "itemSource": imageUrl}], '' 0037 ], 0038 [ 0039 [{ "itemX": 0.25, "itemY": 0.1, "itemSize": 0.3, "itemRotation": 50, "itemSource": imageUrl}, 0040 { "itemX": 0.4, "itemY": 0.6, "itemSize": 0.3, "itemRotation": -50, "itemSource": imageUrl}], '' 0041 ], 0042 [ 0043 [{ "itemX": 0.1, "itemY": 0.05, "itemSize": 0.3, "itemRotation": -10, "itemSource": imageUrl}, 0044 { "itemX": 0.6, "itemY": 0.35, "itemSize": 0.3, "itemRotation": -25, "itemSource": imageUrl}, 0045 { "itemX": 0.2, "itemY": 0.55, "itemSize": 0.3, "itemRotation": 30, "itemSource": imageUrl}], '' 0046 ], 0047 [ 0048 [{ "itemX": 0.5, "itemY": 0.05, "itemSize": 0.3, "itemRotation": -40, "itemSource": imageUrl}, 0049 { "itemX": 0.1, "itemY": 0.3, "itemSize": 0.3, "itemRotation": 45, "itemSource": imageUrl}, 0050 { "itemX": 0.6, "itemY": 0.5, "itemSize": 0.3, "itemRotation": -15, "itemSource": imageUrl}, 0051 { "itemX": 0.25, "itemY": 0.65, "itemSize": 0.3, "itemRotation": -30, "itemSource": imageUrl}], '' 0052 ], 0053 [ 0054 [{ "itemX": 0.55, "itemY": 0.05, "itemSize": 0.3, "itemRotation": -15, "itemSource": imageUrl}, 0055 { "itemX": 0.1, "itemY": 0.15, "itemSize": 0.3, "itemRotation": -150, "itemSource": imageUrl}, 0056 { "itemX": 0.5, "itemY": 0.35, "itemSize": 0.3, "itemRotation": 45, "itemSource": imageUrl}, 0057 { "itemX": 0.1, "itemY": 0.55, "itemSize": 0.3, "itemRotation": -45, "itemSource": imageUrl}, 0058 { "itemX": 0.6, "itemY": 0.75, "itemSize": 0.3, "itemRotation": -10, "itemSource": imageUrl}], '' 0059 ] 0060 ] 0061 0062 readonly property var sounds: [ 0063 ["", 0064 GCompris.ApplicationInfo.getAudioFilePath("voices-$CA/$LOCALE/alphabet/U0030.$CA")], 0065 ["", 0066 GCompris.ApplicationInfo.getAudioFilePath("voices-$CA/$LOCALE/alphabet/U0031.$CA")], 0067 ["", 0068 GCompris.ApplicationInfo.getAudioFilePath("voices-$CA/$LOCALE/alphabet/U0032.$CA")], 0069 ["", 0070 GCompris.ApplicationInfo.getAudioFilePath("voices-$CA/$LOCALE/alphabet/U0033.$CA")], 0071 ["", 0072 GCompris.ApplicationInfo.getAudioFilePath("voices-$CA/$LOCALE/alphabet/U0034.$CA")], 0073 ["", 0074 GCompris.ApplicationInfo.getAudioFilePath("voices-$CA/$LOCALE/alphabet/U0035.$CA")] 0075 ] 0076 0077 data: [ 0078 { // Level 1 0079 "columns": 4, 0080 "rows": 3, 0081 "texts": texts.slice(0, 6), 0082 "repeaterModels": repeaterModels.slice(0, 6), 0083 "sounds": sounds.slice(0, 6) 0084 } 0085 ] 0086 }