emailuis/emailui/data/FreestyleEmailUiGlobalSettings.rssi
branchRCL_3
changeset 25 3533d4323edc
equal deleted inserted replaced
24:d189ee25cf9d 25:3533d4323edc
       
     1 /*
       
     2 * Copyright (c) 2005-2007 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:  Freestyle Email global settings view resources
       
    15 *
       
    16 */
       
    17 
       
    18 #include "FreestyleEmailUiGlobalSettings.hrh"
       
    19 #include "FreestyleEmailUi.hrh"
       
    20 #include <freestyleemailui.loc>
       
    21 
       
    22 RESOURCE AVKON_VIEW r_global_settings_list_view
       
    23 	{
       
    24 	cba = r_freestyle_emauil_ui_sk_options_back__change;
       
    25 	menubar = r_global_settings_options_menu;
       
    26 	}
       
    27 
       
    28 RESOURCE MENU_BAR r_global_settings_options_menu
       
    29 	{
       
    30 	titles =
       
    31 		{
       
    32 		MENU_TITLE
       
    33 			{
       
    34 			menu_pane = r_global_settings_menu_pane;
       
    35 			}
       
    36 		};
       
    37 	}
       
    38 
       
    39 RESOURCE MENU_PANE r_global_settings_menu_pane
       
    40 	{
       
    41 	items =
       
    42 		{
       
    43 		MENU_ITEM
       
    44 			{
       
    45 			command = EFsEmailUiCmdChange;
       
    46 			txt = qtn_options_change;
       
    47 			},
       
    48 		MENU_ITEM
       
    49 			{
       
    50 			command = EFsEmailUiCmdOpen;
       
    51 			txt = qtn_options_open;
       
    52 			},
       
    53 		MENU_ITEM
       
    54 			{
       
    55 			command = EFsEmailUiCmdHelp;
       
    56 			txt = qtn_options_help;
       
    57 			},
       
    58 		MENU_ITEM
       
    59 			{
       
    60 			command = EFsEmailUiCmdExit;
       
    61 			txt = qtn_options_exit;
       
    62 			}
       
    63 		};
       
    64 	}
       
    65 
       
    66 // TITLE
       
    67 RESOURCE STATUS_PANE_APP_MODEL r_global_settings_status_pane
       
    68 	{
       
    69 	panes =
       
    70 		{
       
    71 		SPANE_PANE
       
    72 			{
       
    73 			id = EEikStatusPaneUidTitle;
       
    74 			type = EAknCtTitlePane;
       
    75 			resource = r_global_settings_title_resource;
       
    76 			}
       
    77 		};
       
    78 	}
       
    79 
       
    80 RESOURCE TITLE_PANE r_global_settings_title_resource
       
    81 	{
       
    82 	txt = qtn_fse_settings_global_title;
       
    83 	}
       
    84 
       
    85 
       
    86 /**
       
    87  * ----------------------------------------------------------------
       
    88  * SETTINGS ITEMS
       
    89  * 
       
    90  */
       
    91 RESOURCE AVKON_SETTING_ITEM_LIST r_global_settings_item_list
       
    92 	{
       
    93 	flags = EAknSettingPageNoOrdinalDisplayed;
       
    94 	items =
       
    95 		{
       
    96 		AVKON_SETTING_ITEM
       
    97 			{
       
    98 			name = qtn_fse_settings_message_header;
       
    99 			identifier = EGlobalSettingsMessageHeader;
       
   100 			setting_page_resource = r_global_settings_message_header_setting_page_resource;
       
   101 			associated_resource = r_global_settings_message_header;
       
   102 			},
       
   103 		AVKON_SETTING_ITEM
       
   104 			{
       
   105 			name = qtn_fse_settings_title_dividers;
       
   106 			identifier = EGlobalSettingsTitleDividers;
       
   107 			setting_page_resource = r_global_settings_title_dividers_setting_page_resource;
       
   108 			associated_resource = r_global_settings_title_dividers;
       
   109 			},
       
   110         AVKON_SETTING_ITEM
       
   111             {
       
   112             name = qtn_mail_setting_download_images;
       
   113             identifier = EGlobalSettingsDownloadHTMLImages;
       
   114             setting_page_resource = r_global_settings_download_html_images_setting_page_resource;
       
   115             associated_resource = r_global_settings_download_html_images;
       
   116             },
       
   117 		AVKON_SETTING_ITEM
       
   118 			{
       
   119 			name = qtn_fse_settings_download_notifications;
       
   120 			identifier = EGlobalSettingsDownloadNotifications;
       
   121 			setting_page_resource = r_global_settings_download_notifications_setting_page_resource;
       
   122 			associated_resource = r_global_settings_download_notifications;
       
   123 			},
       
   124 		AVKON_SETTING_ITEM
       
   125 			{
       
   126 			name = qtn_fse_settings_warn_before_delete;
       
   127 			identifier = EGlobalSettingsWarnBeforeDelete;
       
   128 			setting_page_resource = r_global_settings_warn_before_delete_resource;
       
   129 			associated_resource = r_global_settings_warn_before_delete;
       
   130 			},
       
   131 		AVKON_SETTING_ITEM
       
   132 			{
       
   133 			name = qtn_fse_settings_active_idle;
       
   134 			identifier = EGlobalSettingsActiveIdle;
       
   135 			}
       
   136 		};
       
   137 	}
       
   138 
       
   139 
       
   140 /**
       
   141  * ----------------------------------------------------------------
       
   142  * WARN BEFORE DELETE SETTING ITEM
       
   143  * 
       
   144  */
       
   145 RESOURCE AVKON_SETTING_PAGE r_global_settings_warn_before_delete_resource
       
   146 	{
       
   147 	number = -16380;
       
   148 	label = qtn_fse_settings_warn_before_delete;
       
   149 	type = EAknCtPopupSettingList;
       
   150 	editor_resource_id = r_global_settings_warn_before_delete_editor_resource_id;
       
   151 	}
       
   152 
       
   153 RESOURCE POPUP_SETTING_LIST r_global_settings_warn_before_delete_editor_resource_id
       
   154 	{
       
   155 	}
       
   156 
       
   157 RESOURCE AVKON_POPUP_SETTING_TEXTS r_global_settings_warn_before_delete
       
   158 	{
       
   159 	setting_texts_resource = r_global_settings_warn_before_delete_setting_texts_resource;
       
   160 	popped_up_texts_resource = r_global_settings_warn_before_delete_popped_up_texts_resource;
       
   161 	}
       
   162 
       
   163 RESOURCE ARRAY r_global_settings_warn_before_delete_setting_texts_resource
       
   164 	{
       
   165 	items =
       
   166 		{
       
   167 		AVKON_ENUMERATED_TEXT
       
   168 			{
       
   169 			text = qtn_fse_settings_list_warn_before_delete_yes;
       
   170 			value = 1;
       
   171 			},
       
   172 		AVKON_ENUMERATED_TEXT
       
   173 			{
       
   174 			text = qtn_fse_settings_list_warn_before_delete_no;
       
   175 			value = 0;
       
   176 			}
       
   177 		};
       
   178 	}
       
   179 
       
   180 RESOURCE ARRAY r_global_settings_warn_before_delete_popped_up_texts_resource
       
   181 	{
       
   182 	items =
       
   183 		{
       
   184 		LBUF
       
   185 			{
       
   186 			txt = qtn_fse_settings_list_warn_before_delete_yes;
       
   187 			},
       
   188 		LBUF
       
   189 			{
       
   190 			txt = qtn_fse_settings_list_warn_before_delete_no;
       
   191 			}
       
   192 		};
       
   193 	}
       
   194 
       
   195 /**
       
   196  * ----------------------------------------------------------------
       
   197  * MESSAGE HEADER SETTING ITEM
       
   198  * 
       
   199  */
       
   200 RESOURCE AVKON_SETTING_PAGE r_global_settings_message_header_setting_page_resource
       
   201 	{
       
   202 	number = -16380;
       
   203 	label = qtn_fse_settings_message_header;
       
   204 	type = EAknCtPopupSettingList;
       
   205 	editor_resource_id = r_global_settings_message_header_editor_resource_id;
       
   206 	}
       
   207 
       
   208 RESOURCE POPUP_SETTING_LIST r_global_settings_message_header_editor_resource_id
       
   209 	{
       
   210 	}
       
   211 
       
   212 RESOURCE AVKON_POPUP_SETTING_TEXTS r_global_settings_message_header
       
   213 	{
       
   214 	setting_texts_resource = r_global_settings_message_header_setting_texts_resource;
       
   215 	popped_up_texts_resource = r_global_settings_message_header_popped_up_texts_resource;
       
   216 	}
       
   217 
       
   218 RESOURCE ARRAY r_global_settings_message_header_setting_texts_resource
       
   219 	{
       
   220 	items =
       
   221 		{
       
   222 		AVKON_ENUMERATED_TEXT
       
   223 			{
       
   224 			text = qtn_fse_settings_list_message_header_on_screen;
       
   225 			value = 1;
       
   226 			},
       
   227 		AVKON_ENUMERATED_TEXT
       
   228 			{
       
   229 			text = qtn_fse_settings_list_message_header_off_screen;
       
   230 			value = 0;
       
   231 			}
       
   232 		};
       
   233 	}
       
   234 
       
   235 RESOURCE ARRAY r_global_settings_message_header_popped_up_texts_resource
       
   236 	{
       
   237 	items =
       
   238 		{
       
   239 		LBUF
       
   240 			{
       
   241 			txt = qtn_fse_settings_list_message_header_on_screen;
       
   242 			},
       
   243 		LBUF
       
   244 			{
       
   245 			txt = qtn_fse_settings_list_message_header_off_screen;
       
   246 			}
       
   247 		};
       
   248 	}
       
   249 
       
   250 
       
   251 RESOURCE POPUP_SETTING_LIST r_global_settings_message_list_layout_editor_resource_id
       
   252 	{
       
   253 	}
       
   254 
       
   255 RESOURCE AVKON_POPUP_SETTING_TEXTS r_global_settings_message_list_layout
       
   256 	{
       
   257 	setting_texts_resource = r_global_settings_message_list_layout_setting_texts_resource;
       
   258 	popped_up_texts_resource = r_global_settings_message_list_layout_popped_up_texts_resource;
       
   259 	}
       
   260 
       
   261 RESOURCE ARRAY r_global_settings_message_list_layout_setting_texts_resource
       
   262 	{
       
   263 	items =
       
   264 		{
       
   265 		AVKON_ENUMERATED_TEXT
       
   266 			{
       
   267 			text = qtn_fse_settings_list_message_list_layout_one_line;
       
   268 			value = 1;
       
   269 			},
       
   270 		AVKON_ENUMERATED_TEXT
       
   271 			{
       
   272 			text = qtn_fse_settings_list_message_list_layout_two_lines;
       
   273 			value = 0;
       
   274 			}
       
   275 		};
       
   276 	}
       
   277 
       
   278 RESOURCE ARRAY r_global_settings_message_list_layout_popped_up_texts_resource
       
   279 	{
       
   280 	items =
       
   281 		{
       
   282 		LBUF
       
   283 			{
       
   284 			txt = qtn_fse_settings_list_message_list_layout_one_line;
       
   285 			},
       
   286 		LBUF
       
   287 			{
       
   288 			txt = qtn_fse_settings_list_message_list_layout_two_lines;
       
   289 			}
       
   290 		};
       
   291 	}
       
   292 
       
   293 RESOURCE POPUP_SETTING_LIST r_global_settings_body_preview_editor_resource_id
       
   294 	{
       
   295 	}
       
   296 
       
   297 RESOURCE AVKON_POPUP_SETTING_TEXTS r_global_settings_body_preview
       
   298 	{
       
   299 	setting_texts_resource = r_global_settings_body_preview_setting_texts_resource;
       
   300 	popped_up_texts_resource = r_global_settings_body_preview_popped_up_texts_resource;
       
   301 	}
       
   302 
       
   303 RESOURCE ARRAY r_global_settings_body_preview_setting_texts_resource
       
   304 	{
       
   305 	items =
       
   306 		{
       
   307 		AVKON_ENUMERATED_TEXT
       
   308 			{
       
   309 			text = qtn_fse_settings_preview_pane_on;
       
   310 			value = 1;
       
   311 			},
       
   312 		AVKON_ENUMERATED_TEXT
       
   313 			{
       
   314 			text = qtn_fse_settings_preview_pane_off;
       
   315 			value = 0;
       
   316 			}
       
   317 		};
       
   318 	}
       
   319 
       
   320 RESOURCE ARRAY r_global_settings_body_preview_popped_up_texts_resource
       
   321 	{
       
   322 	items =
       
   323 		{
       
   324 		LBUF
       
   325 			{
       
   326 			txt = qtn_fse_settings_preview_pane_on;
       
   327 			},
       
   328 		LBUF
       
   329 			{
       
   330 			txt = qtn_fse_settings_preview_pane_off;
       
   331 			}
       
   332 		};
       
   333 	}
       
   334 
       
   335 /**
       
   336  * ----------------------------------------------------------------
       
   337  * TITLE DIVIDERS SETTING ITEM
       
   338  * 
       
   339  */
       
   340 RESOURCE AVKON_SETTING_PAGE r_global_settings_title_dividers_setting_page_resource
       
   341 	{
       
   342 	number = -16380;
       
   343 	label = qtn_fse_settings_title_dividers;
       
   344 	type = EAknCtPopupSettingList;
       
   345 	editor_resource_id = r_global_settings_title_dividers_editor_resource_id;
       
   346 	}
       
   347 
       
   348 RESOURCE POPUP_SETTING_LIST r_global_settings_title_dividers_editor_resource_id
       
   349 	{
       
   350 	}
       
   351 
       
   352 RESOURCE AVKON_POPUP_SETTING_TEXTS r_global_settings_title_dividers
       
   353 	{
       
   354 	setting_texts_resource = r_global_settings_title_dividers_setting_texts_resource;
       
   355 	popped_up_texts_resource = r_global_settings_title_dividers_popped_up_texts_resource;
       
   356 	}
       
   357 
       
   358 RESOURCE ARRAY r_global_settings_title_dividers_setting_texts_resource
       
   359 	{
       
   360 	items =
       
   361 		{
       
   362 		AVKON_ENUMERATED_TEXT
       
   363 			{
       
   364 			text = qtn_fse_settings_list_view_dividers_on;
       
   365 			value = 1;
       
   366 			},
       
   367 		AVKON_ENUMERATED_TEXT
       
   368 			{
       
   369 			text = qtn_fse_settings_list_view_dividers_off;
       
   370 			value = 0;
       
   371 			}
       
   372 		};
       
   373 	}
       
   374 
       
   375 RESOURCE ARRAY r_global_settings_title_dividers_popped_up_texts_resource
       
   376 	{
       
   377 	items =
       
   378 		{
       
   379 		LBUF
       
   380 			{
       
   381 			txt = qtn_fse_settings_list_view_dividers_on;
       
   382 			},
       
   383 		LBUF
       
   384 			{
       
   385 			txt = qtn_fse_settings_list_view_dividers_off;
       
   386 			}
       
   387 		};
       
   388 	}
       
   389 
       
   390 
       
   391 
       
   392 /**
       
   393  * ----------------------------------------------------------------
       
   394  * DOWNLOAD NOTIFICATIONS SETTING ITEM
       
   395  * 
       
   396  */
       
   397 RESOURCE AVKON_SETTING_PAGE r_global_settings_download_notifications_setting_page_resource
       
   398 	{
       
   399 	number = -16380;
       
   400 	label = qtn_fse_settings_download_notifications;
       
   401 	type = EAknCtPopupSettingList;
       
   402 	editor_resource_id = r_global_settings_download_notifications_editor_resource_id;
       
   403 	}
       
   404 
       
   405 RESOURCE POPUP_SETTING_LIST r_global_settings_download_notifications_editor_resource_id
       
   406 	{
       
   407 	}
       
   408 
       
   409 RESOURCE AVKON_POPUP_SETTING_TEXTS r_global_settings_download_notifications
       
   410 	{
       
   411 	setting_texts_resource = r_global_settings_download_notifications_setting_texts_resource;
       
   412 	popped_up_texts_resource = r_global_settings_download_notifications_popped_up_texts_resource;
       
   413 	}
       
   414 
       
   415 RESOURCE ARRAY r_global_settings_download_notifications_setting_texts_resource
       
   416 	{
       
   417 	items =
       
   418 		{
       
   419 		AVKON_ENUMERATED_TEXT
       
   420 			{
       
   421 			text = qtn_fse_settings_download_notifications_on;
       
   422 			value = 1;
       
   423 			},
       
   424 		AVKON_ENUMERATED_TEXT
       
   425 			{
       
   426 			text = qtn_fse_settings_download_notifications_off;
       
   427 			value = 0;
       
   428 			}
       
   429 		};
       
   430 	}
       
   431 
       
   432 RESOURCE ARRAY r_global_settings_download_notifications_popped_up_texts_resource
       
   433 	{
       
   434 	items =
       
   435 		{
       
   436 		LBUF
       
   437 			{
       
   438 			txt = qtn_fse_settings_download_notifications_on;
       
   439 			},
       
   440 		LBUF
       
   441 			{
       
   442 			txt = qtn_fse_settings_download_notifications_off;
       
   443 			}
       
   444 		};
       
   445 	}
       
   446 
       
   447 /**
       
   448  * ----------------------------------------------------------------
       
   449  * ACTIVE IDLE SETTING ITEM
       
   450  * 
       
   451  */
       
   452 RESOURCE AVKON_SETTING_PAGE r_global_settings_active_idle_setting_page_resource
       
   453 	{
       
   454 	number = -16380;
       
   455 	label = qtn_fse_settings_default_access_point;
       
   456 	type = EAknCtPopupSettingList;
       
   457 	editor_resource_id = r_global_settings_active_idle_editor_resource_id;
       
   458 	}
       
   459 
       
   460 RESOURCE POPUP_SETTING_LIST r_global_settings_active_idle_editor_resource_id
       
   461 	{
       
   462 	}
       
   463 
       
   464 RESOURCE AVKON_POPUP_SETTING_TEXTS r_global_settings_active_idle
       
   465 	{
       
   466 	setting_texts_resource = r_global_settings_active_idle_setting_texts_resource;
       
   467 	popped_up_texts_resource = r_global_settings_active_idle_popped_up_texts_resource;
       
   468 	}
       
   469 
       
   470 RESOURCE ARRAY r_global_settings_active_idle_setting_texts_resource
       
   471 	{
       
   472 	items =
       
   473 		{
       
   474 		AVKON_ENUMERATED_TEXT
       
   475 			{
       
   476 			text = qtn_fse_settings_list_active_idle_off;
       
   477 			value = 0;
       
   478 			},
       
   479 		AVKON_ENUMERATED_TEXT
       
   480 			{
       
   481 			text = qtn_fse_settings_list_active_idle_one_line;
       
   482 			value = 1;
       
   483 			},
       
   484 		AVKON_ENUMERATED_TEXT
       
   485 			{
       
   486 			text = qtn_fse_settings_list_active_idle_two_lines;
       
   487 			value = 2;
       
   488 			},
       
   489 		AVKON_ENUMERATED_TEXT
       
   490 			{
       
   491 			text = qtn_fse_settings_list_active_idle_pop_up;
       
   492 			value = 5;
       
   493 			}
       
   494 		};
       
   495 	}
       
   496 
       
   497 RESOURCE ARRAY r_global_settings_active_idle_popped_up_texts_resource
       
   498 	{
       
   499 	items =
       
   500 		{
       
   501 		LBUF
       
   502 			{
       
   503 			txt = qtn_fse_settings_list_active_idle_off;
       
   504 			},
       
   505 		LBUF
       
   506 			{
       
   507 			txt = qtn_fse_settings_list_active_idle_one_line;
       
   508 			},
       
   509 		LBUF
       
   510 			{
       
   511 			txt = qtn_fse_settings_list_active_idle_two_lines;
       
   512 			},
       
   513 		LBUF
       
   514 			{
       
   515 			txt = qtn_fse_settings_list_active_idle_pop_up;
       
   516 			}
       
   517 		};
       
   518 	}
       
   519 
       
   520 
       
   521 /**
       
   522  * ----------------------------------------------------------------
       
   523  * DOWNLOAD HTML IMAGES SETTING ITEM
       
   524  * 
       
   525  */
       
   526 RESOURCE AVKON_SETTING_PAGE r_global_settings_download_html_images_setting_page_resource
       
   527     {
       
   528     number = -16380;
       
   529     label = qtn_mail_setting_download_images;
       
   530     type = EAknCtPopupSettingList;
       
   531     editor_resource_id = r_global_settings_download_html_images_editor_resource_id;
       
   532     }
       
   533 
       
   534 RESOURCE POPUP_SETTING_LIST r_global_settings_download_html_images_editor_resource_id
       
   535     {
       
   536     }
       
   537 
       
   538 RESOURCE AVKON_POPUP_SETTING_TEXTS r_global_settings_download_html_images
       
   539     {
       
   540     setting_texts_resource = r_global_settings_download_html_images_setting_texts_resource;
       
   541     popped_up_texts_resource = r_global_settings_download_html_images_popped_up_texts_resource;
       
   542     }
       
   543 
       
   544 RESOURCE ARRAY r_global_settings_download_html_images_setting_texts_resource
       
   545     {
       
   546     items =
       
   547         {
       
   548         AVKON_ENUMERATED_TEXT
       
   549             {
       
   550             text = qtn_mail_option_alternative_no;
       
   551             value = 1;
       
   552             },
       
   553         AVKON_ENUMERATED_TEXT
       
   554             {
       
   555             text = qtn_mail_option_alternative_yes;
       
   556             value = 0;
       
   557             }
       
   558         };
       
   559     }
       
   560 
       
   561 RESOURCE ARRAY r_global_settings_download_html_images_popped_up_texts_resource
       
   562     {
       
   563     items =
       
   564         {
       
   565         LBUF
       
   566             {
       
   567             txt = qtn_mail_option_alternative_no;
       
   568             },
       
   569         LBUF
       
   570             {
       
   571             txt = qtn_mail_option_alternative_yes;
       
   572             }
       
   573         };
       
   574     }
       
   575 
       
   576