|
1 /* |
|
2 * Copyright (c) 2009 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: |
|
15 * This file contains all the resources for the default sim dialog. |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 |
|
21 |
|
22 |
|
23 // RESOURCE IDENTIFIER |
|
24 |
|
25 NAME SIMD |
|
26 |
|
27 #include <eikon.rh> // ?description |
|
28 #include <eikon.rsg> // ?description |
|
29 #include <mtud.rh> // ?description |
|
30 #include <mtud.hrh> // ?description |
|
31 #include <mtmuidef.hrh> // ?description |
|
32 #include <MtmExtendedCapabilities.hrh> |
|
33 #include <muiusettingsarray.rh> // needed for settingshelp-class |
|
34 #include <avkon.rh> |
|
35 #include <avkon.rsg> |
|
36 #include <avkon.mbg> |
|
37 #include <avkon.loc> |
|
38 #include <muiusettingsarray.hrh> // MUIU_SETTINGS_ITEM |
|
39 #include "SMSU.HRH" |
|
40 #include <smum.loc> |
|
41 #include <bldvariant.hrh> |
|
42 |
|
43 |
|
44 // EIKON HEADER INFORMATION |
|
45 |
|
46 //=========================================================================== |
|
47 |
|
48 RESOURCE RSS_SIGNATURE { } |
|
49 |
|
50 RESOURCE TBUF16 { buf="simd"; } |
|
51 /* |
|
52 ----------------------------------------------------------------------------- |
|
53 |
|
54 r_sms_sim_dialog |
|
55 |
|
56 ----------------------------------------------------------------------------- |
|
57 */ |
|
58 |
|
59 RESOURCE DIALOG r_sms_default_sim_dialog |
|
60 { |
|
61 flags = EAknDialogMarkableList; |
|
62 buttons=R_AVKON_SOFTKEYS_OPTIONS_BACK; |
|
63 items= |
|
64 { |
|
65 DLG_LINE |
|
66 { |
|
67 type = EAknCtDoubleGraphicListBox/*EAknCtDoubleListBox*/; |
|
68 id=EMsgControlIdSimMessageListBox; |
|
69 itemflags=EEikDlgItemTakesEnterKey | EEikDlgItemOfferAllHotKeys; |
|
70 control=LISTBOX |
|
71 { |
|
72 flags = EAknListBoxMarkableList; |
|
73 height = 8; |
|
74 }; |
|
75 } |
|
76 }; |
|
77 } |
|
78 |
|
79 RESOURCE TBUF r_sms_default_sim_dialog_empty |
|
80 { |
|
81 buf = qtn_mce_no_messages; // no over 100 chars! |
|
82 } |
|
83 RESOURCE TBUF r_sms_default_sim_dialog_copy_messages |
|
84 { |
|
85 buf = qtn_mce_copy_copy_to; // no over 100 chars! |
|
86 } |
|
87 |
|
88 RESOURCE TBUF r_sms_default_sim_dialog_title_text |
|
89 { |
|
90 buf = qtn_mce_title_sim; |
|
91 } |
|
92 |
|
93 RESOURCE MENU_BAR r_sms_default_sim_dialog_menubar |
|
94 { |
|
95 titles= |
|
96 { |
|
97 MENU_TITLE |
|
98 { |
|
99 menu_pane=r_sms_default_sim_dialog_menupane ; |
|
100 txt=""; |
|
101 } |
|
102 }; |
|
103 } |
|
104 |
|
105 RESOURCE MENU_PANE r_sms_default_sim_dialog_menupane |
|
106 { |
|
107 items= |
|
108 { |
|
109 MENU_ITEM |
|
110 { |
|
111 command = ESmsMtmUiCommandIdEdit; |
|
112 txt = qtn_mce_sim_edit; |
|
113 cascade = r_mce_default_sim_dialog_edit_cascade; |
|
114 }, |
|
115 MENU_ITEM |
|
116 { |
|
117 command = EAknCmdHelp; |
|
118 txt = qtn_options_help; |
|
119 }, |
|
120 MENU_ITEM |
|
121 { |
|
122 command = ESmsSettingsChoiceMenuExit; |
|
123 txt = qtn_mce_settings_exit; |
|
124 } |
|
125 }; |
|
126 } |
|
127 |
|
128 RESOURCE MENU_BAR r_sms_default_sim_dialog_contextmenubar |
|
129 { |
|
130 titles= |
|
131 { |
|
132 MENU_TITLE |
|
133 { |
|
134 menu_pane=r_sms_default_sim_dialog_contextmenupane ; |
|
135 txt=""; |
|
136 } |
|
137 }; |
|
138 } |
|
139 |
|
140 RESOURCE MENU_PANE r_sms_default_sim_dialog_contextmenupane |
|
141 { |
|
142 items= |
|
143 { |
|
144 MENU_ITEM |
|
145 { |
|
146 command = ESmsMtmUiCommandIdDelete; |
|
147 txt = qtn_mce_sim_delete; |
|
148 }, |
|
149 MENU_ITEM |
|
150 { |
|
151 command = ESmsMtmUiCommandIdCopy; |
|
152 txt = qtn_mce_sim_copy; |
|
153 }, |
|
154 MENU_ITEM |
|
155 { |
|
156 command = ESmsMtmUiCommandIdEdit; |
|
157 txt = qtn_mce_sim_edit; |
|
158 cascade = r_mce_default_sim_dialog_edit_cascade; |
|
159 } |
|
160 }; |
|
161 } |
|
162 RESOURCE MENU_PANE r_mce_default_sim_dialog_edit_cascade |
|
163 { |
|
164 items= |
|
165 { |
|
166 MENU_ITEM |
|
167 { |
|
168 command = ESmsMtmUiCommandIdEditMark; |
|
169 txt = qtn_options_list_mark_one; |
|
170 }, |
|
171 MENU_ITEM |
|
172 { |
|
173 command = ESmsMtmUiCommandIdEditUnmark; |
|
174 txt = qtn_options_list_unmark_one; |
|
175 }, |
|
176 MENU_ITEM |
|
177 { |
|
178 command = ESmsMtmUiCommandIdEditMarkAll; |
|
179 txt = qtn_options_list_mark_all; |
|
180 }, |
|
181 MENU_ITEM |
|
182 { |
|
183 command = ESmsMtmUiCommandIdEditUnmarkAll; |
|
184 txt = qtn_options_list_unmark_all; |
|
185 } |
|
186 }; |
|
187 } |
|
188 |
|
189 |
|
190 //---------------------------------------------------- |
|
191 // |
|
192 // r_sim_message_delete_confirmation |
|
193 // |
|
194 //---------------------------------------------------- |
|
195 // |
|
196 RESOURCE DIALOG r_default_sim_message_delete_confirmation |
|
197 { |
|
198 flags = EGeneralQueryFlags; |
|
199 buttons=R_AVKON_SOFTKEYS_YES_NO__YES; |
|
200 items= |
|
201 { |
|
202 DLG_LINE |
|
203 { |
|
204 type=EAknCtQuery; |
|
205 id=EGeneralQuery; |
|
206 control = AVKON_CONFIRMATION_QUERY |
|
207 { |
|
208 layout = EConfirmationLayout; |
|
209 label = ""; |
|
210 }; |
|
211 } |
|
212 }; |
|
213 } |
|
214 |
|
215 |
|
216 |
|
217 //---------------------------------------------------- |
|
218 // |
|
219 // r_sim_msk_button_empty |
|
220 // |
|
221 //---------------------------------------------------- |
|
222 // |
|
223 RESOURCE CBA_BUTTON r_default_sim_msk_button_empty |
|
224 { |
|
225 id = EAknSoftkeyEmpty; |
|
226 txt = text_softkey_empty; |
|
227 } |
|
228 |
|
229 //---------------------------------------------------- |
|
230 // |
|
231 // r_sim_msk_button_contextmenu |
|
232 // |
|
233 //---------------------------------------------------- |
|
234 // |
|
235 RESOURCE CBA_BUTTON r_default_sim_msk_button_contextmenu |
|
236 { |
|
237 id = EAknSoftkeyContextOptions; |
|
238 txt = text_softkey_option; |
|
239 } |
|
240 |
|
241 |
|
242 // sim message texts |
|
243 RESOURCE TBUF r_qtn_mce_wait_copy_sim_dlg { buf = qtn_mce_wait_copy_sim; } |
|
244 RESOURCE TBUF r_qtn_mce_wait_copy_many_sim_dlg { buf = qtn_mce_wait_copy_sim_many; } |
|
245 RESOURCE TBUF r_qtn_mce_wait_delete_sim_dlg { buf = qtn_mce_wait_delete; } |
|
246 RESOURCE TBUF r_qtn_mce_wait_delete_many_sim_dlg { buf = qtn_mce_wait_delete_many; } |
|
247 |
|
248 // --------------------------------------------------------- |
|
249 // |
|
250 // r_sim_dialog_wait_note - dialog |
|
251 // Shown when user opens SIM messages dialog and messages are read from sim card |
|
252 // |
|
253 // |
|
254 // --------------------------------------------------------- |
|
255 // |
|
256 RESOURCE DIALOG r_default_sim_dialog_wait_note |
|
257 { |
|
258 flags = EAknWaitNoteFlags; |
|
259 buttons = R_AVKON_SOFTKEYS_CANCEL; |
|
260 items = |
|
261 { |
|
262 DLG_LINE |
|
263 { |
|
264 type = EAknCtNote; |
|
265 id = ESmsMtmUiSimDialogWaitNote; |
|
266 control = AVKON_NOTE |
|
267 { |
|
268 layout = EWaitLayout; |
|
269 singular_label = qtn_mce_wait_open_sim; |
|
270 plural_label = ""; |
|
271 animation = R_QGN_GRAF_WAIT_BAR_ANIM; |
|
272 }; |
|
273 } |
|
274 }; |
|
275 } |
|
276 |
|
277 // --------------------------------------------------------- |
|
278 // |
|
279 // r_sim_dialog_wait_note - dialog |
|
280 // Shown when user deletes or copies SIM messages |
|
281 // |
|
282 // |
|
283 // --------------------------------------------------------- |
|
284 // |
|
285 RESOURCE DIALOG r_default_sim_dialog_progress_note |
|
286 { |
|
287 flags = EAknWaitNoteFlags; |
|
288 buttons = R_AVKON_SOFTKEYS_CANCEL; |
|
289 items = |
|
290 { |
|
291 DLG_LINE |
|
292 { |
|
293 type = EAknCtNote; |
|
294 id = ESmsMtmUiSimDialogProgressNote; |
|
295 control = AVKON_NOTE |
|
296 { |
|
297 layout = EProgressLayout; |
|
298 singular_label = ""; // filled on runtime |
|
299 plural_label = ""; |
|
300 }; |
|
301 } |
|
302 }; |
|
303 } |
|
304 |
|
305 RESOURCE TBUF r_default_sim_message_delete_confirmation_one_message |
|
306 { |
|
307 buf = qtn_query_common_conf_delete_me; |
|
308 } |
|
309 |
|
310 RESOURCE TBUF r_default_sim_message_delete_confirmation_many_messages |
|
311 { |
|
312 buf = qtn_query_common_conf_delete_ms; |
|
313 } |
|
314 |
|
315 RESOURCE TBUF r_qtn_offline_not_possible { buf = qtn_offline_not_possible; } |
|
316 // End of File |