Warning, /education/gcompris/src/activities/comparator/resource/1/Data.qml is written in an unsupported language. File is not indexed.
0001 /* GCompris - Data.qml 0002 * 0003 * SPDX-FileCopyrightText: 2022 Aastha Chauhan <aastha.chauhan01@gmail.com> 0004 * 0005 * Authors: 0006 * Aastha Chauhan <aastha.chauhan01@gmail.com> 0007 * 0008 * SPDX-License-Identifier: GPL-3.0-or-later 0009 */ 0010 0011 import GCompris 1.0 0012 0013 /* 0014 Here is an example of what data is expected for a level with specific numbers: 0015 data: [ 0016 { 0017 random: false, 0018 values: [ 0019 // First sublevel 0020 [[11, 55], [88, 22], [11, 44]], 0021 // Second sublevel 0022 [[23, 8], [855, 252], [115, 115], [1996, 1987], [1996, 2003]] 0023 ] 0024 }, 0025 { 0026 random: false, 0027 values: [ 0028 [[822, 99], [4432, 4431], [5252, 2525]], 0029 [[11, 23], [3523, 51], [33, 33]], 0030 [[73, 2], [201, 532], [4215, 241]] 0031 ] 0032 } 0033 ] 0034 */ 0035 Data { 0036 objective: qsTr("Numbers from 1 to 9.") 0037 difficulty: 1 0038 0039 data: [ 0040 { 0041 random: true, 0042 numberOfSublevels: 5, 0043 minValue: 1, 0044 maxValue: 9, 0045 numberOfEquations: 5 0046 }, 0047 { 0048 random: true, 0049 numberOfSublevels: 5, 0050 minValue: 1, 0051 maxValue: 9, 0052 numberOfEquations: 5 0053 }, 0054 { 0055 random: true, 0056 numberOfSublevels: 5, 0057 minValue: 1, 0058 maxValue: 9, 0059 numberOfEquations: 5 0060 } 0061 ] 0062 }