Changeset View
Changeset View
Standalone View
Standalone View
src/activities/scalesboard/ScaleNumber.qml
Show All 15 Lines | |||||
16 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 16 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
17 | * GNU General Public License for more details. | 17 | * GNU General Public License for more details. | ||
18 | * | 18 | * | ||
19 | * You should have received a copy of the GNU General Public License | 19 | * You should have received a copy of the GNU General Public License | ||
20 | * along with this program; if not, see <https://www.gnu.org/licenses/>. | 20 | * along with this program; if not, see <https://www.gnu.org/licenses/>. | ||
21 | */ | 21 | */ | ||
22 | 22 | | |||
23 | Scalesboard { | 23 | Scalesboard { | ||
24 | dataset: [ | | |||
25 | { | | |||
26 | "masses": [[1, "1"], [2, "2"], [2, "2"], [5, "5"], [5, "5"], [10, "10"], [10, "10"]], | | |||
27 | "targets": [[3, "3"], [4, "4"], [6, "6"], [7, "7"], [8, "8"], [9, "9"]], | | |||
28 | "rightDrop": false | | |||
29 | }, | | |||
30 | { | | |||
31 | "masses": [[1, "1"], [2, "2"], [2, "2"], [5, "5"], [5, "5"], [10, "10"], [10, "10"]], | | |||
32 | "targets": [[3, "3"], [4, "4"], [6, "6"], [7, "7"], [8, "8"], [9, "9"]], | | |||
33 | "rightDrop": false | | |||
34 | }, | | |||
35 | { | | |||
36 | "masses": [[1, "1"], [2, "2"], [2, "2"], [5, "5"], [5, "5"], [10, "10"], [10, "10"]], | | |||
37 | "targets": [[12, "12"], [13, "13"], [14, "14"], [15, "15"], [16, "16"]], | | |||
38 | "rightDrop": false | | |||
39 | }, | | |||
40 | { | | |||
41 | "masses": [[2, "2"], [2, "2"], [5, "5"], [5, "5"], [5, "5"]], | | |||
42 | "targets": [[8, "8"], [11, "11"], [13, "13"]], | | |||
43 | "rightDrop": true, | | |||
44 | "message": qsTr("Take care, you can drop weights on both sides of the scale.") | | |||
45 | }, | | |||
46 | { | | |||
47 | "masses": [[2, "2"], [5, "5"], [10, "10"], [10, "10"], [12, "12"]], | | |||
48 | "targets": [[3, "3"], [8, "8"], [13, "13"]], | | |||
49 | "rightDrop": true | | |||
50 | }, | | |||
51 | { | | |||
52 | "masses": [[2, "2"], [4, "4"], [7, "7"], [10, "10"], [12, "12"]], | | |||
53 | "targets": [[3, "3"], [5, "5"], [8, "8"], [9, "9"]], | | |||
54 | "rightDrop": true | | |||
55 | }, | | |||
56 | { | | |||
57 | "masses": [[5, "5"], [8, "8"], [9, "9"], [10, "10"], [11, "11"], [12, "12"]], | | |||
58 | "targets": [[6, "6"], [7, "7"], [13, "13"], [14, "14"], [15, "15"], [16, "16"], | | |||
59 | [17, "17"], [18, "18"]], | | |||
60 | "rightDrop": true | | |||
61 | }, | | |||
62 | { | | |||
63 | "masses": [[1, "1"], [2, "2"], [2, "2"], [5, "5"], [5, "5"], [10, "10"], [10, "10"]], | | |||
64 | "targets": [[3, "3"], [4, "4"], [6, "6"], [7, "7"], [8, "8"], [9, "9"]], | | |||
65 | "rightDrop": false, | | |||
66 | "message": qsTr("Now you have to guess the weight of the gift."), | | |||
67 | "question": qsTr("Enter the weight of the gift: %1") | | |||
68 | }, | | |||
69 | { | | |||
70 | "masses": [[2, "2"], [2, "2"], [5, "5"], [5, "5"], [5, "5"]], | | |||
71 | "targets": [[8, "8"], [11, "11"], [13, "13"]], | | |||
72 | "rightDrop": true, | | |||
73 | "message": qsTr("Take care, you can drop weights on both sides of the scale."), | | |||
74 | "question": qsTr("Enter the weight of the gift: %1") | | |||
75 | }, | | |||
76 | { | | |||
77 | "masses": [[2, "2"], [5, "5"], [10, "10"], [10, "10"], [12, "12"]], | | |||
78 | "targets": [[3, "3"], [8, "8"], [13, "13"]], | | |||
79 | "rightDrop": true, | | |||
80 | "question": qsTr("Enter the weight of the gift: %1") | | |||
81 | }, | | |||
82 | { | | |||
83 | "masses": [[2, "2"], [4, "4"], [7, "7"], [10, "10"], [12, "12"]], | | |||
84 | "targets": [[3, "3"], [5, "5"], [8, "8"], [9, "9"]], | | |||
85 | "rightDrop": true, | | |||
86 | "question": qsTr("Enter the weight of the gift: %1") | | |||
87 | }, | | |||
88 | { | | |||
89 | "masses": [[5, "5"], [8, "8"], [9, "9"], [10, "10"], [11, "11"], [12, "12"]], | | |||
90 | "targets": [[6, "6"], [7, "7"], [13, "13"], [14, "14"], [15, "15"], [16, "16"], | | |||
91 | [17, "17"], [18, "18"]], | | |||
92 | "rightDrop": true, | | |||
93 | "question": qsTr("Enter the weight of the gift: %1") | | |||
94 | }, | | |||
95 | ] | | |||
96 | | ||||
97 | | ||||
98 | 24 | | |||
99 | } | 25 | } |