Changeset View
Changeset View
Standalone View
Standalone View
src/activities/calendar/resource/1/Data.qml
- This file was added.
1 | /* GCompris - Data.qml | ||||
---|---|---|---|---|---|
2 | * | ||||
3 | * Copyright (C) 2019 Akshay Kumar <email.akshay98@gmail.com> | ||||
4 | * | ||||
5 | * Authors: | ||||
6 | * Akshay Kumar <email.akshay98@gmail.com> | ||||
7 | * | ||||
8 | * This program is free software; you can redistribute it and/or modify | ||||
9 | * it under the terms of the GNU General Public License as published by | ||||
10 | * the Free Software Foundation; either version 3 of the License, or | ||||
11 | * (at your option) any later version. | ||||
12 | * | ||||
13 | * This program is distributed in the hope that it will be useful, | ||||
14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||||
15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||||
16 | * GNU General Public License for more details. | ||||
17 | * | ||||
18 | * You should have received a copy of the GNU General Public License | ||||
19 | * along with this program; if not, see <http://www.gnu.org/licenses/>. | ||||
20 | */ | ||||
21 | import QtQuick 2.6 | ||||
22 | import GCompris 1.0 | ||||
23 | import "../../../../core" | ||||
24 | | ||||
25 | Dataset { | ||||
26 | objective: qsTr("Calendar Questions for a single month") | ||||
27 | difficulty: 1 | ||||
28 | data: [ | ||||
29 | { | ||||
30 | "navigationBarVisible" : false, | ||||
31 | "minimumDate": "2018-03-01", | ||||
32 | "maximumDate": "2018-03-31", | ||||
33 | "visibleMonth": 2, | ||||
34 | "visibleYear": 2018, | ||||
35 | "mode": "findDay", | ||||
36 | "questionsExplicitlyGiven": false, | ||||
37 | "questionAnswers": { | ||||
38 | "length": 5 | ||||
39 | } | ||||
40 | }, | ||||
41 | { | ||||
42 | "navigationBarVisible" : false, | ||||
43 | "minimumDate": "2018-03-01", | ||||
44 | "maximumDate": "2018-03-31", | ||||
45 | "visibleMonth": 2, | ||||
46 | "visibleYear": 2018, | ||||
47 | "mode": "findDay", | ||||
48 | "questionsExplicitlyGiven": true, | ||||
49 | "questionAnswers": [ | ||||
50 | { | ||||
51 | "question": qsTr("Select day 23"), | ||||
52 | "answer": {"year": 2018, "month": 2, "day": 23} | ||||
53 | }, | ||||
54 | { | ||||
55 | "question": qsTr("Select day 1"), | ||||
56 | "answer": {"year": 2018, "month": 2, "day": 1} | ||||
57 | }, | ||||
58 | { | ||||
59 | "question": qsTr("Select day 16"), | ||||
60 | "answer": {"year": 2018, "month": 2, "day": 16} | ||||
61 | }, | ||||
62 | { | ||||
63 | "question": qsTr("Select day 28"), | ||||
64 | "answer": {"year": 2018, "month": 2, "day": 28} | ||||
65 | }, | ||||
66 | { | ||||
67 | "question": qsTr("Select day 11"), | ||||
68 | "answer": {"year": 2018, "month": 2, "day": 11} | ||||
69 | }, | ||||
70 | { | ||||
71 | "question": qsTr("Select day 20"), | ||||
72 | "answer": {"year": 2018, "month": 2, "day": 20} | ||||
73 | } | ||||
74 | ] | ||||
75 | }, | ||||
76 | { | ||||
77 | "navigationBarVisible" : false, | ||||
78 | "minimumDate": "2018-03-01", | ||||
79 | "maximumDate": "2018-03-31", | ||||
80 | "visibleMonth": 2, | ||||
81 | "visibleYear": 2018, | ||||
82 | "mode": "findDayOfWeek", | ||||
83 | "questionsExplicitlyGiven": false, | ||||
84 | "questionAnswers": { | ||||
85 | "length": 7 | ||||
86 | } | ||||
87 | }, | ||||
88 | { | ||||
89 | "navigationBarVisible" : false, | ||||
90 | "minimumDate": "2018-03-01", | ||||
91 | "maximumDate": "2018-03-31", | ||||
92 | "visibleMonth": 2, | ||||
93 | "visibleYear": 2018, | ||||
94 | "mode": "findDayOfWeek", | ||||
95 | "questionsExplicitlyGiven": true, | ||||
96 | "questionAnswers": [ | ||||
97 | { | ||||
98 | "question": qsTr("What day of week is the 4th of given month?"), | ||||
99 | "answer": {"dayOfWeek": 0} | ||||
100 | }, | ||||
101 | { | ||||
102 | "question": qsTr("What day of the week is the 12th of given month?"), | ||||
103 | "answer": {"dayOfWeek": 1} | ||||
104 | }, | ||||
105 | { | ||||
106 | "question": qsTr("What day of the week is the 20th of given month?"), | ||||
107 | "answer": {"dayOfWeek": 2} | ||||
108 | }, | ||||
109 | { | ||||
110 | "question": qsTr("What day of the week is the 28th of given month?"), | ||||
111 | "answer": {"dayOfWeek": 3} | ||||
112 | }, | ||||
113 | { | ||||
114 | "question": qsTr("What day of the week is the 22nd of given month?"), | ||||
115 | "answer": {"dayOfWeek": 4} | ||||
116 | }, | ||||
117 | { | ||||
118 | "question": qsTr("What day of the week is the 16th of given month?"), | ||||
119 | "answer": {"dayOfWeek": 5} | ||||
120 | }, | ||||
121 | { | ||||
122 | "question": qsTr("What day of the week is the 10th of given month?"), | ||||
123 | "answer": {"dayOfWeek": 6} | ||||
124 | } | ||||
125 | ] | ||||
126 | }, | ||||
127 | { | ||||
128 | "navigationBarVisible": false, | ||||
129 | "minimumDate": "2018-03-01", | ||||
130 | "maximumDate": "2018-03-31", | ||||
131 | "visibleMonth": 2, | ||||
132 | "visibleYear": 2018, | ||||
133 | "mode": "findDay", | ||||
134 | "questionsExplicitlyGiven": true, | ||||
135 | "questionAnswers": [ | ||||
136 | { | ||||
137 | "question": qsTr("Select a Monday between days 1 and 7 of given month"), | ||||
138 | "answer": {"year": 2018, "month": 2, "day": 5} | ||||
139 | }, | ||||
140 | { | ||||
141 | "question": qsTr("Select a Tuesday between days 8 and 16 of given month"), | ||||
142 | "answer": {"year": 2018, "month": 2, "day": 13} | ||||
143 | }, | ||||
144 | { | ||||
145 | "question": qsTr("Select a Wednesday between days 15 and 22 of given month"), | ||||
146 | "answer": {"year": 2018, "month": 2, "day": 21} | ||||
147 | }, | ||||
148 | { | ||||
149 | "question": qsTr("Select a Thursday between days 26 and 31 of given month"), | ||||
150 | "answer": {"year": 2018, "month": 2, "day": 29} | ||||
151 | }, | ||||
152 | { | ||||
153 | "question": qsTr("Select a Friday between days 20 and 25 of given month"), | ||||
154 | "answer": {"year": 2018, "month": 2, "day": 23} | ||||
155 | }, | ||||
156 | { | ||||
157 | "question": qsTr("Select a Saturday between days 13 and 23 of given month"), | ||||
158 | "answer": {"year": 2018, "month": 2, "day": 17} | ||||
159 | }, | ||||
160 | { | ||||
161 | "question": qsTr("Select a Sunday between days 5 and 17 of given month"), | ||||
162 | "answer": {"year": 2018, "month": 2, "day": 11} | ||||
163 | } | ||||
164 | ] | ||||
165 | }, | ||||
166 | { | ||||
167 | "navigationBarVisible" : false, | ||||
168 | "minimumDate": "2018-03-01", | ||||
169 | "maximumDate": "2018-03-31", | ||||
170 | "visibleMonth": 2, | ||||
171 | "visibleYear": 2018, | ||||
172 | "mode": "findDay", | ||||
173 | "questionsExplicitlyGiven": true, | ||||
174 | "questionAnswers": [ | ||||
175 | { | ||||
176 | "question": qsTr("Select a Monday between days 1 and 7 of given month"), | ||||
177 | "answer": {"year": 2018, "month": 2, "day": 5} | ||||
178 | }, | ||||
179 | { | ||||
180 | "question": qsTr("Select a Tuesday between days 8 and 16 of given month"), | ||||
181 | "answer": {"year": 2018, "month": 2, "day": 13} | ||||
182 | }, | ||||
183 | { | ||||
184 | "question": qsTr("Select a Wednesday between days 15 and 22 of given month"), | ||||
185 | "answer": {"year": 2018, "month": 2, "day": 21} | ||||
186 | }, | ||||
187 | { | ||||
188 | "question": qsTr("Select a Thursday between days 26 and 31 of given month"), | ||||
189 | "answer": {"year": 2018, "month": 2, "day": 29} | ||||
190 | }, | ||||
191 | { | ||||
192 | "question": qsTr("Select a Friday between days 20 and 25 of given month"), | ||||
193 | "answer": {"year": 2018, "month": 2, "day": 23} | ||||
194 | }, | ||||
195 | { | ||||
196 | "question": qsTr("Select a Saturday between days 13 and 23 of given month"), | ||||
197 | "answer": {"year": 2018, "month": 2, "day": 17} | ||||
198 | }, | ||||
199 | { | ||||
200 | "question": qsTr("Select a Sunday between days 5 and 17 of given month"), | ||||
201 | "answer": {"year": 2018, "month": 2, "day": 11} | ||||
202 | } | ||||
203 | ] | ||||
204 | } | ||||
205 | ] | ||||
206 | } |