|
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 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 NAME MATT |
|
21 |
|
22 #include <eikon.rh> |
|
23 #include <eikon.rsg> |
|
24 #include <avkon.rh> |
|
25 #include <avkon.rsg> |
|
26 #include <avkon.mbg> |
|
27 #include <CommonDialogs.hrh> |
|
28 #include <CommonDialogs.rh> |
|
29 #include <pathconfiguration.hrh> |
|
30 |
|
31 #include "FB.hrh" |
|
32 #include <data_caging_paths_strings.hrh> |
|
33 #include <appinfo.rh> |
|
34 #if(!defined __SERIES60_30__ && !defined __SERIES60_31__ && !defined __S60_32__) |
|
35 #include <filebrowser_extraicons.mbg> // for r_filebrowser_toolbar_info_extension |
|
36 #endif |
|
37 |
|
38 |
|
39 // --------------------------------------------------------- |
|
40 // |
|
41 // Define the resource file signature |
|
42 // This resource should be empty. |
|
43 // |
|
44 // --------------------------------------------------------- |
|
45 // |
|
46 RESOURCE RSS_SIGNATURE { } |
|
47 |
|
48 // --------------------------------------------------------- |
|
49 // |
|
50 // Default Document Name |
|
51 // |
|
52 // --------------------------------------------------------- |
|
53 // |
|
54 RESOURCE TBUF r_default_document_name { buf=""; } |
|
55 |
|
56 // --------------------------------------------------------- |
|
57 // |
|
58 // Define default menu and CBA key. |
|
59 // |
|
60 // --------------------------------------------------------- |
|
61 // |
|
62 RESOURCE EIK_APP_INFO |
|
63 { |
|
64 #if(!defined __SERIES60_30__ && !defined __SERIES60_31__ && !defined __S60_32__) |
|
65 custom_app_info_extension = r_filebrowser_toolbar_info_extension; |
|
66 #endif |
|
67 } |
|
68 |
|
69 #if(!defined __SERIES60_30__ && !defined __SERIES60_31__ && !defined __S60_32__) |
|
70 |
|
71 RESOURCE EIK_APP_INFO_EXT r_filebrowser_toolbar_info_extension |
|
72 { |
|
73 popup_toolbar = r_filebrowser_toolbar; |
|
74 } |
|
75 |
|
76 RESOURCE AVKON_TOOLBAR r_filebrowser_toolbar |
|
77 { |
|
78 lines = 1; |
|
79 flags = KAknToolbarFixed ; |
|
80 |
|
81 items = |
|
82 { |
|
83 TBAR_CTRL |
|
84 { |
|
85 type = EAknCtButton; |
|
86 id = EFileBrowserCmdFileBack; |
|
87 control = AVKON_BUTTON |
|
88 { |
|
89 flags = 0; |
|
90 states = |
|
91 { |
|
92 AVKON_BUTTON_STATE |
|
93 { |
|
94 helptxt = "Up one level"; |
|
95 bmpfile = APP_BITMAP_DIR"\\filebrowser_extraicons.mif"; |
|
96 bmpid = EMbmFilebrowser_extraiconsQgn_indi_tb_filebrowser_folder_parent; |
|
97 bmpmask = EMbmFilebrowser_extraiconsQgn_indi_tb_filebrowser_folder_parent_mask; |
|
98 } |
|
99 }; |
|
100 }; |
|
101 }, |
|
102 TBAR_CTRL |
|
103 { |
|
104 type = EAknCtButton; |
|
105 id = EFileBrowserCmdFileSearch; |
|
106 control = AVKON_BUTTON |
|
107 { |
|
108 flags = 0; |
|
109 states = |
|
110 { |
|
111 AVKON_BUTTON_STATE |
|
112 { |
|
113 helptxt = "Open/Close filter view"; |
|
114 bmpfile = APP_BITMAP_DIR"\\filebrowser_extraicons.mif"; |
|
115 bmpid = EMbmFilebrowser_extraiconsQgn_indi_tb_filebrowser_find; |
|
116 bmpmask = EMbmFilebrowser_extraiconsQgn_indi_tb_filebrowser_find_mask; |
|
117 } |
|
118 }; |
|
119 }; |
|
120 }, |
|
121 TBAR_CTRL |
|
122 { |
|
123 type = EAknCtButton; |
|
124 id = EFileBrowserCmdEditSelect; |
|
125 control = AVKON_BUTTON |
|
126 { |
|
127 flags = KAknButtonReportOnLongPress; |
|
128 states = |
|
129 { |
|
130 AVKON_BUTTON_STATE |
|
131 { |
|
132 helptxt = "Select/Unselect item"; |
|
133 bmpfile = APP_BITMAP_DIR"\\filebrowser_extraicons.mif"; |
|
134 bmpid = EMbmFilebrowser_extraiconsQgn_indi_tb_filebrowser_selection; |
|
135 bmpmask = EMbmFilebrowser_extraiconsQgn_indi_tb_filebrowser_selection_mask; |
|
136 }, |
|
137 AVKON_BUTTON_STATE |
|
138 { |
|
139 helptxt = "Select/Unselect item"; |
|
140 bmpfile = APP_BITMAP_DIR"\\filebrowser_extraicons.mif"; |
|
141 bmpid = EMbmFilebrowser_extraiconsQgn_indi_tb_filebrowser_selection_active; |
|
142 bmpmask = EMbmFilebrowser_extraiconsQgn_indi_tb_filebrowser_selection_active_mask; |
|
143 } |
|
144 }; |
|
145 }; |
|
146 } |
|
147 }; |
|
148 } |
|
149 #endif |
|
150 |
|
151 //---------------------------------------------------- |
|
152 // |
|
153 // r_filebrowser_hotkeys |
|
154 // |
|
155 //---------------------------------------------------- |
|
156 // |
|
157 RESOURCE HOTKEYS r_filebrowser_hotkeys |
|
158 { |
|
159 control= |
|
160 { |
|
161 HOTKEY { command=EAknCmdExit; key='e'; } |
|
162 }; |
|
163 } |
|
164 |
|
165 //---------------------------------------------------- |
|
166 // |
|
167 // r_filebrowser_view_filelist |
|
168 // |
|
169 //---------------------------------------------------- |
|
170 // |
|
171 RESOURCE AVKON_VIEW r_filebrowser_view_filelist |
|
172 { |
|
173 hotkeys=r_filebrowser_hotkeys; |
|
174 menubar=r_filebrowser_menubar_view_filelist; |
|
175 cba=R_AVKON_SOFTKEYS_OPTIONS_EXIT; |
|
176 } |
|
177 |
|
178 //---------------------------------------------------- |
|
179 // |
|
180 // r_filebrowser_menubar_view_filelist |
|
181 // |
|
182 //---------------------------------------------------- |
|
183 // |
|
184 RESOURCE MENU_BAR r_filebrowser_menubar_view_filelist |
|
185 { |
|
186 titles= |
|
187 { |
|
188 MENU_TITLE { menu_pane=r_filebrowser_app_menu; txt="App"; }, |
|
189 MENU_TITLE { menu_pane=r_filebrowser_view_filelist_menu; txt="View"; } |
|
190 }; |
|
191 } |
|
192 |
|
193 //---------------------------------------------------- |
|
194 // |
|
195 // r_filebrowser_view_filelist_menu |
|
196 // |
|
197 //---------------------------------------------------- |
|
198 // |
|
199 RESOURCE MENU_PANE r_filebrowser_view_filelist_menu |
|
200 { |
|
201 items= |
|
202 { |
|
203 MENU_ITEM { command=EFileBrowserCmdFile; txt="File"; cascade=r_filebrowser_file_submenu; }, |
|
204 MENU_ITEM { command=EFileBrowserCmdEdit; txt="Edit"; cascade=r_filebrowser_edit_submenu; }, |
|
205 MENU_ITEM { command=EFileBrowserCmdView; txt="View"; cascade=r_filebrowser_view_submenu; }, |
|
206 MENU_ITEM { command=EFileBrowserCmdDiskAdmin; txt="Disk admin"; cascade=r_filebrowser_diskadmin_submenu; }, |
|
207 MENU_ITEM { command=EFileBrowserCmdTools; txt="Tools"; cascade=r_filebrowser_tools_submenu; }, |
|
208 MENU_ITEM { command=EFileBrowserCmdSettings; txt="Settings"; }, |
|
209 MENU_ITEM { command=EFileBrowserCmdAbout; txt="About"; }, |
|
210 MENU_ITEM { command=EAknCmdExit; txt="Exit"; } |
|
211 }; |
|
212 } |
|
213 |
|
214 RESOURCE MENU_PANE r_filebrowser_file_submenu |
|
215 { |
|
216 items = |
|
217 { |
|
218 MENU_ITEM { command=EFileBrowserCmdFileBack; txt="Back/Move up (<-)"; }, |
|
219 MENU_ITEM { command=EFileBrowserCmdFileOpen; txt="Open"; cascade=r_filebrowser_file_open_submenu; }, |
|
220 MENU_ITEM { command=EFileBrowserCmdFileOpenDrive; txt="Open drive (->)"; }, |
|
221 MENU_ITEM { command=EFileBrowserCmdFileOpenDirectory; txt="Open directory (->)"; }, |
|
222 MENU_ITEM { command=EFileBrowserCmdFileView; txt="View"; cascade=r_filebrowser_file_view_submenu; }, |
|
223 MENU_ITEM { command=EFileBrowserCmdFileEdit; txt="Edit"; cascade=r_filebrowser_file_edit_submenu; }, |
|
224 MENU_ITEM { command=EFileBrowserCmdFileSearch; txt="Search..."; }, |
|
225 MENU_ITEM { command=EFileBrowserCmdFileSendTo; txt="Send to"; }, |
|
226 MENU_ITEM { command=EFileBrowserCmdFileNew; txt="New"; cascade=r_filebrowser_file_new_submenu; }, |
|
227 MENU_ITEM { command=EFileBrowserCmdFileDelete; txt="Delete"; }, |
|
228 MENU_ITEM { command=EFileBrowserCmdFileRename; txt="Rename"; }, |
|
229 MENU_ITEM { command=EFileBrowserCmdFileTouch; txt="Touch"; }, |
|
230 MENU_ITEM { command=EFileBrowserCmdFileProperties; txt="Properties"; }, |
|
231 MENU_ITEM { command=EFileBrowserCmdFileChecksums; txt="Checksums"; cascade=r_filebrowser_file_checksums_submenu; }, |
|
232 MENU_ITEM { command=EFileBrowserCmdFileSetAttributes; txt="Set attributes..."; }, |
|
233 MENU_ITEM { command=EFileBrowserCmdFileCompress; txt="Compress with GZip"; }, |
|
234 MENU_ITEM { command=EFileBrowserCmdFileDecompress; txt="Decompress with GZip"; } |
|
235 }; |
|
236 } |
|
237 |
|
238 RESOURCE MENU_PANE r_filebrowser_file_open_submenu |
|
239 { |
|
240 items = |
|
241 { |
|
242 MENU_ITEM { command=EFileBrowserCmdFileOpenApparc; txt="AppArc"; }, |
|
243 MENU_ITEM { command=EFileBrowserCmdFileOpenDocHandlerEmbed; txt="DocHandler embed"; }, |
|
244 MENU_ITEM { command=EFileBrowserCmdFileOpenDocHandlerStandAlone; txt="DocHandler stand-alone"; }, |
|
245 MENU_ITEM { command=EFileBrowserCmdFileOpenFileService; txt="Choose a file service..."; } |
|
246 }; |
|
247 } |
|
248 |
|
249 RESOURCE MENU_PANE r_filebrowser_file_view_submenu |
|
250 { |
|
251 items = |
|
252 { |
|
253 MENU_ITEM { command=EFileBrowserCmdFileViewText; txt="As text"; }, |
|
254 MENU_ITEM { command=EFileBrowserCmdFileViewHex; txt="As hex"; } |
|
255 }; |
|
256 } |
|
257 |
|
258 RESOURCE MENU_PANE r_filebrowser_file_edit_submenu |
|
259 { |
|
260 items = |
|
261 { |
|
262 MENU_ITEM { command=EFileBrowserCmdFileEditText; txt="As text"; }, |
|
263 MENU_ITEM { command=EFileBrowserCmdFileEditHex; txt="As hex"; } |
|
264 }; |
|
265 } |
|
266 |
|
267 RESOURCE MENU_PANE r_filebrowser_file_new_submenu |
|
268 { |
|
269 items = |
|
270 { |
|
271 MENU_ITEM { command=EFileBrowserCmdFileNewFile; txt="File"; }, |
|
272 MENU_ITEM { command=EFileBrowserCmdFileNewDirectory; txt="Directory"; } |
|
273 }; |
|
274 } |
|
275 |
|
276 RESOURCE MENU_PANE r_filebrowser_file_checksums_submenu |
|
277 { |
|
278 items = |
|
279 { |
|
280 MENU_ITEM { command=EFileBrowserCmdFileChecksumsMD5; txt="MD5"; }, |
|
281 MENU_ITEM { command=EFileBrowserCmdFileChecksumsMD2; txt="MD2"; }, |
|
282 MENU_ITEM { command=EFileBrowserCmdFileChecksumsSHA1; txt="SHA-1"; } |
|
283 }; |
|
284 } |
|
285 RESOURCE MENU_PANE r_filebrowser_edit_submenu |
|
286 { |
|
287 items = |
|
288 { |
|
289 MENU_ITEM { command=EFileBrowserCmdSnapShot; txt="Snap shot to E:"; }, |
|
290 MENU_ITEM { command=EFileBrowserCmdEditCut; txt="Cut"; }, |
|
291 MENU_ITEM { command=EFileBrowserCmdEditCopy; txt="Copy"; }, |
|
292 MENU_ITEM { command=EFileBrowserCmdEditPaste; txt="Paste"; }, |
|
293 MENU_ITEM { command=EFileBrowserCmdEditCopyToFolder; txt="Copy to folder..."; }, |
|
294 MENU_ITEM { command=EFileBrowserCmdEditMoveToFolder; txt="Move to folder..."; }, |
|
295 MENU_ITEM { command=EFileBrowserCmdEditSelect; txt="Select"; }, |
|
296 MENU_ITEM { command=EFileBrowserCmdEditUnselect; txt="Unselect"; }, |
|
297 MENU_ITEM { command=EFileBrowserCmdEditSelectAll; txt="Select all"; }, |
|
298 MENU_ITEM { command=EFileBrowserCmdEditUnselectAll; txt="Unselect all"; } |
|
299 }; |
|
300 } |
|
301 |
|
302 RESOURCE MENU_PANE r_filebrowser_view_submenu |
|
303 { |
|
304 items = |
|
305 { |
|
306 MENU_ITEM { command=EFileBrowserCmdViewSort; txt="Sort"; cascade=r_filebrowser_view_sort_submenu; }, |
|
307 MENU_ITEM { command=EFileBrowserCmdViewOrder; txt="Order"; cascade=r_filebrowser_view_order_submenu; }, |
|
308 MENU_ITEM { command=EFileBrowserCmdViewFilterEntries; txt="Filter entries"; }, |
|
309 MENU_ITEM { command=EFileBrowserCmdViewRefresh; txt="Refresh"; } |
|
310 }; |
|
311 } |
|
312 |
|
313 RESOURCE MENU_PANE r_filebrowser_view_sort_submenu |
|
314 { |
|
315 items = |
|
316 { |
|
317 MENU_ITEM { command=EFileBrowserCmdViewSortByName; txt="By name"; flags = EEikMenuItemRadioStart | EEikMenuItemSymbolOn; }, |
|
318 MENU_ITEM { command=EFileBrowserCmdViewSortByExtension; txt="By extension"; flags = EEikMenuItemRadioMiddle; }, |
|
319 MENU_ITEM { command=EFileBrowserCmdViewSortByDate; txt="By date"; flags = EEikMenuItemRadioMiddle; }, |
|
320 MENU_ITEM { command=EFileBrowserCmdViewSortBySize; txt="By size"; flags = EEikMenuItemRadioEnd; } |
|
321 }; |
|
322 } |
|
323 |
|
324 RESOURCE MENU_PANE r_filebrowser_view_order_submenu |
|
325 { |
|
326 items = |
|
327 { |
|
328 MENU_ITEM { command=EFileBrowserCmdViewOrderAscending; txt="Ascending"; flags = EEikMenuItemRadioStart | EEikMenuItemSymbolOn; }, |
|
329 MENU_ITEM { command=EFileBrowserCmdViewOrderDescending; txt="Descending"; flags = EEikMenuItemRadioEnd; } |
|
330 }; |
|
331 } |
|
332 |
|
333 RESOURCE MENU_PANE r_filebrowser_diskadmin_submenu |
|
334 { |
|
335 items = |
|
336 { |
|
337 MENU_ITEM { command=EFileBrowserCmdDiskAdminSetDrivePassword; txt="Set drive password"; }, |
|
338 MENU_ITEM { command=EFileBrowserCmdDiskAdminUnlockDrive; txt="Unlock drive"; }, |
|
339 MENU_ITEM { command=EFileBrowserCmdDiskAdminClearDrivePassword; txt="Clear drive password"; }, |
|
340 MENU_ITEM { command=EFileBrowserCmdDiskAdminEraseDrivePassword; txt="Erase drive password"; }, |
|
341 MENU_ITEM { command=EFileBrowserCmdDiskAdminFormatDrive; txt="Format drive"; }, |
|
342 MENU_ITEM { command=EFileBrowserCmdDiskAdminQuickFormatDrive; txt="Quick format drive"; }, |
|
343 MENU_ITEM { command=EFileBrowserCmdDiskAdminCheckDisk; txt="Check disk"; }, |
|
344 MENU_ITEM { command=EFileBrowserCmdDiskAdminScanDrive; txt="Scan drive"; }, |
|
345 MENU_ITEM { command=EFileBrowserCmdDiskAdminSetDriveName; txt="Set drive name"; }, |
|
346 MENU_ITEM { command=EFileBrowserCmdDiskAdminSetDriveVolumeLabel; txt="Set drive volume label"; }, |
|
347 MENU_ITEM { command=EFileBrowserCmdDiskAdminEjectDrive; txt="Eject drive"; }, |
|
348 MENU_ITEM { command=EFileBrowserCmdDiskAdminDismountFileSystem; txt="Dismount drive"; }, |
|
349 MENU_ITEM { command=EFileBrowserCmdDiskAdminEraseMBR; txt="Erase MBR"; }, |
|
350 MENU_ITEM { command=EFileBrowserCmdDiskAdminDrivePartition; txt="Partition drive"; } |
|
351 }; |
|
352 } |
|
353 |
|
354 RESOURCE MENU_PANE r_filebrowser_tools_submenu |
|
355 { |
|
356 items = |
|
357 { |
|
358 MENU_ITEM { command=EFileBrowserCmdToolsInstalledApps; txt="All apps to a text file"; }, |
|
359 MENU_ITEM { command=EFileBrowserCmdToolsAllFiles; txt="All files to a text file"; }, |
|
360 MENU_ITEM { command=EFileBrowserCmdToolsAvkonIconCache; txt="Avkon icon cache"; cascade=r_filebrowser_tools_avkoniconcache_submenu; }, |
|
361 MENU_ITEM { command=EFileBrowserCmdToolsDisableExtErrors; txt="Disable extended errors"; }, |
|
362 MENU_ITEM { command=EFileBrowserCmdToolsMsgStoreWalk; txt="Dump msg. store walk"; }, |
|
363 MENU_ITEM { command=EFileBrowserCmdToolsEditDataTypes; txt="Edit data types"; }, |
|
364 MENU_ITEM { command=EFileBrowserCmdToolsEnableExtErrors; txt="Enable extended errors"; }, |
|
365 MENU_ITEM { command=EFileBrowserCmdToolsErrorSimulate; txt="Error simulate"; cascade=r_filebrowser_tools_errorsimulate_submenu; }, |
|
366 MENU_ITEM { command=EFileBrowserCmdToolsLocalConnectivity; txt="Local connectivity"; cascade=r_filebrowser_tools_localconnectivity_submenu; }, |
|
367 MENU_ITEM { command=EFileBrowserCmdToolsMsgAttachments; txt="Message attachments"; cascade=r_filebrowser_tools_msgattachments_submenu; }, |
|
368 MENU_ITEM { command=EFileBrowserCmdToolsMemoryInfo; txt="Memory info"; }, |
|
369 MENU_ITEM { command=EFileBrowserCmdToolsSecureBackup; txt="Secure backup"; cascade=r_filebrowser_tools_securebackup_submenu; }, |
|
370 MENU_ITEM { command=EFileBrowserCmdToolsSetDebugMask; txt="Set debug mask"; }, |
|
371 MENU_ITEM { command=EFileBrowserCmdToolsOpenFiles; txt="Show open files here"; } |
|
372 }; |
|
373 } |
|
374 |
|
375 RESOURCE MENU_PANE r_filebrowser_tools_avkoniconcache_submenu |
|
376 { |
|
377 items = |
|
378 { |
|
379 MENU_ITEM { command=EFileBrowserCmdToolsAvkonIconCacheEnable; txt="Enable"; }, |
|
380 MENU_ITEM { command=EFileBrowserCmdToolsAvkonIconCacheDisable; txt="Clear and disable"; } |
|
381 }; |
|
382 } |
|
383 |
|
384 RESOURCE MENU_PANE r_filebrowser_tools_errorsimulate_submenu |
|
385 { |
|
386 items = |
|
387 { |
|
388 MENU_ITEM { command=EFileBrowserCmdToolsErrorSimulateLeave; txt="Leave"; }, |
|
389 MENU_ITEM { command=EFileBrowserCmdToolsErrorSimulatePanic; txt="Panic"; }, |
|
390 MENU_ITEM { command=EFileBrowserCmdToolsErrorSimulateException; txt="Exception"; } |
|
391 }; |
|
392 } |
|
393 |
|
394 RESOURCE MENU_PANE r_filebrowser_tools_localconnectivity_submenu |
|
395 { |
|
396 items = |
|
397 { |
|
398 MENU_ITEM { command=EFileBrowserCmdToolsLocalConnectivityActivateInfrared; txt="Activate infrared"; }, |
|
399 MENU_ITEM { command=EFileBrowserCmdToolsLocalConnectivityLaunchBTUI; txt="Launch BT UI"; }, |
|
400 MENU_ITEM { command=EFileBrowserCmdToolsLocalConnectivityLaunchUSBUI; txt="Launch USB UI"; } |
|
401 }; |
|
402 } |
|
403 |
|
404 RESOURCE MENU_PANE r_filebrowser_tools_msgattachments_submenu |
|
405 { |
|
406 items = |
|
407 { |
|
408 MENU_ITEM { command=EFileBrowserCmdToolsMsgAttachmentsInbox; txt="Inbox"; }, |
|
409 MENU_ITEM { command=EFileBrowserCmdToolsMsgAttachmentsDrafts; txt="Drafts"; }, |
|
410 MENU_ITEM { command=EFileBrowserCmdToolsMsgAttachmentsSentItems; txt="Sent items"; }, |
|
411 MENU_ITEM { command=EFileBrowserCmdToolsMsgAttachmentsOutbox; txt="Outbox"; } |
|
412 }; |
|
413 } |
|
414 |
|
415 RESOURCE MENU_PANE r_filebrowser_tools_securebackup_submenu |
|
416 { |
|
417 items = |
|
418 { |
|
419 MENU_ITEM { command=EFileBrowserCmdToolsSecureBackupStartBackup; txt="Start backup"; }, |
|
420 MENU_ITEM { command=EFileBrowserCmdToolsSecureBackupStartRestore; txt="Start restore"; }, |
|
421 MENU_ITEM { command=EFileBrowserCmdToolsSecureBackupStop; txt="Stop"; } |
|
422 }; |
|
423 } |
|
424 |
|
425 //---------------------------------------------------- |
|
426 // |
|
427 // r_filebrowser_app_menu |
|
428 // |
|
429 //---------------------------------------------------- |
|
430 // |
|
431 RESOURCE MENU_PANE r_filebrowser_app_menu |
|
432 { |
|
433 items= |
|
434 { |
|
435 }; |
|
436 } |
|
437 |
|
438 //---------------------------------------------------- |
|
439 // |
|
440 // r_filebrowser_settings_dialog |
|
441 // Dialog for setting list |
|
442 // |
|
443 //---------------------------------------------------- |
|
444 // |
|
445 RESOURCE DIALOG r_filebrowser_settings_dialog |
|
446 { |
|
447 flags = |
|
448 EEikDialogFlagNoDrag | EEikDialogFlagFillAppClientRect | |
|
449 EEikDialogFlagButtonsRight | EEikDialogFlagCbaButtons | |
|
450 EEikDialogFlagWait | EEikDialogFlagNoTitleBar; |
|
451 buttons = R_AVKON_SOFTKEYS_OPTIONS_BACK; |
|
452 items = |
|
453 { |
|
454 DLG_LINE |
|
455 { |
|
456 type = EAknCtSettingListBox; |
|
457 id = EFileBrowserSettingItemList; |
|
458 itemflags = EEikDlgItemTakesEnterKey | EEikDlgItemOfferAllHotKeys; |
|
459 control = LISTBOX |
|
460 { |
|
461 flags = EAknListBoxSelectionList; |
|
462 }; |
|
463 } |
|
464 }; |
|
465 } |
|
466 |
|
467 //---------------------------------------------------- |
|
468 // r_filebrowser_settings_menubar |
|
469 //---------------------------------------------------- |
|
470 // |
|
471 RESOURCE MENU_BAR r_filebrowser_settings_menubar |
|
472 { |
|
473 titles = |
|
474 { |
|
475 MENU_TITLE |
|
476 { |
|
477 menu_pane = r_filebrowser_settings_menupane; |
|
478 txt = " "; // dummy |
|
479 } |
|
480 }; |
|
481 } |
|
482 |
|
483 RESOURCE MENU_PANE r_filebrowser_settings_menupane |
|
484 { |
|
485 items = |
|
486 { |
|
487 MENU_ITEM |
|
488 { |
|
489 command = EFileBrowserCmdSettingsChange; |
|
490 txt = "Change"; |
|
491 }, |
|
492 MENU_ITEM |
|
493 { |
|
494 command = EFileBrowserCmdSettingsExit; |
|
495 txt = "Exit"; |
|
496 } |
|
497 }; |
|
498 } |
|
499 |
|
500 //---------------------------------------------------- |
|
501 // r_filebrowser_fileviewer_dialog |
|
502 //---------------------------------------------------- |
|
503 // |
|
504 RESOURCE DIALOG r_filebrowser_fileviewer_dialog |
|
505 { |
|
506 flags = |
|
507 EEikDialogFlagNoDrag | EEikDialogFlagFillAppClientRect | |
|
508 EEikDialogFlagButtonsRight | EEikDialogFlagCbaButtons | |
|
509 EEikDialogFlagWait | EEikDialogFlagNoTitleBar; |
|
510 buttons = R_AVKON_SOFTKEYS_OPTIONS_BACK; |
|
511 items = |
|
512 { |
|
513 DLG_LINE |
|
514 { |
|
515 type = EFileViewerDialogControl; |
|
516 id = EFileEditorDialogId; |
|
517 } |
|
518 }; |
|
519 } |
|
520 |
|
521 //---------------------------------------------------- |
|
522 // r_filebrowser_fileeditor_dialog |
|
523 //---------------------------------------------------- |
|
524 // |
|
525 RESOURCE DIALOG r_filebrowser_fileeditor_dialog |
|
526 { |
|
527 flags = |
|
528 EEikDialogFlagNoDrag | EEikDialogFlagFillAppClientRect | |
|
529 EEikDialogFlagButtonsRight | EEikDialogFlagCbaButtons | |
|
530 EEikDialogFlagWait | EEikDialogFlagNoTitleBar; |
|
531 buttons = R_AVKON_SOFTKEYS_OPTIONS_BACK; |
|
532 } |
|
533 |
|
534 //---------------------------------------------------- |
|
535 // r_filebrowser_fileviewer_menubar |
|
536 //---------------------------------------------------- |
|
537 // |
|
538 RESOURCE MENU_BAR r_filebrowser_fileviewer_menubar |
|
539 { |
|
540 titles = |
|
541 { |
|
542 MENU_TITLE |
|
543 { |
|
544 menu_pane = r_filebrowser_fileviewer_menupane; |
|
545 txt = " "; // dummy |
|
546 } |
|
547 }; |
|
548 } |
|
549 |
|
550 RESOURCE MENU_PANE r_filebrowser_fileviewer_menupane |
|
551 { |
|
552 items = |
|
553 { |
|
554 MENU_ITEM { command = EFileBrowserCmdFileEditorViewAsText; txt = "View as text"; }, |
|
555 MENU_ITEM { command = EFileBrowserCmdFileEditorViewAsHex; txt = "View as hex"; }, |
|
556 MENU_ITEM { command = EFileBrowserCmdFileEditorExit; txt = "Exit"; } |
|
557 }; |
|
558 } |
|
559 |
|
560 //---------------------------------------------------- |
|
561 // r_filebrowser_fileeditor_menubar |
|
562 //---------------------------------------------------- |
|
563 // |
|
564 |
|
565 RESOURCE MENU_BAR r_filebrowser_fileeditor_menubar |
|
566 { |
|
567 titles = |
|
568 { |
|
569 MENU_TITLE |
|
570 { |
|
571 menu_pane = r_filebrowser_fileeditor_menupane; |
|
572 txt = " "; // dummy |
|
573 } |
|
574 }; |
|
575 } |
|
576 |
|
577 RESOURCE MENU_PANE r_filebrowser_fileeditor_menupane |
|
578 { |
|
579 items = |
|
580 { |
|
581 MENU_ITEM { command = EFileBrowserCmdFileEditorSave; txt = "Save"; }, |
|
582 MENU_ITEM { command = EFileBrowserCmdFileEditorSaveAs; txt = "Save as..."; }, |
|
583 MENU_ITEM { command = EFileBrowserCmdFileEditorSaveFormat; txt = "Save format"; cascade=r_filebrowser_fileeditor_saveformat_submenu; }, |
|
584 MENU_ITEM { command = EFileBrowserCmdFileEditorEditAsText; txt = "Edit as text"; }, |
|
585 MENU_ITEM { command = EFileBrowserCmdFileEditorEditAsHex; txt = "Edit as hex"; }, |
|
586 MENU_ITEM { command = EFileBrowserCmdFileEditorExit; txt = "Exit"; } |
|
587 }; |
|
588 } |
|
589 |
|
590 RESOURCE MENU_PANE r_filebrowser_fileeditor_saveformat_submenu |
|
591 { |
|
592 items = |
|
593 { |
|
594 MENU_ITEM { command=EFileBrowserCmdFileEditorSaveFormatANSIASCII; txt="ANSI/ASCII"; flags = EEikMenuItemRadioStart | EEikMenuItemSymbolOn; }, |
|
595 MENU_ITEM { command=EFileBrowserCmdFileEditorSaveFormatUTF8; txt="UTF-8"; flags = EEikMenuItemRadioMiddle; }, |
|
596 MENU_ITEM { command=EFileBrowserCmdFileEditorSaveFormatUTF16LE; txt="UTF-16 LE"; flags = EEikMenuItemRadioMiddle; }, |
|
597 MENU_ITEM { command=EFileBrowserCmdFileEditorSaveFormatUTF16BE; txt="UTF-16 BE"; flags = EEikMenuItemRadioEnd; } |
|
598 }; |
|
599 } |
|
600 |
|
601 //---------------------------------------------------- |
|
602 // |
|
603 // Setting item resources |
|
604 // |
|
605 //---------------------------------------------------- |
|
606 // |
|
607 RESOURCE POPUP_SETTING_LIST r_popup_setting_list_editor |
|
608 { |
|
609 } |
|
610 |
|
611 |
|
612 // |
|
613 // resources for display mode selection |
|
614 // |
|
615 RESOURCE TBUF r_displaymodeselection_setting_title |
|
616 { |
|
617 buf = "Display mode"; |
|
618 } |
|
619 RESOURCE AVKON_SETTING_PAGE r_displaymodeselection_setting_page |
|
620 { |
|
621 number = EAknSettingPageNoOrdinalDisplayed; |
|
622 type = EAknCtPopupSettingList; |
|
623 editor_resource_id = r_popup_setting_list_editor; |
|
624 } |
|
625 RESOURCE AVKON_POPUP_SETTING_TEXTS r_displaymodeselection_setting_texts |
|
626 { |
|
627 setting_texts_resource = r_displaymodeselection_text_array; |
|
628 } |
|
629 RESOURCE ARRAY r_displaymodeselection_text_array |
|
630 { |
|
631 items = |
|
632 { |
|
633 AVKON_ENUMERATED_TEXT { value=EDisplayModeFullScreen; text = "Full screen"; }, |
|
634 AVKON_ENUMERATED_TEXT { value=EDisplayModeNormal; text = "Normal"; } |
|
635 }; |
|
636 } |
|
637 |
|
638 |
|
639 // |
|
640 // resources for file view mode selection |
|
641 // |
|
642 RESOURCE TBUF r_fileviewmodeselection_setting_title |
|
643 { |
|
644 buf = "File view"; |
|
645 } |
|
646 RESOURCE AVKON_SETTING_PAGE r_fileviewmodeselection_setting_page |
|
647 { |
|
648 number = EAknSettingPageNoOrdinalDisplayed; |
|
649 type = EAknCtPopupSettingList; |
|
650 editor_resource_id = r_popup_setting_list_editor; |
|
651 } |
|
652 RESOURCE AVKON_POPUP_SETTING_TEXTS r_fileviewmodeselection_setting_texts |
|
653 { |
|
654 setting_texts_resource = r_fileviewmodeselection_text_array; |
|
655 } |
|
656 RESOURCE ARRAY r_fileviewmodeselection_text_array |
|
657 { |
|
658 items = |
|
659 { |
|
660 AVKON_ENUMERATED_TEXT { value=EFileViewModeSimple; text = "Simple"; }, |
|
661 AVKON_ENUMERATED_TEXT { value=EFileViewModeExtended; text = "Extended"; } |
|
662 }; |
|
663 } |
|
664 |
|
665 |
|
666 // |
|
667 // resources for binary selections |
|
668 // |
|
669 RESOURCE TBUF r_showsubdirectoryinfoselection_setting_title |
|
670 { |
|
671 buf = "Show subdirectory info"; |
|
672 } |
|
673 RESOURCE TBUF r_showassociatediconsselection_setting_title |
|
674 { |
|
675 buf = "Show associated icons"; |
|
676 } |
|
677 RESOURCE TBUF r_rememberlastpathselection_setting_title |
|
678 { |
|
679 buf = "Remember folder on exit"; |
|
680 } |
|
681 RESOURCE TBUF r_rememberfolderselection_setting_title |
|
682 { |
|
683 buf = "Remember last folder"; |
|
684 } |
|
685 RESOURCE TBUF r_enabletoolbar_setting_title |
|
686 { |
|
687 buf = "Show toolbar"; |
|
688 } |
|
689 RESOURCE TBUF r_supportnetworkdrivesselection_setting_title |
|
690 { |
|
691 buf = "Support net drives"; |
|
692 } |
|
693 RESOURCE TBUF r_bypassplatformsecurityselection_setting_title |
|
694 { |
|
695 buf = "Bypass plat. security"; |
|
696 } |
|
697 RESOURCE TBUF R_REMOVEFILELOCKSSELECTION_SETTING_TITLE |
|
698 { |
|
699 buf = "Unlock files via SB"; |
|
700 } |
|
701 RESOURCE TBUF R_IGNOREPROTECTIONATTSSELECTION_SETTING_TITLE |
|
702 { |
|
703 buf = "Ign. protection atts"; |
|
704 } |
|
705 RESOURCE TBUF R_REMOVEROMWRITEPROTECTIONSELECTION_SETTING_TITLE |
|
706 { |
|
707 buf = "No RO-att copy from Z:"; |
|
708 } |
|
709 RESOURCE AVKON_SETTING_PAGE r_binary_setting_page |
|
710 { |
|
711 number = EAknSettingPageNoOrdinalDisplayed; |
|
712 type = EAknCtPopupSettingList; |
|
713 editor_resource_id = r_popup_setting_list_editor; |
|
714 } |
|
715 RESOURCE AVKON_POPUP_SETTING_TEXTS r_yesno_binaryselection_texts |
|
716 { |
|
717 setting_texts_resource = r_yesno_binaryselection_text_array; |
|
718 } |
|
719 RESOURCE ARRAY r_yesno_binaryselection_text_array |
|
720 { |
|
721 items = |
|
722 { |
|
723 AVKON_ENUMERATED_TEXT { value=0; text = "No"; }, |
|
724 AVKON_ENUMERATED_TEXT { value=1; text = "Yes"; } |
|
725 }; |
|
726 } |
|
727 |
|
728 |
|
729 // --------------------------------------------------------- |
|
730 // |
|
731 // r_filebrowser_about_dialog |
|
732 // About dialog - show version and copyright info etc. |
|
733 // |
|
734 // --------------------------------------------------------- |
|
735 // |
|
736 RESOURCE DIALOG r_filebrowser_about_dialog |
|
737 { |
|
738 flags = EGeneralQueryFlags | EEikDialogFlagNoBorder | EEikDialogFlagNoShadow; |
|
739 buttons = R_AVKON_SOFTKEYS_OK_EMPTY; |
|
740 items= |
|
741 { |
|
742 DLG_LINE |
|
743 { |
|
744 type = EAknCtPopupHeadingPane; |
|
745 id = EAknMessageQueryHeaderId; |
|
746 control = AVKON_HEADING |
|
747 { |
|
748 label = "About FileBrowser"; |
|
749 headinglayout = R_AVKON_WML_SIGN_QUERY_HEADING_PANE; |
|
750 }; |
|
751 }, |
|
752 DLG_LINE |
|
753 { |
|
754 type = EAknCtMessageQuery; |
|
755 id = EAknMessageQueryContentId; |
|
756 control = AVKON_MESSAGE_QUERY |
|
757 { |
|
758 message = "Version 4.5.2 - 10th December 2009. Copyright © 2009 Nokia Corporation and/or its subsidiary(-ies). All rights reserved. Licensed under Eclipse Public License v1.0."; |
|
759 }; |
|
760 } |
|
761 }; |
|
762 } |
|
763 |
|
764 // --------------------------------------------------------- |
|
765 // |
|
766 // r_general_confirmation_query |
|
767 // |
|
768 // |
|
769 // --------------------------------------------------------- |
|
770 // |
|
771 |
|
772 RESOURCE DIALOG r_general_confirmation_query |
|
773 { |
|
774 flags = EGeneralQueryFlags; |
|
775 buttons = R_AVKON_SOFTKEYS_YES_NO; |
|
776 items = |
|
777 { |
|
778 DLG_LINE |
|
779 { |
|
780 type = EAknCtQuery; |
|
781 id = EGeneralQuery; |
|
782 control = AVKON_CONFIRMATION_QUERY |
|
783 { |
|
784 layout = EConfirmationQueryLayout; |
|
785 }; |
|
786 } |
|
787 }; |
|
788 } |
|
789 |
|
790 // --------------------------------------------------------- |
|
791 // |
|
792 // r_general_text_query |
|
793 // |
|
794 // |
|
795 // --------------------------------------------------------- |
|
796 // |
|
797 RESOURCE DIALOG r_general_text_query |
|
798 { |
|
799 flags = EGeneralQueryFlags; |
|
800 buttons = R_AVKON_SOFTKEYS_OK_CANCEL; |
|
801 items= |
|
802 { |
|
803 DLG_LINE |
|
804 { |
|
805 type = EAknCtQuery; |
|
806 id = EGeneralQuery; |
|
807 control = AVKON_DATA_QUERY |
|
808 { |
|
809 layout = EDataLayout; |
|
810 control = EDWIN |
|
811 { |
|
812 width = 256; |
|
813 lines = 3; |
|
814 maxlength = 256; |
|
815 }; |
|
816 }; |
|
817 } |
|
818 }; |
|
819 } |
|
820 |
|
821 // --------------------------------------------------------- |
|
822 // |
|
823 // r_general_numeric_query |
|
824 // |
|
825 // |
|
826 // --------------------------------------------------------- |
|
827 // |
|
828 RESOURCE DIALOG r_general_numeric_query |
|
829 { |
|
830 flags = EGeneralQueryFlags; |
|
831 buttons = R_AVKON_SOFTKEYS_OK_CANCEL; |
|
832 items = |
|
833 { |
|
834 DLG_LINE |
|
835 { |
|
836 type = EAknCtQuery; |
|
837 id = EGeneralQuery; |
|
838 control= AVKON_DATA_QUERY |
|
839 { |
|
840 layout = ENumberLayout; |
|
841 control = AVKON_INTEGER_EDWIN |
|
842 { |
|
843 min = -999999; |
|
844 max = 999999; |
|
845 }; |
|
846 }; |
|
847 } |
|
848 }; |
|
849 } |
|
850 |
|
851 // --------------------------------------------------------- |
|
852 // |
|
853 // r_general_progress_note |
|
854 // |
|
855 // |
|
856 // --------------------------------------------------------- |
|
857 // |
|
858 RESOURCE DIALOG r_general_progress_note |
|
859 { |
|
860 flags = EAknProgressNoteFlags; |
|
861 buttons = R_AVKON_SOFTKEYS_CANCEL; |
|
862 items= |
|
863 { |
|
864 DLG_LINE |
|
865 { |
|
866 type = EAknCtNote; |
|
867 id = EFileBrowserProgressNote; |
|
868 control = AVKON_NOTE |
|
869 { |
|
870 layout = EProgressLayout; |
|
871 singular_label = "Processing"; |
|
872 }; |
|
873 } |
|
874 }; |
|
875 } |
|
876 |
|
877 // --------------------------------------------------------- |
|
878 // |
|
879 // r_general_wait_note |
|
880 // |
|
881 // |
|
882 // --------------------------------------------------------- |
|
883 // |
|
884 RESOURCE DIALOG r_general_wait_note |
|
885 { |
|
886 flags = EAknWaitNoteFlags | EEikDialogFlagNotifyEsc; |
|
887 buttons = R_AVKON_SOFTKEYS_CANCEL; |
|
888 items = |
|
889 { |
|
890 DLG_LINE |
|
891 { |
|
892 type = EAknCtNote; |
|
893 id = EFileBrowserWaitNote; |
|
894 control= AVKON_NOTE |
|
895 { |
|
896 layout = EWaitLayout; |
|
897 animation = R_QGN_GRAF_WAIT_BAR_ANIM; |
|
898 }; |
|
899 } |
|
900 }; |
|
901 } |
|
902 |
|
903 // --------------------------------------------------------- |
|
904 // |
|
905 // r_entry_overwrite_type_query |
|
906 // |
|
907 // |
|
908 // --------------------------------------------------------- |
|
909 // |
|
910 RESOURCE DIALOG r_entry_overwrite_type_query |
|
911 { |
|
912 flags = EGeneralQueryFlags; |
|
913 buttons = R_AVKON_SOFTKEYS_OK_CANCEL; |
|
914 items = |
|
915 { |
|
916 AVKON_LIST_QUERY_DLG_LINE |
|
917 { |
|
918 control= AVKON_LIST_QUERY_CONTROL |
|
919 { |
|
920 listtype = EAknCtSinglePopupMenuListBox; |
|
921 listbox = AVKON_LIST_QUERY_LIST |
|
922 { |
|
923 array_id = r_entry_overwrite_type_query_array; |
|
924 }; |
|
925 heading = "Overwrite?"; |
|
926 }; |
|
927 } |
|
928 }; |
|
929 } |
|
930 |
|
931 RESOURCE ARRAY r_entry_overwrite_type_query_array |
|
932 { |
|
933 items = |
|
934 { |
|
935 LBUF {txt = "Overwrite all"; }, |
|
936 LBUF {txt = "Skip all existing"; }, |
|
937 LBUF {txt = "Gen. unique filenames"; }, |
|
938 LBUF {txt = "Query postfix"; } |
|
939 }; |
|
940 } |
|
941 |
|
942 // --------------------------------------------------------- |
|
943 // |
|
944 // r_app_selection_query |
|
945 // |
|
946 // |
|
947 // --------------------------------------------------------- |
|
948 // |
|
949 RESOURCE DIALOG r_app_selection_query |
|
950 { |
|
951 flags = EGeneralQueryFlags; |
|
952 buttons = R_AVKON_SOFTKEYS_OK_CANCEL; |
|
953 items = |
|
954 { |
|
955 AVKON_LIST_QUERY_DLG_LINE |
|
956 { |
|
957 control= AVKON_LIST_QUERY_CONTROL |
|
958 { |
|
959 listtype = EAknCtSinglePopupMenuListBox; |
|
960 listbox = AVKON_LIST_QUERY_LIST |
|
961 { |
|
962 }; |
|
963 heading = "Choose app:"; |
|
964 }; |
|
965 } |
|
966 }; |
|
967 } |
|
968 |
|
969 // --------------------------------------------------------- |
|
970 // |
|
971 // r_copy_to_folder_selection_query |
|
972 // |
|
973 // |
|
974 // --------------------------------------------------------- |
|
975 // |
|
976 RESOURCE DIALOG r_copy_to_folder_selection_query |
|
977 { |
|
978 flags = EGeneralQueryFlags; |
|
979 buttons = R_AVKON_SOFTKEYS_OK_CANCEL; |
|
980 items = |
|
981 { |
|
982 AVKON_LIST_QUERY_DLG_LINE |
|
983 { |
|
984 control= AVKON_LIST_QUERY_CONTROL |
|
985 { |
|
986 listtype = EAknCtSingleGraphicPopupMenuListBox; |
|
987 listbox = AVKON_LIST_QUERY_LIST |
|
988 { |
|
989 }; |
|
990 heading = "Copy To"; |
|
991 }; |
|
992 } |
|
993 }; |
|
994 } |
|
995 |
|
996 // --------------------------------------------------------- |
|
997 // |
|
998 // r_move_to_folder_selection_query |
|
999 // |
|
1000 // |
|
1001 // --------------------------------------------------------- |
|
1002 // |
|
1003 RESOURCE DIALOG r_move_to_folder_selection_query |
|
1004 { |
|
1005 flags = EGeneralQueryFlags; |
|
1006 buttons = R_AVKON_SOFTKEYS_OK_CANCEL; |
|
1007 items = |
|
1008 { |
|
1009 AVKON_LIST_QUERY_DLG_LINE |
|
1010 { |
|
1011 control= AVKON_LIST_QUERY_CONTROL |
|
1012 { |
|
1013 listtype = EAknCtSingleGraphicPopupMenuListBox; |
|
1014 listbox = AVKON_LIST_QUERY_LIST |
|
1015 { |
|
1016 }; |
|
1017 heading = "Move To"; |
|
1018 }; |
|
1019 } |
|
1020 }; |
|
1021 } |
|
1022 |
|
1023 // --------------------------------------------------------- |
|
1024 // r_memoryinfo_dialog |
|
1025 // --------------------------------------------------------- |
|
1026 // |
|
1027 RESOURCE DIALOG r_memoryinfo_dialog |
|
1028 { |
|
1029 flags = EGeneralQueryFlags | EEikDialogFlagNoBorder | EEikDialogFlagNoShadow; |
|
1030 buttons = R_AVKON_SOFTKEYS_OK_EMPTY; |
|
1031 items= |
|
1032 { |
|
1033 DLG_LINE |
|
1034 { |
|
1035 type = EAknCtPopupHeadingPane; |
|
1036 id = EAknMessageQueryHeaderId; |
|
1037 control = AVKON_HEADING |
|
1038 { |
|
1039 label = "Memory info"; |
|
1040 headinglayout = R_AVKON_WML_SIGN_QUERY_HEADING_PANE; |
|
1041 }; |
|
1042 }, |
|
1043 DLG_LINE |
|
1044 { |
|
1045 type = EAknCtMessageQuery; |
|
1046 id = EAknMessageQueryContentId; |
|
1047 control = AVKON_MESSAGE_QUERY |
|
1048 { |
|
1049 message = "."; |
|
1050 }; |
|
1051 } |
|
1052 }; |
|
1053 } |
|
1054 |
|
1055 // --------------------------------------------------------- |
|
1056 // r_checksums_dialog |
|
1057 // --------------------------------------------------------- |
|
1058 // |
|
1059 RESOURCE DIALOG r_checksums_dialog |
|
1060 { |
|
1061 flags = EGeneralQueryFlags | EEikDialogFlagNoBorder | EEikDialogFlagNoShadow; |
|
1062 buttons = R_AVKON_SOFTKEYS_OK_EMPTY; |
|
1063 items= |
|
1064 { |
|
1065 DLG_LINE |
|
1066 { |
|
1067 type = EAknCtPopupHeadingPane; |
|
1068 id = EAknMessageQueryHeaderId; |
|
1069 control = AVKON_HEADING |
|
1070 { |
|
1071 label = "Checksums"; |
|
1072 headinglayout = R_AVKON_WML_SIGN_QUERY_HEADING_PANE; |
|
1073 }; |
|
1074 }, |
|
1075 DLG_LINE |
|
1076 { |
|
1077 type = EAknCtMessageQuery; |
|
1078 id = EAknMessageQueryContentId; |
|
1079 control = AVKON_MESSAGE_QUERY |
|
1080 { |
|
1081 message = "."; |
|
1082 }; |
|
1083 } |
|
1084 }; |
|
1085 } |
|
1086 |
|
1087 // --------------------------------------------------------- |
|
1088 // r_attribute_editor_form_dialog |
|
1089 // --------------------------------------------------------- |
|
1090 // |
|
1091 RESOURCE DIALOG r_attribute_editor_form_dialog |
|
1092 { |
|
1093 flags = EAknDialogGenericFullScreen; |
|
1094 buttons = R_AVKON_SOFTKEYS_OK_CANCEL; |
|
1095 form = r_attribute_editor_form; |
|
1096 } |
|
1097 |
|
1098 RESOURCE FORM r_attribute_editor_form |
|
1099 { |
|
1100 flags = EEikFormEditModeOnly; |
|
1101 items = |
|
1102 { |
|
1103 DLG_LINE |
|
1104 { |
|
1105 type = EAknCtPopupFieldText; |
|
1106 prompt = "Archive"; |
|
1107 id = EFileBrowserAttributeEditorSetArchive; |
|
1108 itemflags = EEikDlgItemTakesEnterKey | EEikDlgItemOfferAllHotKeys; |
|
1109 control = POPUP_FIELD_TEXT |
|
1110 { |
|
1111 popupfield = POPUP_FIELD |
|
1112 { |
|
1113 width = 100; |
|
1114 }; |
|
1115 textarray = r_attribute_editor_attmode_textarray; |
|
1116 active = 0; |
|
1117 }; |
|
1118 }, |
|
1119 DLG_LINE |
|
1120 { |
|
1121 type = EAknCtPopupFieldText; |
|
1122 prompt = "Hidden"; |
|
1123 id = EFileBrowserAttributeEditorSetHidden; |
|
1124 itemflags = EEikDlgItemTakesEnterKey | EEikDlgItemOfferAllHotKeys; |
|
1125 control = POPUP_FIELD_TEXT |
|
1126 { |
|
1127 popupfield = POPUP_FIELD |
|
1128 { |
|
1129 width = 100; |
|
1130 }; |
|
1131 textarray = r_attribute_editor_attmode_textarray; |
|
1132 active = 0; |
|
1133 }; |
|
1134 }, |
|
1135 DLG_LINE |
|
1136 { |
|
1137 type = EAknCtPopupFieldText; |
|
1138 prompt = "Read only"; |
|
1139 id = EFileBrowserAttributeEditorSetReadOnly; |
|
1140 itemflags = EEikDlgItemTakesEnterKey | EEikDlgItemOfferAllHotKeys; |
|
1141 control = POPUP_FIELD_TEXT |
|
1142 { |
|
1143 popupfield = POPUP_FIELD |
|
1144 { |
|
1145 width = 100; |
|
1146 }; |
|
1147 textarray = r_attribute_editor_attmode_textarray; |
|
1148 active = 0; |
|
1149 }; |
|
1150 }, |
|
1151 DLG_LINE |
|
1152 { |
|
1153 type = EAknCtPopupFieldText; |
|
1154 prompt = "System"; |
|
1155 id = EFileBrowserAttributeEditorSetSystem; |
|
1156 itemflags = EEikDlgItemTakesEnterKey | EEikDlgItemOfferAllHotKeys; |
|
1157 control = POPUP_FIELD_TEXT |
|
1158 { |
|
1159 popupfield = POPUP_FIELD |
|
1160 { |
|
1161 width = 100; |
|
1162 }; |
|
1163 textarray = r_attribute_editor_attmode_textarray; |
|
1164 active = 0; |
|
1165 }; |
|
1166 }, |
|
1167 DLG_LINE |
|
1168 { |
|
1169 type = EAknCtPopupFieldText; |
|
1170 prompt = "Recurse"; |
|
1171 id = EFileBrowserAttributeEditorSetRecurse; |
|
1172 itemflags = EEikDlgItemTakesEnterKey | EEikDlgItemOfferAllHotKeys; |
|
1173 control = POPUP_FIELD_TEXT |
|
1174 { |
|
1175 popupfield = POPUP_FIELD |
|
1176 { |
|
1177 width = 100; |
|
1178 }; |
|
1179 textarray = r_attribute_editor_recurse_textarray; |
|
1180 active = 0; |
|
1181 }; |
|
1182 } |
|
1183 }; |
|
1184 } |
|
1185 |
|
1186 RESOURCE ARRAY r_attribute_editor_attmode_textarray |
|
1187 { |
|
1188 items = |
|
1189 { |
|
1190 LBUF { txt = "Skip"; }, |
|
1191 LBUF { txt = "On"; }, |
|
1192 LBUF { txt = "Off"; } |
|
1193 }; |
|
1194 } |
|
1195 |
|
1196 RESOURCE ARRAY r_attribute_editor_recurse_textarray |
|
1197 { |
|
1198 items = |
|
1199 { |
|
1200 LBUF { txt = "Recursive"; }, |
|
1201 LBUF { txt = "Non-recursive"; } |
|
1202 }; |
|
1203 } |
|
1204 |
|
1205 // --------------------------------------------------------- |
|
1206 // r_search_query_form_dialog |
|
1207 // --------------------------------------------------------- |
|
1208 // |
|
1209 RESOURCE DIALOG r_search_query_form_dialog |
|
1210 { |
|
1211 flags = EAknDialogGenericFullScreen; |
|
1212 buttons = R_AVKON_SOFTKEYS_OK_CANCEL; |
|
1213 form = r_search_query_form; |
|
1214 } |
|
1215 |
|
1216 RESOURCE FORM r_search_query_form |
|
1217 { |
|
1218 flags = EEikFormEditModeOnly; |
|
1219 items = |
|
1220 { |
|
1221 DLG_LINE |
|
1222 { |
|
1223 type = EEikCtEdwin; |
|
1224 prompt = "Search dir"; |
|
1225 id = EFileBrowserSearchQuerySearchDir; |
|
1226 itemflags = EEikDlgItemTakesEnterKey | EEikDlgItemOfferAllHotKeys; |
|
1227 control = EDWIN |
|
1228 { |
|
1229 width = 255; |
|
1230 maxlength = 255; |
|
1231 }; |
|
1232 }, |
|
1233 DLG_LINE |
|
1234 { |
|
1235 type = EEikCtEdwin; |
|
1236 prompt = "Wildcards"; |
|
1237 id = EFileBrowserSearchQueryWildCards; |
|
1238 itemflags = EEikDlgItemTakesEnterKey | EEikDlgItemOfferAllHotKeys; |
|
1239 control = EDWIN |
|
1240 { |
|
1241 width = 255; |
|
1242 maxlength = 255; |
|
1243 }; |
|
1244 }, |
|
1245 DLG_LINE |
|
1246 { |
|
1247 type = EEikCtEdwin; |
|
1248 prompt = "Has string"; |
|
1249 id = EFileBrowserSearchQueryTextInFile; |
|
1250 itemflags = EEikDlgItemTakesEnterKey | EEikDlgItemOfferAllHotKeys; |
|
1251 control = EDWIN |
|
1252 { |
|
1253 width = 255; |
|
1254 maxlength = 255; |
|
1255 }; |
|
1256 }, |
|
1257 DLG_LINE |
|
1258 { |
|
1259 type = EAknCtPopupFieldText; |
|
1260 prompt = "Recurse"; |
|
1261 id = EFileBrowserSearchQueryRecurse; |
|
1262 itemflags = EEikDlgItemTakesEnterKey | EEikDlgItemOfferAllHotKeys; |
|
1263 control = POPUP_FIELD_TEXT |
|
1264 { |
|
1265 popupfield = POPUP_FIELD |
|
1266 { |
|
1267 width = 100; |
|
1268 }; |
|
1269 textarray = r_search_query_recurse_textarray; |
|
1270 active = 0; |
|
1271 }; |
|
1272 }, |
|
1273 DLG_LINE |
|
1274 { |
|
1275 type = EEikCtNumberEditor; |
|
1276 prompt = "Min size"; |
|
1277 id = EFileBrowserSearchQueryMinSize; |
|
1278 itemflags = EEikDlgItemTakesEnterKey | EEikDlgItemOfferAllHotKeys; |
|
1279 control = NUMBER_EDITOR |
|
1280 { |
|
1281 min = 0; |
|
1282 max = 999999999; |
|
1283 }; |
|
1284 }, |
|
1285 DLG_LINE |
|
1286 { |
|
1287 type = EEikCtNumberEditor; |
|
1288 prompt = "Max size"; |
|
1289 id = EFileBrowserSearchQueryMaxSize; |
|
1290 itemflags = EEikDlgItemTakesEnterKey | EEikDlgItemOfferAllHotKeys; |
|
1291 control = NUMBER_EDITOR |
|
1292 { |
|
1293 min = 0; |
|
1294 max = 999999999; |
|
1295 }; |
|
1296 }, |
|
1297 DLG_LINE |
|
1298 { |
|
1299 type = EEikCtDateEditor; |
|
1300 prompt = "Min date"; |
|
1301 id = EFileBrowserSearchQueryMinDate; |
|
1302 itemflags = EEikDlgItemTakesEnterKey | EEikDlgItemOfferAllHotKeys; |
|
1303 control = DATE_EDITOR |
|
1304 { |
|
1305 minDate = DATE { day = 0; month = 0; year = 1980; }; |
|
1306 maxDate = DATE { day = 30; month = 11; year = 2060; }; |
|
1307 }; |
|
1308 }, |
|
1309 DLG_LINE |
|
1310 { |
|
1311 type = EEikCtDateEditor; |
|
1312 prompt = "Max date"; |
|
1313 id = EFileBrowserSearchQueryMaxDate; |
|
1314 itemflags = EEikDlgItemTakesEnterKey | EEikDlgItemOfferAllHotKeys; |
|
1315 control = DATE_EDITOR |
|
1316 { |
|
1317 minDate = DATE { day = 0; month = 0; year = 1980; }; |
|
1318 maxDate = DATE { day = 30; month = 11; year = 2060; }; |
|
1319 }; |
|
1320 } |
|
1321 }; |
|
1322 } |
|
1323 |
|
1324 RESOURCE ARRAY r_search_query_recurse_textarray |
|
1325 { |
|
1326 items = |
|
1327 { |
|
1328 LBUF { txt = "Non-recursive"; }, |
|
1329 LBUF { txt = "Recursive"; } |
|
1330 }; |
|
1331 } |
|
1332 |
|
1333 // --------------------------------------------------------- |
|
1334 // r_data_types_dialog |
|
1335 // --------------------------------------------------------- |
|
1336 // |
|
1337 RESOURCE DIALOG r_data_types_dialog |
|
1338 { |
|
1339 flags = |
|
1340 EEikDialogFlagNoDrag | EEikDialogFlagFillAppClientRect | |
|
1341 EEikDialogFlagButtonsRight | EEikDialogFlagCbaButtons | |
|
1342 EEikDialogFlagWait | EEikDialogFlagNoTitleBar; |
|
1343 buttons = R_AVKON_SOFTKEYS_OPTIONS_BACK; |
|
1344 items = |
|
1345 { |
|
1346 DLG_LINE |
|
1347 { |
|
1348 type = EAknCtSingleGraphicListBox; |
|
1349 id = EFileBrowserDataTypesList; |
|
1350 itemflags = EEikDlgItemTakesEnterKey | EEikDlgItemOfferAllHotKeys; |
|
1351 control = LISTBOX |
|
1352 { |
|
1353 flags = EAknListBoxSelectionList; |
|
1354 }; |
|
1355 } |
|
1356 }; |
|
1357 } |
|
1358 |
|
1359 //---------------------------------------------------- |
|
1360 // r_filebrowser_data_types_menubar |
|
1361 //---------------------------------------------------- |
|
1362 // |
|
1363 |
|
1364 RESOURCE MENU_BAR r_filebrowser_data_types_menubar |
|
1365 { |
|
1366 titles = |
|
1367 { |
|
1368 MENU_TITLE |
|
1369 { |
|
1370 menu_pane = r_filebrowser_data_types_menupane; |
|
1371 txt = " "; // dummy |
|
1372 } |
|
1373 }; |
|
1374 } |
|
1375 |
|
1376 RESOURCE MENU_PANE r_filebrowser_data_types_menupane |
|
1377 { |
|
1378 items = |
|
1379 { |
|
1380 MENU_ITEM |
|
1381 { |
|
1382 command = EFileBrowserCmdDataTypesChangeMapping; |
|
1383 txt = "Change mapping"; |
|
1384 }, |
|
1385 MENU_ITEM |
|
1386 { |
|
1387 command = EFileBrowserCmdDataTypesSetDefaultMapping; |
|
1388 txt = "Set to default mapping"; |
|
1389 }, |
|
1390 MENU_ITEM |
|
1391 { |
|
1392 command = EFileBrowserCmdDataTypesRefresh; |
|
1393 txt = "Refresh"; |
|
1394 }, |
|
1395 MENU_ITEM |
|
1396 { |
|
1397 command = EFileBrowserCmdDataTypesExit; |
|
1398 txt = "Exit"; |
|
1399 } |
|
1400 }; |
|
1401 } |
|
1402 |
|
1403 // --------------------------------------------------------- |
|
1404 // r_data_type_priority_query |
|
1405 // --------------------------------------------------------- |
|
1406 // |
|
1407 RESOURCE DIALOG r_data_type_priority_query |
|
1408 { |
|
1409 flags = EGeneralQueryFlags; |
|
1410 buttons = R_AVKON_SOFTKEYS_OK_CANCEL; |
|
1411 items = |
|
1412 { |
|
1413 AVKON_LIST_QUERY_DLG_LINE |
|
1414 { |
|
1415 control= AVKON_LIST_QUERY_CONTROL |
|
1416 { |
|
1417 listtype = EAknCtSinglePopupMenuListBox; |
|
1418 listbox = AVKON_LIST_QUERY_LIST |
|
1419 { |
|
1420 array_id = r_data_type_priority_query_array; |
|
1421 }; |
|
1422 heading = "Select priority"; |
|
1423 }; |
|
1424 } |
|
1425 }; |
|
1426 } |
|
1427 |
|
1428 RESOURCE ARRAY r_data_type_priority_query_array |
|
1429 { |
|
1430 items = |
|
1431 { |
|
1432 LBUF {txt = "Maximum"; }, |
|
1433 LBUF {txt = "High"; }, |
|
1434 LBUF {txt = "Normal"; }, |
|
1435 LBUF {txt = "Low"; }, |
|
1436 LBUF {txt = "Last resort"; } |
|
1437 }; |
|
1438 } |
|
1439 |
|
1440 // --------------------------------------------------------- |
|
1441 // r_securebackup_state_query |
|
1442 // --------------------------------------------------------- |
|
1443 // |
|
1444 RESOURCE DIALOG r_securebackup_state_query |
|
1445 { |
|
1446 flags = EGeneralQueryFlags; |
|
1447 buttons = R_AVKON_SOFTKEYS_OK_CANCEL; |
|
1448 items = |
|
1449 { |
|
1450 AVKON_LIST_QUERY_DLG_LINE |
|
1451 { |
|
1452 control= AVKON_LIST_QUERY_CONTROL |
|
1453 { |
|
1454 listtype = EAknCtSinglePopupMenuListBox; |
|
1455 listbox = AVKON_LIST_QUERY_LIST |
|
1456 { |
|
1457 array_id = r_securebackup_state_query_array; |
|
1458 }; |
|
1459 heading = "Select state"; |
|
1460 }; |
|
1461 } |
|
1462 }; |
|
1463 } |
|
1464 |
|
1465 RESOURCE ARRAY r_securebackup_state_query_array |
|
1466 { |
|
1467 items = |
|
1468 { |
|
1469 LBUF {txt = "Full"; }, |
|
1470 LBUF {txt = "Partial"; } |
|
1471 }; |
|
1472 } |
|
1473 |
|
1474 // --------------------------------------------------------- |
|
1475 // r_securebackup_type_query |
|
1476 // --------------------------------------------------------- |
|
1477 // |
|
1478 RESOURCE DIALOG r_securebackup_type_query |
|
1479 { |
|
1480 flags = EGeneralQueryFlags; |
|
1481 buttons = R_AVKON_SOFTKEYS_OK_CANCEL; |
|
1482 items = |
|
1483 { |
|
1484 AVKON_LIST_QUERY_DLG_LINE |
|
1485 { |
|
1486 control= AVKON_LIST_QUERY_CONTROL |
|
1487 { |
|
1488 listtype = EAknCtSinglePopupMenuListBox; |
|
1489 listbox = AVKON_LIST_QUERY_LIST |
|
1490 { |
|
1491 array_id = r_securebackup_type_query_array; |
|
1492 }; |
|
1493 heading = "Select type"; |
|
1494 }; |
|
1495 } |
|
1496 }; |
|
1497 } |
|
1498 |
|
1499 RESOURCE ARRAY r_securebackup_type_query_array |
|
1500 { |
|
1501 items = |
|
1502 { |
|
1503 LBUF {txt = "Base (all data)"; }, |
|
1504 LBUF {txt = "Increment"; } |
|
1505 }; |
|
1506 } |
|
1507 |
|
1508 // --------------------------------------------------------- |
|
1509 // r_partition_amount_query |
|
1510 // --------------------------------------------------------- |
|
1511 // |
|
1512 RESOURCE DIALOG r_partition_amount_query |
|
1513 { |
|
1514 flags = EGeneralQueryFlags; |
|
1515 buttons = R_AVKON_SOFTKEYS_OK_CANCEL; |
|
1516 items = |
|
1517 { |
|
1518 AVKON_LIST_QUERY_DLG_LINE |
|
1519 { |
|
1520 control= AVKON_LIST_QUERY_CONTROL |
|
1521 { |
|
1522 listtype = EAknCtSinglePopupMenuListBox; |
|
1523 listbox = AVKON_LIST_QUERY_LIST |
|
1524 { |
|
1525 array_id = r_partition_amount_query_array; |
|
1526 }; |
|
1527 heading = "Partitions?"; |
|
1528 }; |
|
1529 } |
|
1530 }; |
|
1531 } |
|
1532 |
|
1533 RESOURCE ARRAY r_partition_amount_query_array |
|
1534 { |
|
1535 items = |
|
1536 { |
|
1537 LBUF {txt = "1"; }, |
|
1538 LBUF {txt = "2"; }, |
|
1539 LBUF {txt = "3"; }, |
|
1540 LBUF {txt = "4"; } |
|
1541 }; |
|
1542 } |
|
1543 |
|
1544 // --------------------------------------------------------- |
|
1545 // r_common_file_action_query |
|
1546 // --------------------------------------------------------- |
|
1547 // |
|
1548 RESOURCE DIALOG r_common_file_action_query |
|
1549 { |
|
1550 flags = EGeneralQueryFlags; |
|
1551 buttons = R_AVKON_SOFTKEYS_OK_CANCEL; |
|
1552 items = |
|
1553 { |
|
1554 AVKON_LIST_QUERY_DLG_LINE |
|
1555 { |
|
1556 control= AVKON_LIST_QUERY_CONTROL |
|
1557 { |
|
1558 listtype = EAknCtSinglePopupMenuListBox; |
|
1559 listbox = AVKON_LIST_QUERY_LIST |
|
1560 { |
|
1561 array_id = r_common_file_action_query_array; |
|
1562 }; |
|
1563 heading = ""; |
|
1564 }; |
|
1565 } |
|
1566 }; |
|
1567 } |
|
1568 |
|
1569 RESOURCE ARRAY r_common_file_action_query_array |
|
1570 { |
|
1571 items = |
|
1572 { |
|
1573 LBUF {txt = "View as text/hex"; }, |
|
1574 LBUF {txt = "Open w/ AppArc"; }, |
|
1575 LBUF {txt = "Open w/ DocH. embed"; } |
|
1576 }; |
|
1577 } |
|
1578 |
|
1579 // --------------------------------------------------------- |
|
1580 // |
|
1581 // RESOURCE LOCALISABLE_APP_INFO r_filebrowser_localisable_app_info |
|
1582 // |
|
1583 // --------------------------------------------------------- |
|
1584 // |
|
1585 RESOURCE LOCALISABLE_APP_INFO r_filebrowser_localisable_app_info |
|
1586 { |
|
1587 short_caption = "FileBrowser"; |
|
1588 caption_and_icon = |
|
1589 CAPTION_AND_ICON_INFO |
|
1590 { |
|
1591 caption = "FileBrowser"; |
|
1592 |
|
1593 number_of_icons = 1; |
|
1594 |
|
1595 // Note for ROM-based apps it is recommended to add the drive letter |
|
1596 // icon_file = "z:"APP_BITMAP_DIR"\\myapp_aif.mif"; |
|
1597 icon_file = APP_BITMAP_DIR"\\filebrowser_aif.mif"; |
|
1598 }; |
|
1599 } |