89
|
1 |
/*
|
|
2 |
* Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies).
|
|
3 |
* All rights reserved.
|
|
4 |
* This component and the accompanying materials are made available
|
|
5 |
* under the terms of "Eclipse Public License v1.0"
|
|
6 |
* which accompanies this distribution, and is available
|
|
7 |
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
|
|
8 |
*
|
|
9 |
* Initial Contributors:
|
|
10 |
* Nokia Corporation - initial contribution.
|
|
11 |
*
|
|
12 |
* Contributors:
|
|
13 |
*
|
|
14 |
* Description: This file contains form resources for the module.
|
|
15 |
*
|
|
16 |
*/
|
|
17 |
|
|
18 |
|
|
19 |
// RESOURCE IDENTIFIER
|
|
20 |
NAME CALE
|
|
21 |
|
|
22 |
// INCLUDES
|
|
23 |
#include <calendar.loc>
|
|
24 |
#include <eikon.rh>
|
|
25 |
#include <eikon.rsg>
|
|
26 |
#include <avkon.hrh>
|
|
27 |
#include <avkon.rh>
|
|
28 |
#include <avkon.rsg>
|
|
29 |
#include <avkon.mbg>
|
|
30 |
#include <avkon.loc>
|
|
31 |
#include <calencommands.hrh> // Calendar commands
|
|
32 |
|
|
33 |
#include "KoreanLunarDateEditor.rh"
|
|
34 |
#include <calenkoreanlunar.loc>
|
|
35 |
#include "CalenDefaultEditors.hrh"
|
|
36 |
#include "CalendarVariant.hrh"
|
|
37 |
#include "calendar.hrh"
|
|
38 |
|
|
39 |
RESOURCE RSS_SIGNATURE { }
|
|
40 |
|
|
41 |
|
|
42 |
// RESOURCE DEFINITIONS
|
|
43 |
|
|
44 |
|
|
45 |
// ---------------------------------------------------------
|
|
46 |
//
|
|
47 |
// r_calen_alarm_popup_items
|
|
48 |
// Define items of "Alarm" popup list.
|
|
49 |
//
|
|
50 |
// ---------------------------------------------------------
|
|
51 |
//
|
|
52 |
RESOURCE ARRAY r_calen_alarm_popup_items
|
|
53 |
{
|
|
54 |
items=
|
|
55 |
{
|
|
56 |
LBUF
|
|
57 |
{
|
|
58 |
txt = qtn_cale_alarm_off;
|
|
59 |
},
|
|
60 |
LBUF
|
|
61 |
{
|
|
62 |
txt = qtn_cale_alarm_active;
|
|
63 |
}
|
|
64 |
};
|
|
65 |
}
|
|
66 |
|
|
67 |
// ---------------------------------------------------------
|
|
68 |
//
|
|
69 |
// r_calen_confident_popup_items
|
|
70 |
// Define items of "Confidentiality:" popup list.
|
|
71 |
//
|
|
72 |
// ---------------------------------------------------------
|
|
73 |
//
|
|
74 |
RESOURCE ARRAY r_calen_confident_popup_items
|
|
75 |
{
|
|
76 |
items=
|
|
77 |
{
|
|
78 |
LBUF
|
|
79 |
{
|
|
80 |
txt = qtn_cale_confident_private;
|
|
81 |
},
|
|
82 |
LBUF
|
|
83 |
{
|
|
84 |
txt = qtn_cale_confident_public;
|
|
85 |
},
|
|
86 |
LBUF
|
|
87 |
{
|
|
88 |
txt = qtn_cale_confident_none;
|
|
89 |
}
|
|
90 |
};
|
|
91 |
}
|
|
92 |
|
|
93 |
// ---------------------------------------------------------
|
|
94 |
//
|
|
95 |
// r_calen_repeat_popup_items
|
|
96 |
// Define items of "Repeat:" popup list.
|
|
97 |
//
|
|
98 |
// ---------------------------------------------------------
|
|
99 |
//
|
|
100 |
RESOURCE ARRAY r_calen_repeat_popup_items
|
|
101 |
{
|
|
102 |
items=
|
|
103 |
{
|
|
104 |
LBUF
|
|
105 |
{
|
|
106 |
txt = qtn_cale_not_repeated;
|
|
107 |
},
|
|
108 |
LBUF
|
|
109 |
{
|
|
110 |
txt = text_calendar_every_day;
|
|
111 |
},
|
|
112 |
LBUF
|
|
113 |
{
|
|
114 |
txt = text_calendar_every_week;
|
|
115 |
},
|
|
116 |
LBUF
|
|
117 |
{
|
|
118 |
txt = text_calendar_bi_weekly;
|
|
119 |
},
|
|
120 |
LBUF
|
|
121 |
{
|
|
122 |
txt = qtn_cale_repeat_monthly;
|
|
123 |
},
|
|
124 |
LBUF
|
|
125 |
{
|
|
126 |
txt = text_calendar_every_year;
|
|
127 |
},
|
|
128 |
LBUF
|
|
129 |
{
|
|
130 |
txt = qtn_cale_other;
|
|
131 |
}
|
|
132 |
};
|
|
133 |
}
|
|
134 |
|
|
135 |
// ---------------------------------------------------------
|
|
136 |
//
|
|
137 |
// r_korean_lunar_type_popup_items
|
|
138 |
// Define items of "Solar/lunar:" popup list.
|
|
139 |
//
|
|
140 |
// ---------------------------------------------------------
|
|
141 |
//
|
|
142 |
RESOURCE ARRAY r_korean_lunar_type_popup_items
|
|
143 |
{
|
|
144 |
items=
|
|
145 |
{
|
|
146 |
LBUF
|
|
147 |
{
|
|
148 |
txt = qtn_kor_cale_note_type_solar;
|
|
149 |
},
|
|
150 |
LBUF
|
|
151 |
{
|
|
152 |
txt = qtn_kor_cale_note_type_lunar;
|
|
153 |
},
|
|
154 |
LBUF
|
|
155 |
{
|
|
156 |
txt = qtn_kor_cale_note_type_leap;
|
|
157 |
}
|
|
158 |
};
|
|
159 |
}
|
|
160 |
|
|
161 |
// ---------------------------------------------------------
|
|
162 |
//
|
|
163 |
// r_calen_noteview_menubar
|
|
164 |
// Menubar for NoteView
|
|
165 |
// The upper menu title is defined in , the lower display position is.
|
|
166 |
//
|
|
167 |
// ---------------------------------------------------------
|
|
168 |
//
|
|
169 |
RESOURCE MENU_BAR r_calen_noteview_menubar
|
|
170 |
{
|
|
171 |
titles=
|
|
172 |
{
|
|
173 |
MENU_TITLE
|
|
174 |
{
|
|
175 |
menu_pane = r_calen_noteview_menupane;
|
|
176 |
txt = " "; // Dummy
|
|
177 |
}
|
|
178 |
};
|
|
179 |
}
|
|
180 |
|
|
181 |
// ---------------------------------------------------------
|
|
182 |
//
|
|
183 |
// r_calen_noteview_menupane
|
|
184 |
// This is empty menupane.
|
|
185 |
// Editor implementation dynamically adds all parts
|
|
186 |
// of menu pane to this.
|
|
187 |
// ---------------------------------------------------------
|
|
188 |
//
|
|
189 |
RESOURCE MENU_PANE r_calen_noteview_menupane
|
|
190 |
{
|
|
191 |
items=
|
|
192 |
{
|
|
193 |
};
|
|
194 |
}
|
|
195 |
|
|
196 |
// ---------------------------------------------------------
|
|
197 |
//
|
|
198 |
// r_calen_noteview_menu_pane
|
|
199 |
//
|
|
200 |
// ---------------------------------------------------------
|
|
201 |
//
|
|
202 |
RESOURCE MENU_PANE r_calen_noteview_default_menu_pane
|
|
203 |
{
|
|
204 |
items =
|
|
205 |
{
|
|
206 |
MENU_ITEM
|
|
207 |
{
|
|
208 |
command = ECalenCmdCancel;
|
|
209 |
txt = qtn_cale_om_cancel_changes;
|
|
210 |
},
|
|
211 |
MENU_ITEM
|
|
212 |
{
|
|
213 |
command = ECalenGetLocation;
|
|
214 |
txt = qtn_cale_om_assign_from_map;
|
|
215 |
},
|
|
216 |
MENU_ITEM
|
|
217 |
{
|
|
218 |
command = ECalenDeleteCurrentEntry;
|
|
219 |
txt = qtn_cale_om_delete;
|
|
220 |
},
|
|
221 |
MENU_ITEM
|
|
222 |
{
|
|
223 |
command = ECalenSend;
|
|
224 |
txt = qtn_options_send_via;
|
|
225 |
},
|
|
226 |
MENU_ITEM
|
|
227 |
{
|
|
228 |
command = EAknCmdHelp;
|
|
229 |
txt = qtn_options_help;
|
|
230 |
},
|
|
231 |
MENU_ITEM
|
|
232 |
{
|
|
233 |
command = EAknSoftkeyExit;
|
|
234 |
txt = qtn_options_exit;
|
|
235 |
}
|
|
236 |
};
|
|
237 |
}
|
|
238 |
|
|
239 |
// ---------------------------------------------------------
|
|
240 |
// Description data related Options-menu items
|
|
241 |
// ---------------------------------------------------------
|
|
242 |
//
|
|
243 |
RESOURCE MENU_PANE r_calen_description_menu_pane
|
|
244 |
{
|
|
245 |
items =
|
|
246 |
{
|
|
247 |
MENU_ITEM
|
|
248 |
{
|
|
249 |
command = ECalenCmdAddDescription;
|
|
250 |
txt = qtn_cale_om_add_descript;
|
|
251 |
cascade = r_calen_description_add_sub_menupane;
|
|
252 |
},
|
|
253 |
MENU_ITEM
|
|
254 |
{
|
|
255 |
command = ECalenCmdShowDescription;
|
|
256 |
txt = qtn_cale_om_desc_show;
|
|
257 |
},
|
|
258 |
MENU_ITEM
|
|
259 |
{
|
|
260 |
command = ECalenCmdRemoveDescription;
|
|
261 |
txt = qtn_cale_om_desc_remove;
|
|
262 |
}
|
|
263 |
};
|
|
264 |
}
|
|
265 |
|
|
266 |
// ---------------------------------------------------------
|
|
267 |
// ---------------------------------------------------------
|
|
268 |
//
|
|
269 |
// r_calen_noteview_menu_pane
|
|
270 |
//
|
|
271 |
// ---------------------------------------------------------
|
|
272 |
//
|
|
273 |
RESOURCE MENU_PANE r_calen_noteview_location_menu_pane
|
|
274 |
{
|
|
275 |
items =
|
|
276 |
{
|
|
277 |
MENU_ITEM
|
|
278 |
{
|
|
279 |
command = ECalenGetLocation;
|
|
280 |
txt = qtn_cale_om_assign_from_map;
|
|
281 |
},
|
|
282 |
MENU_ITEM
|
|
283 |
{
|
|
284 |
command = ECalenCmdCancel;
|
|
285 |
txt = qtn_cale_om_cancel_changes;
|
|
286 |
},
|
|
287 |
MENU_ITEM
|
|
288 |
{
|
|
289 |
command = ECalenDeleteCurrentEntry;
|
|
290 |
txt = qtn_cale_om_delete;
|
|
291 |
},
|
|
292 |
MENU_ITEM
|
|
293 |
{
|
|
294 |
command = ECalenSend;
|
|
295 |
txt = qtn_options_send_via;
|
|
296 |
},
|
|
297 |
MENU_ITEM
|
|
298 |
{
|
|
299 |
command = EAknCmdHelp;
|
|
300 |
txt = qtn_options_help;
|
|
301 |
},
|
|
302 |
MENU_ITEM
|
|
303 |
{
|
|
304 |
command = EAknSoftkeyExit;
|
|
305 |
txt = qtn_options_exit;
|
|
306 |
}
|
|
307 |
};
|
|
308 |
}
|
|
309 |
// ---------------------------------------------------------
|
|
310 |
// Submenu for 'Add description' menu item.
|
|
311 |
// ---------------------------------------------------------
|
|
312 |
//
|
|
313 |
RESOURCE MENU_PANE r_calen_description_add_sub_menupane
|
|
314 |
{
|
|
315 |
items =
|
|
316 |
{
|
|
317 |
MENU_ITEM
|
|
318 |
{
|
|
319 |
command = ECalenCmdAddDescriptionNew;
|
|
320 |
txt = qtn_cale_om_descript_new;
|
|
321 |
},
|
|
322 |
MENU_ITEM
|
|
323 |
{
|
|
324 |
command = ECalenCmdAddDescriptionExisting;
|
|
325 |
txt = qtn_cale_om_descript_exist;
|
|
326 |
}
|
|
327 |
};
|
|
328 |
}
|
|
329 |
|
|
330 |
RESOURCE TBUF r_qtn_cale_note_title
|
|
331 |
{
|
|
332 |
buf = qtn_cale_note_title;
|
|
333 |
}
|
|
334 |
|
|
335 |
RESOURCE TBUF r_qtn_cale_q_del_notep_desc
|
|
336 |
{
|
|
337 |
buf = qtn_cale_q_del_notep_desc;
|
|
338 |
}
|
|
339 |
|
|
340 |
RESOURCE DIALOG r_calen_remove_description_confirmation_query
|
|
341 |
{
|
|
342 |
flags = EGeneralQueryFlags;
|
|
343 |
buttons = R_AVKON_SOFTKEYS_YES_NO;
|
|
344 |
items =
|
|
345 |
{
|
|
346 |
DLG_LINE
|
|
347 |
{
|
|
348 |
type = EAknCtQuery;
|
|
349 |
id = EGeneralQuery;
|
|
350 |
control = AVKON_CONFIRMATION_QUERY
|
|
351 |
{
|
|
352 |
layout = EConfirmationQueryLayout;
|
|
353 |
label = qtn_cale_query_remove_descr;
|
|
354 |
};
|
|
355 |
}
|
|
356 |
};
|
|
357 |
}
|
|
358 |
|
|
359 |
RESOURCE DIALOG r_calen_db_conflict_dialog
|
|
360 |
{
|
|
361 |
flags = EAknWarningNoteFlags | EEikDialogFlagWait;
|
|
362 |
buttons = R_AVKON_SOFTKEYS_OK_EMPTY;
|
|
363 |
items =
|
|
364 |
{
|
|
365 |
DLG_LINE
|
|
366 |
{
|
|
367 |
type = EAknCtNote;
|
|
368 |
id = EGeneralQuery;
|
|
369 |
control = AVKON_NOTE
|
|
370 |
{
|
|
371 |
layout = EGeneralLayout;
|
|
372 |
animation = R_QGN_NOTE_WARNING_ANIM;
|
|
373 |
};
|
|
374 |
}
|
|
375 |
};
|
|
376 |
}
|
|
377 |
|
|
378 |
RESOURCE DIALOG r_calen_cancel_changes_query
|
|
379 |
{
|
|
380 |
flags = EGeneralQueryFlags;
|
|
381 |
buttons = R_AVKON_SOFTKEYS_YES_NO;
|
|
382 |
items =
|
|
383 |
{
|
|
384 |
DLG_LINE
|
|
385 |
{
|
|
386 |
type = EAknCtQuery;
|
|
387 |
id = EGeneralQuery;
|
|
388 |
control = AVKON_CONFIRMATION_QUERY
|
|
389 |
{
|
|
390 |
layout = EConfirmationQueryLayout;
|
|
391 |
label = qtn_cale_query_cancel_changes;
|
|
392 |
};
|
|
393 |
}
|
|
394 |
};
|
|
395 |
}
|
|
396 |
RESOURCE DIALOG r_calen_db_change_query
|
|
397 |
{
|
|
398 |
flags = EGeneralQueryFlags;
|
|
399 |
buttons = R_AVKON_SOFTKEYS_YES_NO;
|
|
400 |
items =
|
|
401 |
{
|
|
402 |
DLG_LINE
|
|
403 |
{
|
|
404 |
type = EAknCtQuery;
|
|
405 |
id = EGeneralQuery;
|
|
406 |
control = AVKON_CONFIRMATION_QUERY
|
|
407 |
{
|
|
408 |
layout = EConfirmationQueryLayout;
|
|
409 |
label = qtn_calen_db_change_del_exeptions;
|
|
410 |
};
|
|
411 |
}
|
|
412 |
};
|
|
413 |
}
|
|
414 |
|
|
415 |
|
|
416 |
RESOURCE TBUF r_qtn_cale_inote_desc_del_memo
|
|
417 |
{
|
|
418 |
buf = qtn_cale_inote_desc_del_memo;
|
|
419 |
}
|
|
420 |
|
|
421 |
// ---------------------------------------------------------
|
|
422 |
//
|
|
423 |
// r_todo_todonote_title
|
|
424 |
// To-Do's note view identify id.
|
|
425 |
// 32 characters is not exceeded.
|
|
426 |
//
|
|
427 |
// ---------------------------------------------------------
|
|
428 |
//
|
|
429 |
RESOURCE TBUF32 r_todo_todonote_title
|
|
430 |
{
|
|
431 |
buf = qtn_todo_note_header;
|
|
432 |
}
|
|
433 |
|
|
434 |
// ---------------------------------------------------------
|
|
435 |
//
|
|
436 |
// r_todo_delete_wait_note
|
|
437 |
// Wait note for deleting marked items
|
|
438 |
//
|
|
439 |
// ---------------------------------------------------------
|
|
440 |
//
|
|
441 |
RESOURCE DIALOG r_todo_delete_wait_note
|
|
442 |
{
|
|
443 |
flags = EAknWaitNoteFlags;
|
|
444 |
buttons = R_AVKON_SOFTKEYS_EMPTY;
|
|
445 |
items=
|
|
446 |
{
|
|
447 |
DLG_LINE
|
|
448 |
{
|
|
449 |
type = EAknCtNote;
|
|
450 |
id = ETodoNoteWait;
|
|
451 |
control = AVKON_NOTE
|
|
452 |
{
|
|
453 |
layout = EWaitLayout;
|
|
454 |
singular_label = qtn_todo_wait_deleting_notes;
|
|
455 |
imagefile = AVKON_ICON_FILE;
|
|
456 |
imageid = EMbmAvkonQgn_note_erased;
|
|
457 |
imagemask = EMbmAvkonQgn_note_erased_mask;
|
|
458 |
animation = R_QGN_GRAF_WAIT_BAR_ANIM;
|
|
459 |
///animation = R_QGN_NOTE_ERASED_ANIM;
|
|
460 |
};
|
|
461 |
}
|
|
462 |
};
|
|
463 |
}
|
|
464 |
|
|
465 |
// ---------------------------------------------------------
|
|
466 |
//
|
|
467 |
// r_qtn_cale_info_note_ends_before
|
|
468 |
// This error message is shown
|
|
469 |
// when end date/time is earlier than start.
|
|
470 |
//
|
|
471 |
// ---------------------------------------------------------
|
|
472 |
//
|
|
473 |
RESOURCE TBUF r_qtn_cale_info_note_ends_before
|
|
474 |
{
|
|
475 |
buf = qtn_cale_info_note_ends_before;
|
|
476 |
}
|
|
477 |
|
|
478 |
// ---------------------------------------------------------
|
|
479 |
//
|
|
480 |
// r_qtn_cale_date_alarm_past
|
|
481 |
// This message is shown if alarm date is 1000 days or more past
|
|
482 |
// to note date.
|
|
483 |
//
|
|
484 |
// ---------------------------------------------------------
|
|
485 |
//
|
|
486 |
RESOURCE TBUF r_qtn_cale_date_alarm_past
|
|
487 |
{
|
|
488 |
buf = qtn_cale_date_alarm_past;
|
|
489 |
}
|
|
490 |
|
|
491 |
// ---------------------------------------------------------
|
|
492 |
//
|
|
493 |
// r_qtn_cale_later_date
|
|
494 |
// This message is shown if alarm time is later than note.
|
|
495 |
//
|
|
496 |
// ---------------------------------------------------------
|
|
497 |
//
|
|
498 |
RESOURCE TBUF r_qtn_cale_later_date
|
|
499 |
{
|
|
500 |
buf = qtn_cale_later_date;
|
|
501 |
}
|
|
502 |
|
|
503 |
// ---------------------------------------------------------
|
|
504 |
//
|
|
505 |
// r_qtn_cale_not_expired
|
|
506 |
// This message is shown if alarm is set to past note.
|
|
507 |
//
|
|
508 |
// ---------------------------------------------------------
|
|
509 |
//
|
|
510 |
RESOURCE TBUF r_qtn_cale_not_expired
|
|
511 |
{
|
|
512 |
buf = qtn_cale_not_expired;
|
|
513 |
}
|
|
514 |
|
|
515 |
// ---------------------------------------------------------
|
|
516 |
//
|
|
517 |
// r_qtn_cale_info_repeat_invalid
|
|
518 |
// This message is shown if date of Repeat until is past
|
|
519 |
// to note date.
|
|
520 |
//
|
|
521 |
// ---------------------------------------------------------
|
|
522 |
//
|
|
523 |
RESOURCE TBUF r_qtn_cale_info_repeat_invalid
|
|
524 |
{
|
|
525 |
buf = qtn_cale_info_repeat_invalid;
|
|
526 |
}
|
|
527 |
|
|
528 |
// ---------------------------------------------------------
|
|
529 |
//
|
|
530 |
// r_qtn_cale_info_note_duration_too_long_for_daily
|
|
531 |
// This message is shown if repeat is set to daily and
|
|
532 |
// the duration of the entry is greater than one day
|
|
533 |
//
|
|
534 |
// ---------------------------------------------------------
|
|
535 |
//
|
|
536 |
RESOURCE TBUF r_qtn_cale_info_note_duration_too_long_for_daily
|
|
537 |
{
|
|
538 |
buf = qtn_cale_note_cannot_occur_daily;
|
|
539 |
}
|
|
540 |
|
|
541 |
// ---------------------------------------------------------
|
|
542 |
//
|
|
543 |
// r_qtn_cale_info_note_duration_too_long_for_weekly
|
|
544 |
// This message is shown if repeat is set to weekly and
|
|
545 |
// the duration of the entry is greater than one week
|
|
546 |
//
|
|
547 |
// ---------------------------------------------------------
|
|
548 |
//
|
|
549 |
RESOURCE TBUF r_qtn_cale_info_note_duration_too_long_for_weekly
|
|
550 |
{
|
|
551 |
buf = qtn_cale_note_cannot_occur_weekly;
|
|
552 |
}
|
|
553 |
|
|
554 |
// ---------------------------------------------------------
|
|
555 |
//
|
|
556 |
// r_qtn_cale_info_note_duration_too_long_for_biweekly
|
|
557 |
// This message is shown if repeat is set to biweekly and
|
|
558 |
// the duration of the entry is greater than two weeks
|
|
559 |
//
|
|
560 |
// ---------------------------------------------------------
|
|
561 |
//
|
|
562 |
RESOURCE TBUF r_qtn_cale_info_note_duration_too_long_for_biweekly
|
|
563 |
{
|
|
564 |
buf = qtn_cale_note_cannot_occur_fortnightly;
|
|
565 |
}
|
|
566 |
|
|
567 |
// ---------------------------------------------------------
|
|
568 |
//
|
|
569 |
// r_qtn_cale_info_note_duration_too_long_for_monthly
|
|
570 |
// This message is shown if repeat is set to monthly and
|
|
571 |
// the duration of the entry is greater than one month
|
|
572 |
//
|
|
573 |
// ---------------------------------------------------------
|
|
574 |
//
|
|
575 |
RESOURCE TBUF r_qtn_cale_info_note_duration_too_long_for_monthly
|
|
576 |
{
|
|
577 |
buf = qtn_cale_note_cannot_occur_monthly;
|
|
578 |
}
|
|
579 |
|
|
580 |
// ---------------------------------------------------------
|
|
581 |
//
|
|
582 |
// r_qtn_cale_info_note_duration_too_long_for_yearly
|
|
583 |
// This message is shown if repeat is set to yearly and
|
|
584 |
// the duration of the entry is greater than one year
|
|
585 |
//
|
|
586 |
// ---------------------------------------------------------
|
|
587 |
//
|
|
588 |
RESOURCE TBUF r_qtn_cale_info_note_duration_too_long_for_yearly
|
|
589 |
{
|
|
590 |
buf = qtn_cale_note_cannot_occur_yearly;
|
|
591 |
}
|
|
592 |
|
|
593 |
|
|
594 |
RESOURCE TBUF r_qtn_cale_note_child_out_of_sequence
|
|
595 |
{
|
|
596 |
buf = qtn_cale_note_child_out_of_sequence;
|
|
597 |
}
|
|
598 |
|
|
599 |
RESOURCE TBUF r_qtn_cale_note_child_same_day
|
|
600 |
{
|
|
601 |
buf = qtn_cale_note_child_same_day;
|
|
602 |
}
|
|
603 |
|
|
604 |
RESOURCE TBUF r_qtn_cale_note_child_overlap
|
|
605 |
{
|
|
606 |
buf = qtn_cale_note_child_overlap;
|
|
607 |
}
|
|
608 |
|
|
609 |
// ---------------------------------------------------------
|
|
610 |
//
|
|
611 |
// r_qtn_allday_event_yes
|
|
612 |
// String to display 'Yes' in AllDay field in UnifiedEditor
|
|
613 |
//
|
|
614 |
// ---------------------------------------------------------
|
|
615 |
//
|
|
616 |
RESOURCE TBUF r_qtn_allday_event_yes
|
|
617 |
{
|
|
618 |
buf = qtn_cale_item_yes;
|
|
619 |
}
|
|
620 |
|
|
621 |
// ---------------------------------------------------------
|
|
622 |
//
|
|
623 |
// r_qtn_allday_event_no
|
|
624 |
// String to display 'NO' in AllDay field in UnifiedEditor
|
|
625 |
//
|
|
626 |
// ---------------------------------------------------------
|
|
627 |
//
|
|
628 |
RESOURCE TBUF r_qtn_allday_event_no
|
|
629 |
{
|
|
630 |
buf = qtn_cale_item_no;
|
|
631 |
}
|
|
632 |
|
|
633 |
// ---------------------------------------------------------
|
|
634 |
//
|
|
635 |
// r_qtn_cale_note_db_conflict
|
|
636 |
// Shown if another application causes a database conflict
|
|
637 |
//
|
|
638 |
// ---------------------------------------------------------
|
|
639 |
//
|
|
640 |
RESOURCE TBUF r_qtn_cale_note_db_conflict
|
|
641 |
{
|
|
642 |
buf = qtn_cale_note_db_conflict;
|
|
643 |
}
|
|
644 |
|
|
645 |
// ---------------------------------------------------------
|
|
646 |
//
|
|
647 |
// r_qtn_cale_note_db_modified
|
|
648 |
// Shown if another application causes a database conflict
|
|
649 |
//
|
|
650 |
// ---------------------------------------------------------
|
|
651 |
//
|
|
652 |
RESOURCE TBUF r_qtn_cale_note_db_modified
|
|
653 |
{
|
|
654 |
buf = qtn_cale_note_db_modified;
|
|
655 |
}
|
|
656 |
|
|
657 |
// r_calen_repeat_note_start_changed
|
|
658 |
// This message is shown if date of Start Date is updated
|
|
659 |
// to old repeat note.
|
|
660 |
//
|
|
661 |
// ---------------------------------------------------------
|
|
662 |
//
|
|
663 |
RESOURCE DIALOG r_calen_repeat_note_start_changed
|
|
664 |
{
|
|
665 |
flags = EGeneralQueryFlags;
|
|
666 |
buttons = R_AVKON_SOFTKEYS_YES_NO;
|
|
667 |
items=
|
|
668 |
{
|
|
669 |
DLG_LINE
|
|
670 |
{
|
|
671 |
type = EAknCtQuery;
|
|
672 |
id = EGeneralQuery;
|
|
673 |
control = AVKON_CONFIRMATION_QUERY
|
|
674 |
{
|
|
675 |
layout = EConfirmationLayout;
|
|
676 |
label = qtn_cale_quest_change_start_day;
|
|
677 |
};
|
|
678 |
}
|
|
679 |
};
|
|
680 |
}
|
|
681 |
|
|
682 |
// ---------------------------------------------------------
|
|
683 |
//
|
|
684 |
// r_calen_meeting_note_title
|
|
685 |
// Define title of meeting note
|
|
686 |
//
|
|
687 |
// ---------------------------------------------------------
|
|
688 |
//
|
|
689 |
RESOURCE TBUF r_calen_meeting_note_title
|
|
690 |
{
|
|
691 |
buf = text_calendar_title_meeting;
|
|
692 |
}
|
|
693 |
|
|
694 |
// ---------------------------------------------------------
|
|
695 |
//
|
|
696 |
// r_calen_anniv_note_title
|
|
697 |
// Define title of birthday note
|
|
698 |
//
|
|
699 |
// ---------------------------------------------------------
|
|
700 |
//
|
|
701 |
RESOURCE TBUF r_calen_anniv_note_title
|
|
702 |
{
|
|
703 |
buf = qtn_cale_anniversary_title;
|
|
704 |
}
|
|
705 |
|
|
706 |
// ---------------------------------------------------------
|
|
707 |
//
|
|
708 |
// r_calen_day_note_title
|
|
709 |
// Define title of day note
|
|
710 |
//
|
|
711 |
// ---------------------------------------------------------
|
|
712 |
//
|
|
713 |
RESOURCE TBUF r_calen_day_note_title
|
|
714 |
{
|
|
715 |
buf = qtn_cale_title_daynote;
|
|
716 |
}
|
|
717 |
|
|
718 |
|
|
719 |
|
|
720 |
|
|
721 |
// ---------------------------------------------------------
|
|
722 |
//
|
|
723 |
// r_calen_msk_change_cba
|
|
724 |
// CBA with MSK button "Change"
|
|
725 |
//
|
|
726 |
// ---------------------------------------------------------
|
|
727 |
//
|
|
728 |
RESOURCE CBA r_calen_msk_change_cba
|
|
729 |
{
|
|
730 |
buttons =
|
|
731 |
{
|
|
732 |
CBA_BUTTON
|
|
733 |
{
|
|
734 |
id=EAknSoftkeyOptions;
|
|
735 |
txt=text_softkey_option;
|
|
736 |
},
|
|
737 |
CBA_BUTTON
|
|
738 |
{
|
|
739 |
id=EAknSoftkeyDone;
|
|
740 |
txt=text_softkey_done;
|
|
741 |
},
|
|
742 |
CBA_BUTTON
|
|
743 |
{
|
|
744 |
id=EAknSoftkeyChange;
|
|
745 |
txt=qtn_msk_change;
|
|
746 |
}
|
|
747 |
|
|
748 |
};
|
|
749 |
|
|
750 |
}
|
|
751 |
|
|
752 |
// ---------------------------------------------------------
|
|
753 |
//
|
|
754 |
// r_calen_msk_open_cba
|
|
755 |
// CBA with MSK button "Open"
|
|
756 |
//
|
|
757 |
// ---------------------------------------------------------
|
|
758 |
//
|
|
759 |
RESOURCE CBA r_calen_msk_open_cba
|
|
760 |
{
|
|
761 |
buttons =
|
|
762 |
{
|
|
763 |
CBA_BUTTON
|
|
764 |
{
|
|
765 |
id=EAknSoftkeyOptions;
|
|
766 |
txt=text_softkey_option;
|
|
767 |
},
|
|
768 |
CBA_BUTTON
|
|
769 |
{
|
|
770 |
id=EAknSoftkeyDone;
|
|
771 |
txt=text_softkey_done;
|
|
772 |
},
|
|
773 |
CBA_BUTTON
|
|
774 |
{
|
|
775 |
id=EAknSoftkeyOpen;
|
|
776 |
txt=qtn_msk_open;
|
|
777 |
}
|
|
778 |
};
|
|
779 |
}
|
|
780 |
|
|
781 |
// ---------------------------------------------------------
|
|
782 |
//
|
|
783 |
// r_calen_msk_empty_cba
|
|
784 |
// CBA with empty MSK button
|
|
785 |
//
|
|
786 |
// ---------------------------------------------------------
|
|
787 |
//
|
|
788 |
RESOURCE CBA r_calen_msk_empty_cba
|
|
789 |
{
|
|
790 |
buttons =
|
|
791 |
{
|
|
792 |
CBA_BUTTON
|
|
793 |
{
|
|
794 |
id=EAknSoftkeyOptions;
|
|
795 |
txt=text_softkey_option;
|
|
796 |
},
|
|
797 |
CBA_BUTTON
|
|
798 |
{
|
|
799 |
id=EAknSoftkeyDone;
|
|
800 |
txt=text_softkey_done;
|
|
801 |
},
|
|
802 |
CBA_BUTTON
|
|
803 |
{
|
|
804 |
id=EAknSoftkeyEmpty;
|
|
805 |
txt=text_softkey_empty;
|
|
806 |
}
|
|
807 |
};
|
|
808 |
}
|
|
809 |
|
|
810 |
// ---------------------------------------------------------
|
|
811 |
//
|
|
812 |
// r_calen_msk_empty_cba
|
|
813 |
// CBA with frommap MSK button
|
|
814 |
//
|
|
815 |
// ---------------------------------------------------------
|
|
816 |
//
|
|
817 |
RESOURCE CBA r_calen_msk_frommap_cba
|
|
818 |
{
|
|
819 |
buttons =
|
|
820 |
{
|
|
821 |
CBA_BUTTON
|
|
822 |
{
|
|
823 |
id=EAknSoftkeyOptions;
|
|
824 |
txt=text_softkey_option;
|
|
825 |
},
|
|
826 |
CBA_BUTTON
|
|
827 |
{
|
|
828 |
id=EAknSoftkeyDone;
|
|
829 |
txt=text_softkey_done;
|
|
830 |
},
|
|
831 |
CBA_BUTTON
|
|
832 |
{
|
|
833 |
id=ECalenGetLocation;
|
|
834 |
txt=text_softkey_from_map;
|
|
835 |
}
|
|
836 |
};
|
|
837 |
}
|
|
838 |
|
|
839 |
//----------------------------------------------------
|
|
840 |
//
|
|
841 |
// r_calen_geovalues_removal_note
|
|
842 |
// Geo Values Removal query
|
|
843 |
//
|
|
844 |
//----------------------------------------------------
|
|
845 |
//
|
|
846 |
RESOURCE DIALOG r_calen_geovalues_removal_note
|
|
847 |
{
|
|
848 |
flags = EGeneralQueryFlags;
|
|
849 |
buttons = R_AVKON_SOFTKEYS_YES_NO__YES;
|
|
850 |
items=
|
|
851 |
{
|
|
852 |
DLG_LINE
|
|
853 |
{
|
|
854 |
type = EAknCtQuery;
|
|
855 |
id = EGeneralQuery;
|
|
856 |
control = AVKON_CONFIRMATION_QUERY
|
|
857 |
{
|
|
858 |
layout = EConfirmationLayout;
|
|
859 |
};
|
|
860 |
}
|
|
861 |
};
|
|
862 |
}
|
|
863 |
|
|
864 |
// ---------------------------------------------------------
|
|
865 |
//
|
|
866 |
// r_calen_qtn_todo_quest_delete_marked_notes
|
|
867 |
// Remove GeoValues
|
|
868 |
//
|
|
869 |
// ---------------------------------------------------------
|
|
870 |
//
|
|
871 |
RESOURCE TBUF r_calen_qtn_geovalues_removal
|
|
872 |
{
|
|
873 |
buf = qtn_cale_confirm_keep_coordinates;
|
|
874 |
}
|
|
875 |
|
|
876 |
// ---------------------------------------------------------
|
|
877 |
//
|
|
878 |
// r_qtn_alarm_active
|
|
879 |
// Define "On" to "Alarm:" line of Note Form
|
|
880 |
//
|
|
881 |
// ---------------------------------------------------------
|
|
882 |
//
|
|
883 |
RESOURCE TBUF r_qtn_alarm_active
|
|
884 |
{
|
|
885 |
buf = qtn_cale_alarm_active;
|
|
886 |
}
|
|
887 |
// ---------------------------------------------------------
|
|
888 |
//
|
|
889 |
// r_qtn_alarm_off
|
|
890 |
// Define "Off" to "Alarm:" line of Note Form
|
|
891 |
//
|
|
892 |
// ---------------------------------------------------------
|
|
893 |
//
|
|
894 |
RESOURCE TBUF r_qtn_alarm_off
|
|
895 |
{
|
|
896 |
buf = qtn_cale_alarm_off;
|
|
897 |
}
|
|
898 |
|
|
899 |
|
|
900 |
// ---------------------------------------------------------
|
|
901 |
// r_calen_unified_editor
|
|
902 |
// resource definition for unified editor
|
|
903 |
// ---------------------------------------------------------
|
|
904 |
//
|
|
905 |
RESOURCE DIALOG r_calen_unified_editor
|
|
906 |
{
|
|
907 |
flags = EEikDialogFlagNoDrag
|
|
908 |
| EEikDialogFlagFillAppClientRect
|
|
909 |
| EEikDialogFlagButtonsRight
|
|
910 |
| EEikDialogFlagCbaButtons
|
|
911 |
| EEikDialogFlagWait
|
|
912 |
| EEikDialogFlagNoTitleBar
|
|
913 |
| EEikDialogFlagDontEatUpDownEvents
|
|
914 |
| EEikDialogFlagNotifyEsc;
|
|
915 |
|
|
916 |
buttons = R_AVKON_SOFTKEYS_OPTIONS_DONE;
|
|
917 |
form = r_calen_unified_editor_form;
|
|
918 |
}
|
|
919 |
|
|
920 |
// ---------------------------------------------------------
|
|
921 |
// r_calen_unified_editor_form
|
|
922 |
// Define items of unified editor
|
|
923 |
// ---------------------------------------------------------
|
|
924 |
//
|
|
925 |
RESOURCE FORM r_calen_unified_editor_form
|
|
926 |
{
|
|
927 |
flags = EEikFormUseDoubleSpacedFormat;
|
|
928 |
items =
|
|
929 |
{
|
|
930 |
DLG_LINE_INDIRECT
|
|
931 |
{
|
|
932 |
line = r_calen_editor_event_type_item;
|
|
933 |
},
|
|
934 |
DLG_LINE_INDIRECT
|
|
935 |
{
|
|
936 |
line = r_calen_editor_subject_item;
|
|
937 |
}
|
|
938 |
};
|
|
939 |
}
|
|
940 |
|
|
941 |
// ---------------------------------------------------------
|
|
942 |
// r_calen_editor_subject_item
|
|
943 |
// Define "Subject" line in unified editor
|
|
944 |
// ---------------------------------------------------------
|
|
945 |
//
|
|
946 |
RESOURCE DLG_LINE r_calen_editor_subject_item
|
|
947 |
{
|
|
948 |
type = EEikCtEdwin;
|
|
949 |
prompt = qtn_cale_note_subject;
|
|
950 |
id = ECalenEditorSubject;
|
|
951 |
itemflags = EEikDlgItemTakesEnterKey;
|
|
952 |
control = EDWIN
|
|
953 |
{
|
|
954 |
flags = EEikEdwinNoHorizScrolling | EEikEdwinResizable |
|
|
955 |
EEikEdwinNoAutoSelection | EEikEdwinJustAutoCurEnd;
|
|
956 |
maxlength = ECalenAbsoluteMaxTextEditorLength;
|
|
957 |
default_case = EAknEditorTextCase;
|
|
958 |
allowed_case_modes = EAknEditorAllCaseModes;
|
|
959 |
numeric_keymap = EAknEditorStandardNumberModeKeymap;
|
|
960 |
special_character_table = R_AVKON_SPECIAL_CHARACTER_TABLE_DIALOG;
|
|
961 |
avkon_flags = EAknEditorFlagUseSCTNumericCharmap |
|
|
962 |
EAknEditorFlagDefault |
|
|
963 |
EAknEditorFlagEnablePictographInput;
|
|
964 |
// let Avkon decide which is maximum number of lines
|
|
965 |
// It's based on layout.
|
|
966 |
max_view_height_in_lines = 0;
|
|
967 |
};
|
|
968 |
}
|
|
969 |
|
|
970 |
// ---------------------------------------------------------
|
|
971 |
// r_calen_editor_event_type_item
|
|
972 |
// Define "Event Type" line in unified editor
|
|
973 |
// ---------------------------------------------------------
|
|
974 |
//
|
|
975 |
RESOURCE DLG_LINE r_calen_editor_event_type_item
|
|
976 |
{
|
|
977 |
type = EAknCtPopupField;
|
|
978 |
prompt = qtn_cale_label_event_type;
|
|
979 |
id = ECalenEditorEventType;
|
|
980 |
itemflags = EEikDlgItemTakesEnterKey | EEikDlgItemOfferAllHotKeys;
|
|
981 |
control = POPUP_FIELD
|
|
982 |
{
|
|
983 |
flags = 0;
|
|
984 |
width = 15;
|
|
985 |
other = " ";
|
|
986 |
};
|
|
987 |
}
|
|
988 |
|
|
989 |
// ---------------------------------------------------------
|
|
990 |
// r_calen_editor_all_day_item
|
|
991 |
// Define "All Day" line in unified editor
|
|
992 |
// ---------------------------------------------------------
|
|
993 |
//
|
|
994 |
RESOURCE DLG_LINE r_calen_editor_all_day_item
|
|
995 |
{
|
|
996 |
type = EEikCtEdwin;
|
|
997 |
prompt = qtn_cale_label_all_day;
|
|
998 |
id = ECalenEditorAllDayItem;
|
|
999 |
itemflags = EEikDlgItemTakesEnterKey;
|
|
1000 |
control = EDWIN
|
|
1001 |
{
|
|
1002 |
flags = EEikEdwinNoHorizScrolling | EEikEdwinResizable |
|
|
1003 |
EEikEdwinNoAutoSelection | EEikEdwinReadOnly|
|
|
1004 |
EEikEdwinAvkonDisableCursor|EEikEdwinAvkonNotEditable |EEikEdwinDisplayOnly ;
|
|
1005 |
maxlength = ECalenAbsoluteMaxTextEditorLength;
|
|
1006 |
default_case = EAknEditorTextCase;
|
|
1007 |
allowed_case_modes = EAknEditorAllCaseModes;
|
|
1008 |
numeric_keymap = EAknEditorStandardNumberModeKeymap;
|
|
1009 |
special_character_table = R_AVKON_SPECIAL_CHARACTER_TABLE_DIALOG;
|
|
1010 |
avkon_flags = EAknEditorFlagUseSCTNumericCharmap |
|
|
1011 |
EAknEditorFlagDefault |
|
|
1012 |
EAknEditorFlagEnablePictographInput;
|
|
1013 |
// let Avkon decide which is maximum number of lines
|
|
1014 |
// It's based on layout.
|
|
1015 |
max_view_height_in_lines = 0;
|
|
1016 |
};
|
|
1017 |
|
|
1018 |
|
|
1019 |
}
|
|
1020 |
|
|
1021 |
// ---------------------------------------------------------
|
|
1022 |
// r_calen_editor_due_date_item
|
|
1023 |
// Define "Due date" line in unified editor
|
|
1024 |
// ---------------------------------------------------------
|
|
1025 |
//
|
|
1026 |
RESOURCE DLG_LINE r_calen_editor_due_date_item
|
|
1027 |
{
|
|
1028 |
type = EEikCtDateEditor;
|
|
1029 |
prompt = qtn_cale_viewer_due_date;
|
|
1030 |
id = ECalenEditorDueDate;
|
|
1031 |
control = DATE_EDITOR
|
|
1032 |
{
|
|
1033 |
minDate = DATE
|
|
1034 |
{
|
|
1035 |
day = ECalenMinDay;
|
|
1036 |
month = ECalenMinMonth;
|
|
1037 |
year = ECalenMinYear;
|
|
1038 |
};
|
|
1039 |
maxDate = DATE
|
|
1040 |
{
|
|
1041 |
day = ECalenMaxDay;
|
|
1042 |
month = ECalenMaxMonth;
|
|
1043 |
year = ECalenMaxYear;
|
|
1044 |
};
|
|
1045 |
};
|
|
1046 |
}
|
|
1047 |
|
|
1048 |
// ---------------------------------------------------------
|
|
1049 |
// r_qtn_calen_editor_due_date
|
|
1050 |
// To define "Due Date" string for To-Do Entry in unified editor
|
|
1051 |
// ---------------------------------------------------------
|
|
1052 |
//
|
|
1053 |
RESOURCE TBUF r_qtn_calen_editor_due_date
|
|
1054 |
{
|
|
1055 |
buf = qtn_todo_note_duedate;
|
|
1056 |
}
|
|
1057 |
|
|
1058 |
// ---------------------------------------------------------
|
|
1059 |
// r_qtn_calen_editor_date_of_birth
|
|
1060 |
// To define "Date of Birth" string for Birthday Entry in unified editor
|
|
1061 |
// ---------------------------------------------------------
|
|
1062 |
//
|
|
1063 |
RESOURCE TBUF r_qtn_calen_editor_date_of_birth
|
|
1064 |
{
|
|
1065 |
buf = qtn_cale_viewer_date;
|
|
1066 |
}
|
|
1067 |
|
|
1068 |
// ---------------------------------------------------------
|
|
1069 |
// r_calen_editor_start_time_item
|
|
1070 |
// Define the "Start time" line in unified editor
|
|
1071 |
// ---------------------------------------------------------
|
|
1072 |
//
|
|
1073 |
RESOURCE DLG_LINE r_calen_editor_start_time_item
|
|
1074 |
{
|
|
1075 |
type = EEikCtTimeEditor;
|
|
1076 |
prompt = qtn_cale_label_start_time;
|
|
1077 |
id = ECalenEditorStartTime;
|
|
1078 |
control = TIME_EDITOR
|
|
1079 |
{
|
|
1080 |
minTime = TIME
|
|
1081 |
{
|
|
1082 |
minute = ECalenMinMinute;
|
|
1083 |
hour = ECalenMinHour;
|
|
1084 |
};
|
|
1085 |
maxTime = TIME
|
|
1086 |
{
|
|
1087 |
minute = ECalenMaxMinute;
|
|
1088 |
hour = ECalenMaxHour;
|
|
1089 |
};
|
|
1090 |
flags = EEikTimeWithoutSecondsField;
|
|
1091 |
};
|
|
1092 |
}
|
|
1093 |
|
|
1094 |
// ---------------------------------------------------------
|
|
1095 |
// r_calen_editor_end_time_item
|
|
1096 |
// Define "End time" line in unified editor
|
|
1097 |
// ---------------------------------------------------------
|
|
1098 |
//
|
|
1099 |
RESOURCE DLG_LINE r_calen_editor_end_time_item
|
|
1100 |
{
|
|
1101 |
type = EEikCtTimeEditor;
|
|
1102 |
prompt = qtn_cale_note_end_meet_time;
|
|
1103 |
id = ECalenEditorEndTime;
|
|
1104 |
control = TIME_EDITOR
|
|
1105 |
{
|
|
1106 |
minTime = TIME
|
|
1107 |
{
|
|
1108 |
minute = ECalenMinMinute;
|
|
1109 |
hour = ECalenMinHour;
|
|
1110 |
};
|
|
1111 |
maxTime = TIME
|
|
1112 |
{
|
|
1113 |
minute = ECalenMaxMinute;
|
|
1114 |
hour = ECalenMaxHour;
|
|
1115 |
};
|
|
1116 |
flags = EEikTimeWithoutSecondsField;
|
|
1117 |
};
|
|
1118 |
}
|
|
1119 |
|
|
1120 |
// ---------------------------------------------------------
|
|
1121 |
// r_calen_editor_start_date_item
|
|
1122 |
// Define "Start Date" line in unified editor
|
|
1123 |
// ---------------------------------------------------------
|
|
1124 |
//
|
|
1125 |
RESOURCE DLG_LINE r_calen_editor_start_date_item
|
|
1126 |
{
|
|
1127 |
type = EEikCtDateEditor;
|
|
1128 |
prompt = qtn_cale_label_start_date;
|
|
1129 |
id = ECalenEditorStartDate;
|
|
1130 |
control = DATE_EDITOR
|
|
1131 |
{
|
|
1132 |
minDate = DATE
|
|
1133 |
{
|
|
1134 |
day = ECalenMinDay;
|
|
1135 |
month = ECalenMinMonth;
|
|
1136 |
year = ECalenMinYear;
|
|
1137 |
};
|
|
1138 |
maxDate = DATE
|
|
1139 |
{
|
|
1140 |
day = ECalenMaxDay;
|
|
1141 |
month = ECalenMaxMonth;
|
|
1142 |
year = ECalenMaxYear;
|
|
1143 |
};
|
|
1144 |
};
|
|
1145 |
}
|
|
1146 |
|
|
1147 |
// ---------------------------------------------------------
|
|
1148 |
// r_calen_editor_end_date_item
|
|
1149 |
// Define "End Date" line in unified editor
|
|
1150 |
// ---------------------------------------------------------
|
|
1151 |
//
|
|
1152 |
RESOURCE DLG_LINE r_calen_editor_end_date_item
|
|
1153 |
{
|
|
1154 |
type = EEikCtDateEditor;
|
|
1155 |
prompt = qtn_cale_day_end_date;
|
|
1156 |
id = ECalenEditorEndDate;
|
|
1157 |
control = DATE_EDITOR
|
|
1158 |
{
|
|
1159 |
minDate = DATE
|
|
1160 |
{
|
|
1161 |
day = ECalenMinDay;
|
|
1162 |
month = ECalenMinMonth;
|
|
1163 |
year = ECalenMinYear;
|
|
1164 |
};
|
|
1165 |
maxDate = DATE
|
|
1166 |
{
|
|
1167 |
day = ECalenMaxDay;
|
|
1168 |
month = ECalenMaxMonth;
|
|
1169 |
year = ECalenMaxYear;
|
|
1170 |
};
|
|
1171 |
};
|
|
1172 |
}
|
|
1173 |
|
|
1174 |
// ---------------------------------------------------------
|
|
1175 |
// r_calen_editor_birthday_year_item
|
|
1176 |
// Define "Date and Year" line in unified editor
|
|
1177 |
// ---------------------------------------------------------
|
|
1178 |
//
|
|
1179 |
RESOURCE DLG_LINE r_calen_editor_birthday_year_item
|
|
1180 |
{
|
|
1181 |
type = EEikCtDateEditor;
|
|
1182 |
prompt = r_calen_editor_birthday_year_item;
|
|
1183 |
id = ECalenEditorBirthDayYear;
|
|
1184 |
control = DATE_EDITOR
|
|
1185 |
{
|
|
1186 |
minDate = DATE
|
|
1187 |
{
|
|
1188 |
day = ECalenMinDay;
|
|
1189 |
month = ECalenMinMonth;
|
|
1190 |
year = ECalenMinYear;
|
|
1191 |
};
|
|
1192 |
maxDate = DATE
|
|
1193 |
{
|
|
1194 |
day = ECalenMaxDay;
|
|
1195 |
month = ECalenMaxMonth;
|
|
1196 |
year = ECalenMaxYear;
|
|
1197 |
};
|
|
1198 |
};
|
|
1199 |
}
|
|
1200 |
|
|
1201 |
// ---------------------------------------------------------
|
|
1202 |
// r_calen_editor_place_item
|
|
1203 |
// Define "Place" in unified editor
|
|
1204 |
// ---------------------------------------------------------
|
|
1205 |
//
|
|
1206 |
RESOURCE DLG_LINE r_calen_editor_place_item
|
|
1207 |
{
|
|
1208 |
type = EEikCtRichTextEditor;
|
|
1209 |
prompt = qtn_cale_label_place;
|
|
1210 |
id = ECalenEditorPlace;
|
|
1211 |
itemflags = EEikDlgItemTakesEnterKey |EEikDlgItemAsLabel |
|
|
1212 |
EEikEdwinAlwaysShowSelection | EEikEdwinUserSuppliedText |
|
|
1213 |
EEikRTedNoTextParsers;
|
|
1214 |
control = RTXTED
|
|
1215 |
{
|
|
1216 |
flags = EEikEdwinNoHorizScrolling | EEikEdwinResizable |
|
|
1217 |
EEikEdwinNoAutoSelection | EEikEdwinJustAutoCurEnd
|
|
1218 |
| EEikEdwinAllowPictures;
|
|
1219 |
width = 0; // These 0's are not really needed
|
|
1220 |
height = 0;
|
|
1221 |
numlines = 0;
|
|
1222 |
textlimit = ECalenAbsoluteMaxTextEditorLength;
|
|
1223 |
default_case = EAknEditorTextCase;
|
|
1224 |
allowed_case_modes = EAknEditorAllCaseModes;
|
|
1225 |
numeric_keymap = EAknEditorStandardNumberModeKeymap;
|
|
1226 |
special_character_table = R_AVKON_SPECIAL_CHARACTER_TABLE_DIALOG;
|
|
1227 |
|
|
1228 |
max_view_height_in_lines = 0;
|
|
1229 |
};
|
|
1230 |
}
|
|
1231 |
|
|
1232 |
|
|
1233 |
// ---------------------------------------------------------
|
|
1234 |
// r_calen_editor_reminder_item
|
|
1235 |
// Define "reminder" line in unified editor
|
|
1236 |
// ---------------------------------------------------------
|
|
1237 |
//
|
|
1238 |
RESOURCE DLG_LINE r_calen_editor_reminder_item
|
|
1239 |
{
|
|
1240 |
type = EEikCtEdwin;
|
|
1241 |
prompt = qtn_cale_label_reminder;
|
|
1242 |
id = ECalenEditorReminder;
|
|
1243 |
itemflags = EEikDlgItemTakesEnterKey;
|
|
1244 |
control = EDWIN
|
|
1245 |
{
|
|
1246 |
flags = EEikEdwinNoHorizScrolling | EEikEdwinResizable |
|
|
1247 |
EEikEdwinNoAutoSelection | EEikEdwinReadOnly|
|
|
1248 |
EEikEdwinAvkonDisableCursor|EEikEdwinAvkonNotEditable |EEikEdwinDisplayOnly ;
|
|
1249 |
maxlength = ECalenAbsoluteMaxTextEditorLength;
|
|
1250 |
default_case = EAknEditorTextCase;
|
|
1251 |
allowed_case_modes = EAknEditorAllCaseModes;
|
|
1252 |
numeric_keymap = EAknEditorStandardNumberModeKeymap;
|
|
1253 |
special_character_table = R_AVKON_SPECIAL_CHARACTER_TABLE_DIALOG;
|
|
1254 |
avkon_flags = EAknEditorFlagUseSCTNumericCharmap |
|
|
1255 |
EAknEditorFlagDefault |
|
|
1256 |
EAknEditorFlagEnablePictographInput;
|
|
1257 |
// let Avkon decide which is maximum number of lines
|
|
1258 |
// It's based on layout.
|
|
1259 |
max_view_height_in_lines = 0;
|
|
1260 |
};
|
|
1261 |
}
|
|
1262 |
|
|
1263 |
// ---------------------------------------------------------
|
|
1264 |
// r_calen_editor_reminder_time_item
|
|
1265 |
// Define the "Reminder Time" line in unified editor
|
|
1266 |
// ---------------------------------------------------------
|
|
1267 |
//
|
|
1268 |
RESOURCE DLG_LINE r_calen_editor_reminder_time_item
|
|
1269 |
{
|
|
1270 |
type = EEikCtTimeEditor;
|
|
1271 |
prompt = qtn_cale_label_reminder_time;
|
|
1272 |
id = ECalenEditorReminderTime;
|
|
1273 |
control = TIME_EDITOR
|
|
1274 |
{
|
|
1275 |
minTime = TIME
|
|
1276 |
{
|
|
1277 |
minute = ECalenMinMinute;
|
|
1278 |
hour = ECalenMinHour;
|
|
1279 |
};
|
|
1280 |
maxTime = TIME
|
|
1281 |
{
|
|
1282 |
minute = ECalenMaxMinute;
|
|
1283 |
hour = ECalenMaxHour;
|
|
1284 |
};
|
|
1285 |
flags = EEikTimeWithoutSecondsField;
|
|
1286 |
};
|
|
1287 |
}
|
|
1288 |
|
|
1289 |
// ---------------------------------------------------------
|
|
1290 |
// r_calen_editor_reminder_date_item
|
|
1291 |
// Define "Reminder Date" line in unified editor
|
|
1292 |
// ---------------------------------------------------------
|
|
1293 |
//
|
|
1294 |
RESOURCE DLG_LINE r_calen_editor_reminder_date_item
|
|
1295 |
{
|
|
1296 |
type = EEikCtDateEditor;
|
|
1297 |
prompt = qtn_cale_label_reminder_date;
|
|
1298 |
id = ECalenEditorReminderDate;
|
|
1299 |
control = DATE_EDITOR
|
|
1300 |
{
|
|
1301 |
minDate = DATE
|
|
1302 |
{
|
|
1303 |
day = ECalenMinDay;
|
|
1304 |
month = ECalenMinMonth;
|
|
1305 |
year = ECalenMinYear;
|
|
1306 |
};
|
|
1307 |
maxDate = DATE
|
|
1308 |
{
|
|
1309 |
day = ECalenMaxDay;
|
|
1310 |
month = ECalenMaxMonth;
|
|
1311 |
year = ECalenMaxYear;
|
|
1312 |
};
|
|
1313 |
};
|
|
1314 |
}
|
|
1315 |
|
|
1316 |
// ---------------------------------------------------------
|
|
1317 |
// r_calen_editor_repeat_item
|
|
1318 |
// Define "Repeat" line in unified editor
|
|
1319 |
// ---------------------------------------------------------
|
|
1320 |
//
|
|
1321 |
RESOURCE DLG_LINE r_calen_editor_repeat_item
|
|
1322 |
{
|
|
1323 |
type = EAknCtPopupField;
|
|
1324 |
prompt = qtn_cale_note_meeting_repeat;
|
|
1325 |
id = ECalenEditorRepeat;
|
|
1326 |
itemflags = EEikDlgItemTakesEnterKey | EEikDlgItemOfferAllHotKeys;
|
|
1327 |
control = POPUP_FIELD
|
|
1328 |
{
|
|
1329 |
flags = 0;
|
|
1330 |
width = 15;
|
|
1331 |
other = " ";
|
|
1332 |
};
|
|
1333 |
}
|
|
1334 |
|
|
1335 |
// ---------------------------------------------------------
|
|
1336 |
// r_calen_editor_repeat_until_item
|
|
1337 |
// Define "Repeat until" line in unified editor
|
|
1338 |
// ---------------------------------------------------------
|
|
1339 |
//
|
|
1340 |
RESOURCE DLG_LINE r_calen_editor_repeat_until_item
|
|
1341 |
{
|
|
1342 |
type = EEikCtDateEditor;
|
|
1343 |
prompt = qtn_cale_note_meeting_until;
|
|
1344 |
id = ECalenEditorRepeatUntil;
|
|
1345 |
control = DATE_EDITOR
|
|
1346 |
{
|
|
1347 |
minDate = DATE
|
|
1348 |
{
|
|
1349 |
day = ECalenMinDay;
|
|
1350 |
month = ECalenMinMonth;
|
|
1351 |
year = ECalenMinYear;
|
|
1352 |
};
|
|
1353 |
maxDate = DATE
|
|
1354 |
{
|
|
1355 |
day = ECalenForeverDay;
|
|
1356 |
month = ECalenForeverMonth;
|
|
1357 |
year = ECalenForeverYear;
|
|
1358 |
};
|
|
1359 |
};
|
|
1360 |
}
|
|
1361 |
|
|
1362 |
// ---------------------------------------------------------
|
|
1363 |
// r_calen_editor_priority_item
|
|
1364 |
// Define "Priority" line in unified editor
|
|
1365 |
// ---------------------------------------------------------
|
|
1366 |
//
|
|
1367 |
RESOURCE DLG_LINE r_calen_editor_priority_item
|
|
1368 |
{
|
|
1369 |
type = EAknCtPopupField;
|
|
1370 |
prompt = qtn_todo_note_view_priority;
|
|
1371 |
id = ECalenEditorPriority;
|
|
1372 |
itemflags = EEikDlgItemTakesEnterKey | EEikDlgItemOfferAllHotKeys;
|
|
1373 |
control = POPUP_FIELD
|
|
1374 |
{
|
|
1375 |
flags = 0;
|
|
1376 |
width = 15;
|
|
1377 |
other = " ";
|
|
1378 |
};
|
|
1379 |
}
|
|
1380 |
|
|
1381 |
// ---------------------------------------------------------
|
|
1382 |
// r_calen_editor_people_item
|
|
1383 |
// Define "People" in unified editor
|
|
1384 |
// ---------------------------------------------------------
|
|
1385 |
//
|
|
1386 |
RESOURCE DLG_LINE r_calen_editor_people_item
|
|
1387 |
{
|
|
1388 |
type = EEikCtRichTextEditor;
|
|
1389 |
prompt = qtn_cale_label_people;
|
|
1390 |
id = ECalenEditorPeople;
|
|
1391 |
itemflags = EEikDlgItemAsLabel | EEikEdwinAlwaysShowSelection |
|
|
1392 |
EEikEdwinUserSuppliedText | EEikRTedNoTextParsers;
|
|
1393 |
control = RTXTED
|
|
1394 |
{
|
|
1395 |
flags = EEikEdwinNoHorizScrolling | EEikEdwinResizable |
|
|
1396 |
EEikEdwinNoAutoSelection | EEikEdwinJustAutoCurEnd
|
|
1397 |
| EEikEdwinAllowPictures;
|
|
1398 |
width = 0; // These 0's are not really needed
|
|
1399 |
height = 0;
|
|
1400 |
numlines = 0;
|
|
1401 |
default_case = EAknEditorTextCase;
|
|
1402 |
allowed_case_modes = EAknEditorAllCaseModes;
|
|
1403 |
numeric_keymap = EAknEditorStandardNumberModeKeymap;
|
|
1404 |
special_character_table = R_AVKON_SPECIAL_CHARACTER_TABLE_DIALOG;
|
|
1405 |
|
|
1406 |
max_view_height_in_lines = 0;
|
|
1407 |
};
|
|
1408 |
}
|
|
1409 |
|
|
1410 |
// ---------------------------------------------------------
|
|
1411 |
// r_calen_editor_db_name_item
|
|
1412 |
// Define "Entry Belongs To" line in unified editor
|
|
1413 |
// ---------------------------------------------------------
|
|
1414 |
//
|
|
1415 |
RESOURCE DLG_LINE r_calen_editor_db_name_item
|
|
1416 |
{
|
|
1417 |
type = EAknCtPopupField;
|
|
1418 |
prompt = qtn_cale_db_entry_belongs_to;
|
|
1419 |
id = ECalenEditorDBName;
|
|
1420 |
itemflags = EEikDlgItemTakesEnterKey | EEikDlgItemOfferAllHotKeys |
|
|
1421 |
EAknPopupFieldFlagInitialised;
|
|
1422 |
control = POPUP_FIELD
|
|
1423 |
{
|
|
1424 |
flags = 0;
|
|
1425 |
width = 15;
|
|
1426 |
other = " ";
|
|
1427 |
};
|
|
1428 |
}
|
|
1429 |
|
|
1430 |
// ---------------------------------------------------------
|
|
1431 |
// r_calen_editor_attachment_item
|
|
1432 |
// Define "Attachment" in unified editor
|
|
1433 |
// ---------------------------------------------------------
|
|
1434 |
//
|
|
1435 |
RESOURCE DLG_LINE r_calen_editor_attachment_item
|
|
1436 |
{
|
|
1437 |
type = EEikCtRichTextEditor;
|
|
1438 |
prompt = qtn_cale_label_attachment;
|
|
1439 |
id = ECalenEditorAttachment;
|
|
1440 |
itemflags = EEikDlgItemAsLabel | EEikEdwinAlwaysShowSelection |
|
|
1441 |
EEikEdwinUserSuppliedText | /*EEikEdwinAvkonDisableCursor |*/
|
|
1442 |
EEikEdwinAvkonNotEditable | EEikRTedNoTextParsers;
|
|
1443 |
control = RTXTED
|
|
1444 |
{
|
|
1445 |
flags = EEikEdwinNoHorizScrolling | EEikEdwinResizable |
|
|
1446 |
EEikEdwinNoAutoSelection | EEikEdwinReadOnly /*|
|
|
1447 |
EEikEdwinAvkonDisableCursor*/ | EEikEdwinAvkonNotEditable |
|
|
1448 |
EEikEdwinIgnoreVirtualCursor | EEikEdwinJustAutoCurEnd;
|
|
1449 |
width = 0; // These 0's are not really needed
|
|
1450 |
height = 0;
|
|
1451 |
numlines = 0;
|
|
1452 |
default_case = EAknEditorTextCase;
|
|
1453 |
allowed_case_modes = EAknEditorAllCaseModes;
|
|
1454 |
numeric_keymap = EAknEditorStandardNumberModeKeymap;
|
|
1455 |
special_character_table = R_AVKON_SPECIAL_CHARACTER_TABLE_DIALOG;
|
|
1456 |
|
|
1457 |
max_view_height_in_lines = 0;
|
|
1458 |
};
|
|
1459 |
}
|
|
1460 |
|
|
1461 |
// ---------------------------------------------------------
|
|
1462 |
// r_calen_editor_description_item
|
|
1463 |
// Define "Description" line of Note Form
|
|
1464 |
// Description can't be edited
|
|
1465 |
// ---------------------------------------------------------
|
|
1466 |
//
|
|
1467 |
RESOURCE DLG_LINE r_calen_editor_description_item
|
|
1468 |
{
|
|
1469 |
type = ECalenCtDescriptionField;
|
|
1470 |
prompt = qtn_cale_label_description;
|
|
1471 |
id = ECalenEditorDescription;
|
|
1472 |
itemflags = EEikDlgItemTakesEnterKey |
|
|
1473 |
EEikDlgItemOfferAllHotKeys;
|
|
1474 |
control = EDWIN
|
|
1475 |
{
|
|
1476 |
flags = EEikEdwinNoAutoSelection |
|
|
1477 |
EEikEdwinNoWrap |
|
|
1478 |
EEikEdwinNoHorizScrolling |
|
|
1479 |
EEikEdwinReadOnly |
|
|
1480 |
EEikEdwinAvkonNotEditable |
|
|
1481 |
EEikEdwinAvkonDisableCursor;
|
|
1482 |
maxlength = ECalenAbsoluteMaxTextEditorLength;
|
|
1483 |
lines = 1;
|
|
1484 |
max_view_height_in_lines = 1;
|
|
1485 |
avkon_flags = EAknEditorFlagDefault |
|
|
1486 |
EAknEditorFlagNoEditIndicators |
|
|
1487 |
EAknEditorFlagNoLRNavigation;
|
|
1488 |
|
|
1489 |
};
|
|
1490 |
}
|
|
1491 |
|
|
1492 |
// ---------------------------------------------------------
|
|
1493 |
// r_calen_editor_event_type_popup_items
|
|
1494 |
// Define items of "Event Type" popup list.
|
|
1495 |
// ---------------------------------------------------------
|
|
1496 |
//
|
|
1497 |
RESOURCE ARRAY r_calen_editor_event_type_popup_items
|
|
1498 |
{
|
|
1499 |
items=
|
|
1500 |
{
|
|
1501 |
LBUF
|
|
1502 |
{
|
|
1503 |
txt = qtn_cale_item_meeting;
|
|
1504 |
},
|
|
1505 |
LBUF
|
|
1506 |
{
|
|
1507 |
txt = qtn_cale_note_anniversary;
|
|
1508 |
},
|
|
1509 |
LBUF
|
|
1510 |
{
|
|
1511 |
txt = qtn_cale_item_todo;
|
|
1512 |
}
|
|
1513 |
};
|
|
1514 |
}
|
|
1515 |
|
|
1516 |
// ---------------------------------------------------------
|
|
1517 |
// r_calen_editor_priority_popup_items
|
|
1518 |
// Define items of "priority" popup list.
|
|
1519 |
// ---------------------------------------------------------
|
|
1520 |
//
|
|
1521 |
RESOURCE ARRAY r_calen_editor_priority_popup_items
|
|
1522 |
{
|
|
1523 |
items=
|
|
1524 |
{
|
|
1525 |
LBUF
|
|
1526 |
{
|
|
1527 |
txt = qtn_cale_viewer_prio_high;
|
|
1528 |
},
|
|
1529 |
LBUF
|
|
1530 |
{
|
|
1531 |
txt = qtn_cale_viewer_prio_normal ;
|
|
1532 |
},
|
|
1533 |
LBUF
|
|
1534 |
{
|
|
1535 |
txt = qtn_cale_viewer_prio_low;
|
|
1536 |
}
|
|
1537 |
};
|
|
1538 |
}
|
|
1539 |
// ---------------------------------------------------------
|
|
1540 |
// r_calen_editor_reminder_popup_items
|
|
1541 |
// Define items of "Reminder" popup list.
|
|
1542 |
// ---------------------------------------------------------
|
|
1543 |
//
|
|
1544 |
RESOURCE ARRAY r_calen_editor_reminder_popup_items
|
|
1545 |
{
|
|
1546 |
items=
|
|
1547 |
{
|
|
1548 |
LBUF
|
|
1549 |
{
|
|
1550 |
txt = qtn_chi_cale_lunar_cale_on;
|
|
1551 |
},
|
|
1552 |
LBUF
|
|
1553 |
{
|
|
1554 |
txt = qtn_cale_alarm_off;
|
|
1555 |
}
|
|
1556 |
};
|
|
1557 |
}
|
|
1558 |
|
|
1559 |
// ---------------------------------------------------------
|
|
1560 |
// r_calen_editor_repeat_popup_items
|
|
1561 |
// Define items of "Repeat" popup list.
|
|
1562 |
// ---------------------------------------------------------
|
|
1563 |
//
|
|
1564 |
RESOURCE ARRAY r_calen_editor_repeat_popup_items
|
|
1565 |
{
|
|
1566 |
items=
|
|
1567 |
{
|
|
1568 |
LBUF
|
|
1569 |
{
|
|
1570 |
txt = qtn_calen_does_not_repeat;
|
|
1571 |
},
|
|
1572 |
LBUF
|
|
1573 |
{
|
|
1574 |
txt = qtn_calen_repeat_daily ;
|
|
1575 |
},
|
|
1576 |
LBUF
|
|
1577 |
{
|
|
1578 |
txt = qtn_calen_repeat_weekdays;
|
|
1579 |
},
|
|
1580 |
LBUF
|
|
1581 |
{
|
|
1582 |
txt = qtn_calen_repeat_weekly;
|
|
1583 |
},
|
|
1584 |
LBUF
|
|
1585 |
{
|
|
1586 |
txt = qtn_calen_repeat_forthnightly;
|
|
1587 |
},
|
|
1588 |
LBUF
|
|
1589 |
{
|
|
1590 |
txt = qtn_cale_repeat_monthly;
|
|
1591 |
},
|
|
1592 |
LBUF
|
|
1593 |
{
|
|
1594 |
txt = qtn_calen_repeat_yearly;
|
|
1595 |
}
|
|
1596 |
};
|
|
1597 |
}
|
|
1598 |
|
|
1599 |
RESOURCE TBUF r_qtn_cale_unified_editor_title
|
|
1600 |
{
|
|
1601 |
buf = qtn_cale_title_calendar;
|
|
1602 |
}
|
|
1603 |
|
|
1604 |
// ---------------------------------------------------------
|
|
1605 |
// r_calen_unified_editor_menubar
|
|
1606 |
// Menubar for unified editor
|
|
1607 |
// ---------------------------------------------------------
|
|
1608 |
//
|
|
1609 |
RESOURCE MENU_BAR r_calen_unified_editor_menubar
|
|
1610 |
{
|
|
1611 |
titles=
|
|
1612 |
{
|
|
1613 |
MENU_TITLE
|
|
1614 |
{
|
|
1615 |
menu_pane = r_calen_unified_editor_menupane;
|
|
1616 |
txt = " "; // Dummy
|
|
1617 |
}
|
|
1618 |
};
|
|
1619 |
}
|
|
1620 |
|
|
1621 |
// ---------------------------------------------------------
|
|
1622 |
// r_calen_unified_editor_menupane
|
|
1623 |
// Editor implementation dynamically adds all parts
|
|
1624 |
// of menu pane to this.
|
|
1625 |
// ---------------------------------------------------------
|
|
1626 |
//
|
|
1627 |
RESOURCE MENU_PANE r_calen_unified_editor_menupane
|
|
1628 |
{
|
|
1629 |
items=
|
|
1630 |
{
|
|
1631 |
};
|
|
1632 |
}
|
|
1633 |
|
|
1634 |
// ---------------------------------------------------------
|
|
1635 |
// r_calen_unified_editor_default_menupane
|
|
1636 |
// ---------------------------------------------------------
|
|
1637 |
//
|
|
1638 |
RESOURCE MENU_PANE r_calen_unified_editor_default_menupane
|
|
1639 |
{
|
|
1640 |
items =
|
|
1641 |
{
|
|
1642 |
MENU_ITEM
|
|
1643 |
{
|
|
1644 |
command = ECalenCmdCancel;
|
|
1645 |
txt = qtn_cale_om_cancel_changes;
|
|
1646 |
},
|
|
1647 |
MENU_ITEM
|
|
1648 |
{
|
|
1649 |
command = ECalenCmdAddPeople;
|
|
1650 |
txt = qtn_calen_add_people_from_contact_book;
|
|
1651 |
},
|
|
1652 |
MENU_ITEM
|
|
1653 |
{
|
|
1654 |
command = ECalenGetLocation;
|
|
1655 |
txt = qtn_cale_om_assign_from_map;
|
|
1656 |
},
|
|
1657 |
MENU_ITEM
|
|
1658 |
{
|
|
1659 |
command = ECalenDeleteCurrentEntry;
|
|
1660 |
txt = qtn_cale_om_delete;
|
|
1661 |
},
|
|
1662 |
MENU_ITEM
|
|
1663 |
{
|
|
1664 |
command = EAknCmdHelp;
|
|
1665 |
txt = qtn_options_help;
|
|
1666 |
},
|
|
1667 |
MENU_ITEM
|
|
1668 |
{
|
|
1669 |
command = EAknSoftkeyExit;
|
|
1670 |
txt = qtn_options_exit;
|
|
1671 |
}
|
|
1672 |
};
|
|
1673 |
}
|
|
1674 |
|
|
1675 |
RESOURCE TBUF r_qtn_cale_attachment_none
|
|
1676 |
{
|
|
1677 |
buf = qtn_cale_confident_none;
|
|
1678 |
}
|
|
1679 |
|
|
1680 |
// ---------------------------------------------------------
|
|
1681 |
// Attachments Options-menu items
|
|
1682 |
// ---------------------------------------------------------
|
|
1683 |
//
|
|
1684 |
RESOURCE MENU_PANE r_calen_editor_attachments_menupane
|
|
1685 |
{
|
|
1686 |
items =
|
|
1687 |
{
|
|
1688 |
MENU_ITEM
|
|
1689 |
{
|
|
1690 |
command = ECalenCmdAddAttachment;
|
|
1691 |
txt = qtn_calen_editor_opt_add_attachment;
|
|
1692 |
},
|
|
1693 |
MENU_ITEM
|
|
1694 |
{
|
|
1695 |
command = ECalenCmdRemoveAttachment;
|
|
1696 |
txt = qtn_cale_opt_remove_attachment;
|
|
1697 |
}
|
|
1698 |
};
|
|
1699 |
}
|
|
1700 |
|
|
1701 |
// ---------------------------------------------------------
|
|
1702 |
// Description list query
|
|
1703 |
// List query for the description types
|
|
1704 |
// ---------------------------------------------------------
|
|
1705 |
RESOURCE AVKON_MULTISELECTION_LIST_QUERY r_description_list_query
|
|
1706 |
{
|
|
1707 |
flags = EGeneralQueryFlags;
|
|
1708 |
softkeys = R_AVKON_SOFTKEYS_SELECT_CANCEL__SELECT;
|
|
1709 |
items =
|
|
1710 |
{
|
|
1711 |
AVKON_MULTISELECTION_LIST_QUERY_DLG_LINE
|
|
1712 |
{
|
|
1713 |
control = AVKON_LIST_QUERY_CONTROL
|
|
1714 |
{
|
|
1715 |
listtype = EAknCtSinglePopupMenuListBox;
|
|
1716 |
listbox = AVKON_LIST_QUERY_LIST
|
|
1717 |
{
|
|
1718 |
array_id = r_description_list_query_array;
|
|
1719 |
};
|
|
1720 |
heading = text_softkey_select;
|
|
1721 |
};
|
|
1722 |
}
|
|
1723 |
};
|
|
1724 |
}
|
|
1725 |
|
|
1726 |
// ---------------------------------------------------------
|
|
1727 |
// Description list query array
|
|
1728 |
// List of the description types
|
|
1729 |
// ---------------------------------------------------------
|
|
1730 |
RESOURCE ARRAY r_description_list_query_array
|
|
1731 |
{
|
|
1732 |
items=
|
|
1733 |
{
|
|
1734 |
LBUF { txt = qtn_cale_om_descript_new; },
|
|
1735 |
LBUF { txt = qtn_cale_om_descript_exist; }
|
|
1736 |
};
|
|
1737 |
}
|
|
1738 |
|
|
1739 |
// ---------------------------------------------------------
|
|
1740 |
//
|
|
1741 |
// r_korean_lunar_date_editor_line
|
|
1742 |
// Define Lunar "Date:" line
|
|
1743 |
//
|
|
1744 |
// ---------------------------------------------------------
|
|
1745 |
//
|
|
1746 |
RESOURCE DLG_LINE r_korean_lunar_date_editor_line
|
|
1747 |
{
|
|
1748 |
type = ECalenCtLunarDateEditor;
|
|
1749 |
prompt = qtn_cale_anniversary_start_date;
|
|
1750 |
id = EKoreanLunarAniversityStart; // was ecalendata tms.
|
|
1751 |
control = KOREAN_LUNAR_DATE_EDITOR
|
|
1752 |
{
|
|
1753 |
flags = 0;
|
|
1754 |
};
|
|
1755 |
}
|
|
1756 |
|
|
1757 |
// ---------------------------------------------------------
|
|
1758 |
//
|
|
1759 |
// r_korean_lunar_noteview_type_line
|
|
1760 |
// Define "solar/lunar/leap:" line of Note Form
|
|
1761 |
//
|
|
1762 |
// ---------------------------------------------------------
|
|
1763 |
//
|
|
1764 |
RESOURCE DLG_LINE r_korean_lunar_noteview_type_line
|
|
1765 |
{
|
|
1766 |
type = EAknCtPopupField;
|
|
1767 |
prompt = qtn_kor_cale_note_type;
|
|
1768 |
id = EKoreanLunarTypeSelectSolarLunarLeap;
|
|
1769 |
// means that OK-Key works - IMPORTANT!
|
|
1770 |
itemflags = EEikDlgItemTakesEnterKey | EEikDlgItemOfferAllHotKeys;
|
|
1771 |
control = POPUP_FIELD
|
|
1772 |
{
|
|
1773 |
flags = 0;
|
|
1774 |
width = 8; // in characters
|
|
1775 |
other = " "; // Dummy
|
|
1776 |
};
|
|
1777 |
}
|
|
1778 |
|
|
1779 |
RESOURCE TBUF r_kor_cale_note_offset_unit
|
|
1780 |
{
|
|
1781 |
buf = qtn_kor_cale_note_offset_unit;
|
|
1782 |
}
|
|
1783 |
|
|
1784 |
RESOURCE TBUF r_qtn_kor_cale_viewer_alarm_offset
|
|
1785 |
{
|
|
1786 |
buf = qtn_kor_cale_viewer_alarm_offset;
|
|
1787 |
}
|
|
1788 |
|
|
1789 |
RESOURCE TBUF r_qtn_kor_cale_viewer_alarm_offset_time
|
|
1790 |
{
|
|
1791 |
buf = qtn_kor_cale_viewer_alarm_offset_time;
|
|
1792 |
}
|
|
1793 |
|
|
1794 |
// End of File
|