|
1 /* |
|
2 * Copyright (c) 2002,2005 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: Contains all the resource definitions for the Positioning |
|
15 * Method Settings UI |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 // RESOURCE IDENTIFIER |
|
21 |
|
22 NAME LPSY // 4 Letter Identifier |
|
23 |
|
24 // INCLUDES |
|
25 |
|
26 #include <data_caging_paths_strings.hrh> |
|
27 #include <bldvariant.hrh> |
|
28 #include <avkon.rh> |
|
29 #include <avkon.rsg> |
|
30 #include <avkon.mbg> |
|
31 #include <eikcore.rsg> |
|
32 #include <eikon.rh> |
|
33 #include <eikon.rsg> |
|
34 #include <avkon.loc> |
|
35 #include <location.loc> |
|
36 #include "locpsysettingsui.hrh" |
|
37 |
|
38 // RESOURCE DEFINITIONS |
|
39 |
|
40 RESOURCE RSS_SIGNATURE |
|
41 { |
|
42 } |
|
43 |
|
44 //---------------------------------------------------- |
|
45 // r_possettingsui_caption |
|
46 // |
|
47 // Caption for Positioning Method Settings |
|
48 //---------------------------------------------------- |
|
49 // |
|
50 RESOURCE TBUF r_possettingsui_caption |
|
51 { |
|
52 buf = qtn_loc_settings_psys; |
|
53 } |
|
54 |
|
55 |
|
56 //------------------------------------------------------------------------------ |
|
57 // |
|
58 // LOCATION_INTARRAY |
|
59 // Items array |
|
60 // |
|
61 //------------------------------------------------------------------------------ |
|
62 // |
|
63 STRUCT LOCATION_INTARRAY |
|
64 { |
|
65 LONG items[]; |
|
66 } |
|
67 |
|
68 |
|
69 //------------------------------------------------------------------------------ |
|
70 // |
|
71 // r_location_hotkeys |
|
72 // Hot keys. |
|
73 // |
|
74 //------------------------------------------------------------------------------ |
|
75 // |
|
76 RESOURCE HOTKEYS r_location_hotkeys |
|
77 { |
|
78 control= |
|
79 { |
|
80 // None |
|
81 }; |
|
82 } |
|
83 |
|
84 |
|
85 //------------------------------------------------------------------------------ |
|
86 // |
|
87 // r_location_home_view |
|
88 // Home view |
|
89 // |
|
90 //------------------------------------------------------------------------------ |
|
91 // |
|
92 RESOURCE AVKON_VIEW r_location_home_view |
|
93 { |
|
94 menubar=r_location_menubar_home_view; |
|
95 cba=r_location_options_selection_back; |
|
96 } |
|
97 |
|
98 //---------------------------------------------------- |
|
99 // |
|
100 // r_location_options_selection_back |
|
101 // CBA for PSY Settings UI view. |
|
102 // |
|
103 //---------------------------------------------------- |
|
104 // |
|
105 RESOURCE CBA r_location_options_selection_back |
|
106 { |
|
107 flags = 0; |
|
108 buttons = |
|
109 { |
|
110 CBA_BUTTON |
|
111 { |
|
112 id = EAknSoftkeyOptions; |
|
113 txt = text_softkey_option; |
|
114 }, |
|
115 CBA_BUTTON |
|
116 { |
|
117 id = EAknSoftkeyBack; |
|
118 txt = text_softkey_back; |
|
119 }, |
|
120 CBA_BUTTON |
|
121 { |
|
122 id = EAknSoftkeyContextOptions; |
|
123 txt = text_softkey_option; |
|
124 } |
|
125 }; |
|
126 } |
|
127 |
|
128 //---------------------------------------------------- |
|
129 // |
|
130 // r_location_options_empty_back |
|
131 // CBA for PSY Settings UI view. |
|
132 // |
|
133 //---------------------------------------------------- |
|
134 // |
|
135 RESOURCE CBA r_location_options_empty_back |
|
136 { |
|
137 flags = 0; |
|
138 buttons = |
|
139 { |
|
140 CBA_BUTTON |
|
141 { |
|
142 id = EAknSoftkeyOptions; |
|
143 txt = text_softkey_option; |
|
144 }, |
|
145 CBA_BUTTON |
|
146 { |
|
147 id = EAknSoftkeyBack; |
|
148 txt = text_softkey_back; |
|
149 }, |
|
150 CBA_BUTTON |
|
151 { |
|
152 id = ELocCmdNone; |
|
153 } |
|
154 }; |
|
155 } |
|
156 |
|
157 //------------------------------------------------------------------------------ |
|
158 // |
|
159 // r_location_menubar_home_view |
|
160 // Menu bar of home view |
|
161 // |
|
162 //------------------------------------------------------------------------------ |
|
163 // |
|
164 RESOURCE MENU_BAR r_location_menubar_home_view |
|
165 { |
|
166 titles= |
|
167 { |
|
168 MENU_TITLE { menu_pane=r_location_app_menu; txt=""; }, |
|
169 MENU_TITLE { menu_pane=r_location_home_view_menu; txt=""; } |
|
170 }; |
|
171 } |
|
172 |
|
173 //------------------------------------------------------------------------------ |
|
174 // |
|
175 // r_location_context_menubar |
|
176 // Context specific menu bar inhome view |
|
177 // |
|
178 //------------------------------------------------------------------------------ |
|
179 // |
|
180 RESOURCE MENU_BAR r_location_context_menubar_home_view |
|
181 { |
|
182 titles = |
|
183 { |
|
184 MENU_TITLE { menu_pane=r_location_home_view_menu; txt=""; } |
|
185 }; |
|
186 } |
|
187 |
|
188 //------------------------------------------------------------------------------ |
|
189 // |
|
190 // r_location_home_view_menu |
|
191 // Home view menu |
|
192 // |
|
193 //------------------------------------------------------------------------------ |
|
194 // |
|
195 RESOURCE MENU_PANE r_location_home_view_menu |
|
196 { |
|
197 items= |
|
198 { |
|
199 MENU_ITEM { command=ELocCmdEnablePsy; txt = qtn_loc_opt_enable_psy;flags = EEikMenuItemAction; }, |
|
200 MENU_ITEM { command=ELocCmdDisablePsy; txt = qtn_loc_opt_disable_psy;flags = EEikMenuItemAction; }, |
|
201 MENU_ITEM { command=ELocCmdConfigurePsy; txt = qtn_loc_opt_method_settings;flags = EEikMenuItemAction; } |
|
202 }; |
|
203 } |
|
204 |
|
205 //------------------------------------------------------------------------------ |
|
206 // |
|
207 // r_loc_psy_methods_list_empty |
|
208 // Empty positioning methods listbox text |
|
209 // |
|
210 //------------------------------------------------------------------------------ |
|
211 // |
|
212 RESOURCE TBUF r_loc_psy_methods_list_empty |
|
213 { |
|
214 buf=qtn_loc_no_psys; |
|
215 } |
|
216 |
|
217 //------------------------------------------------------------------------------ |
|
218 // |
|
219 // r_location_app_menu |
|
220 // Location application menu |
|
221 // |
|
222 //------------------------------------------------------------------------------ |
|
223 // |
|
224 RESOURCE MENU_PANE r_location_app_menu |
|
225 { |
|
226 items= |
|
227 { |
|
228 MENU_ITEM |
|
229 { |
|
230 command = EAknCmdHelp; |
|
231 txt = qtn_options_help; |
|
232 }, |
|
233 MENU_ITEM |
|
234 { |
|
235 // Exit option should use 'EEikCmdExit' instead of 'EEAknCmdExit' |
|
236 // This is to ensure that the Exit command is not handled by the |
|
237 // ProcessCommandL of CAknView and is transferred to |
|
238 // CAknViewAppUi::HandleCommandL. This behaviour is necessary |
|
239 // for proper handling of the Exit command from an App Server's |
|
240 // perspective. |
|
241 command = EEikCmdExit; |
|
242 txt = qtn_options_exit; |
|
243 } |
|
244 }; |
|
245 } |
|
246 |
|
247 //------------------------------------------------------------------------------ |
|
248 // |
|
249 // r_loc_main_title |
|
250 // Title for application's main view (Positioning methods view) |
|
251 // |
|
252 //------------------------------------------------------------------------------ |
|
253 // |
|
254 RESOURCE TBUF r_loc_main_title |
|
255 { |
|
256 buf = qtn_loc_psy_title; |
|
257 } |
|
258 |
|
259 //------------------------------------------------------------------------------ |
|
260 // |
|
261 // r_location_psy_listbox |
|
262 // Listbox resource for application's main view (Positioning methods view) |
|
263 // |
|
264 //------------------------------------------------------------------------------ |
|
265 // |
|
266 RESOURCE LISTBOX r_location_psy_listbox |
|
267 { |
|
268 flags = EAknListBoxSelectionList; |
|
269 } |
|
270 |
|
271 //---------------------------------------------------- |
|
272 // |
|
273 // r_psyquery_softkeys_yes_yes_no |
|
274 // CBA for PSY Settings confirmation query. |
|
275 // |
|
276 //---------------------------------------------------- |
|
277 // |
|
278 RESOURCE CBA r_psyquery_softkeys_yes_yes_no |
|
279 { |
|
280 flags = 0; |
|
281 buttons = |
|
282 { |
|
283 CBA_BUTTON |
|
284 { |
|
285 id = EAknSoftkeyYes; |
|
286 txt = text_softkey_yes; |
|
287 }, |
|
288 CBA_BUTTON |
|
289 { |
|
290 id = EAknSoftkeyNo; |
|
291 txt = text_softkey_no; |
|
292 }, |
|
293 CBA_BUTTON |
|
294 { |
|
295 id = EAknSoftkeyYes; |
|
296 txt = text_softkey_yes; |
|
297 } |
|
298 }; |
|
299 } |
|
300 |
|
301 //---------------------------------------------------- |
|
302 // |
|
303 // r_psydisable_config_query |
|
304 // Confirmation Query prompt for PSY disabling |
|
305 // |
|
306 //---------------------------------------------------- |
|
307 // |
|
308 RESOURCE DIALOG r_psydisable_config_query |
|
309 { |
|
310 flags = EAknGeneralQueryFlags; |
|
311 buttons = r_psyquery_softkeys_yes_yes_no; |
|
312 items = |
|
313 { |
|
314 DLG_LINE |
|
315 { |
|
316 type = EAknCtQuery; |
|
317 id = EGeneralQuery; |
|
318 control = AVKON_CONFIRMATION_QUERY |
|
319 { |
|
320 layout = EConfirmationQueryLayout; |
|
321 label = qtn_loc_query_psy_used; |
|
322 }; |
|
323 } |
|
324 }; |
|
325 } |
|
326 |
|
327 // End of File |
|
328 |
|
329 |