uifw/EikStd/cdlgsrc/Eikcdlg.rss
changeset 0 2f259fa3e83a
equal deleted inserted replaced
-1:000000000000 0:2f259fa3e83a
       
     1 /*
       
     2 * Copyright (c) 1997-1999 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 NAME ECDG
       
    20 
       
    21 
       
    22 #include <eikon.rh>
       
    23 
       
    24 #include <avkon.rsg>
       
    25 #include <avkon.hrh>
       
    26 #include <avkon.rh>
       
    27 
       
    28 RESOURCE RSS_SIGNATURE { }
       
    29 
       
    30 
       
    31 RESOURCE DIALOG r_eik_dialog_alert
       
    32     {
       
    33 	flags=EEikDialogFlagNoDrag | EEikDialogFlagNoTitleBar |
       
    34 	      EEikDialogFlagCbaButtons | EEikDialogFlagNoShadow |
       
    35 	      EEikDialogFlagWait;
       
    36     title="Information";
       
    37 	buttons=R_AVKON_SOFTKEYS_OK_EMPTY;
       
    38     items=
       
    39         {
       
    40 		DLG_LINE
       
    41 			{
       
    42 			type=EAknCtNote;
       
    43 			id=EEikCidAlertText1;
       
    44 			control= AVKON_NOTE 
       
    45 				{ 
       
    46 					layout = ETextualNotificationLayout;
       
    47 					singular_label = "";
       
    48 					plural_label = "";
       
    49 				};
       
    50 			}
       
    51         };
       
    52     }
       
    53 
       
    54 
       
    55 //
       
    56 // Resource for the mover dialog
       
    57 //
       
    58 
       
    59 RESOURCE DIALOG r_eik_dialog_moveme
       
    60     {
       
    61     flags=EEikDialogFlagCbaButtons|EEikDialogFlagNoBackup;
       
    62     title="Move me!";
       
    63 	buttons=R_AVKON_SOFTKEYS_CANCEL; //Was R_EIK_BUTTONS_CONTINUE in EPOC 6.1
       
    64     items=
       
    65         {
       
    66         DLG_LINE
       
    67             {
       
    68             type=EEikCtLabel;
       
    69             id=EEikCidInfoText;
       
    70             control=LABEL { txt="Move me!"; };
       
    71             }
       
    72         };
       
    73     }
       
    74 
       
    75 
       
    76 RESOURCE DIALOG r_eik_heap_fail_dialog
       
    77 	{
       
    78 	flags=EEikDialogFlagNoDrag | EEikDialogFlagFillAppClientRect | EEikDialogFlagNoTitleBar |EEikDialogFlagButtonsRight |
       
    79 	      EEikDialogFlagCbaButtons |/* EEikDialogFlagModeless |*/ EEikDialogFlagNoBorder ;
       
    80 	title =  "Debug fail settings" ;
       
    81 	buttons = R_AVKON_SOFTKEYS_OK_CANCEL ;
       
    82 	items = 
       
    83 		{
       
    84 		DLG_LINE
       
    85 			{
       
    86 			type=10000;
       
    87 			itemflags=EEikDlgItemTakesEnterKey | EEikDlgItemOfferAllHotKeys;
       
    88 			id=EEikHeapFailSettingListId;
       
    89 			control = AVKON_SETTING_ITEM_LIST
       
    90 				{
       
    91 				title = "Heap fail tool";
       
    92 				initial_number = 1;
       
    93 				items =
       
    94 					{
       
    95 					AVKON_SETTING_ITEM
       
    96 						{
       
    97 						identifier = 1;
       
    98 						name = "Heap failure type";
       
    99 						setting_page_resource = r_eik_heap_fail_page;			
       
   100 						associated_resource = r_eik_heap_fail_list;			
       
   101 						},
       
   102 					AVKON_SETTING_ITEM
       
   103 						{
       
   104 						identifier = 2;
       
   105 						name = "Heap failure rate";			
       
   106 						setting_page_resource = r_eik_heap_fail_rate;			
       
   107 						},
       
   108 					AVKON_SETTING_ITEM
       
   109 						{
       
   110 						identifier = 3;
       
   111 						name = "WServ failure type";
       
   112 						setting_page_resource = r_eik_wserv_fail_page;			
       
   113 						associated_resource = r_eik_wserv_fail_list;			
       
   114 						},
       
   115 					AVKON_SETTING_ITEM
       
   116 						{
       
   117 						identifier = 4;
       
   118 						name = "WServ failure rate";			
       
   119 						setting_page_resource = r_eik_wserv_fail_rate;			
       
   120 						},
       
   121 					AVKON_SETTING_ITEM
       
   122 						{
       
   123 						identifier = 5;
       
   124 						name = "File failure type";
       
   125 						setting_page_resource = r_eik_file_fail_page;			
       
   126 						associated_resource = r_eik_file_fail_list;			
       
   127 						},
       
   128 					AVKON_SETTING_ITEM
       
   129 						{
       
   130 						identifier = 6;
       
   131 						name = "File failure rate";			
       
   132 						setting_page_resource = r_eik_file_fail_rate;			
       
   133 						}
       
   134 					};
       
   135 				};
       
   136 			}
       
   137 		};
       
   138 	}
       
   139 
       
   140 RESOURCE AVKON_SETTING_PAGE r_eik_heap_fail_page
       
   141 	{	
       
   142 	label= "App heap fail mode";
       
   143 	type = EAknCtPopupSettingList;
       
   144 	editor_resource_id = r_blank_popup_setting_list;
       
   145 	}
       
   146 
       
   147 RESOURCE POPUP_SETTING_LIST r_blank_popup_setting_list
       
   148 	{
       
   149 	}
       
   150 
       
   151 RESOURCE AVKON_POPUP_SETTING_TEXTS r_eik_heap_fail_list
       
   152 	{
       
   153 	flags = 0;
       
   154 	setting_texts_resource = r_eik_heap_texts;
       
   155 	}
       
   156 
       
   157 RESOURCE ARRAY r_eik_heap_texts
       
   158 	{
       
   159 	items =
       
   160 		{
       
   161 		AVKON_ENUMERATED_TEXT { value=EEikCidHeapFailOff; text = "Off"; },
       
   162 		AVKON_ENUMERATED_TEXT { value=EEikCidHeapFailTypeBackRandom; text = "Random"; },
       
   163 		AVKON_ENUMERATED_TEXT { value=EEikCidHeapFailTypeBackDeterministic; text = "Deterministic"; }
       
   164 		};
       
   165 	}
       
   166 
       
   167 
       
   168 RESOURCE AVKON_SETTING_PAGE r_eik_heap_fail_rate
       
   169 	{ 
       
   170 	softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL;
       
   171 	type = EAknCtIntegerEdwin;
       
   172 	editor_resource_id= r_eik_heap_fail_rate_editor;
       
   173 	}
       
   174 
       
   175 RESOURCE AVKON_INTEGER_EDWIN r_eik_heap_fail_rate_editor 
       
   176 	{
       
   177 	maxlength=4;
       
   178 	min = 0;
       
   179 	max = 9999;
       
   180 	}
       
   181 
       
   182 
       
   183 
       
   184 RESOURCE AVKON_SETTING_PAGE r_eik_wserv_fail_page
       
   185 	{	
       
   186 	number= 0;
       
   187 	label= "WServ fail mode";
       
   188 	type = EAknCtPopupSettingList;
       
   189 	editor_resource_id = r_blank_popup_setting_list;
       
   190 	}
       
   191 
       
   192 RESOURCE AVKON_POPUP_SETTING_TEXTS r_eik_wserv_fail_list
       
   193 	{
       
   194 	flags = 0;
       
   195 	setting_texts_resource = r_eik_wserv_texts;
       
   196 	}
       
   197 
       
   198 RESOURCE ARRAY r_eik_wserv_texts
       
   199 	{
       
   200 	items =
       
   201 		{
       
   202 		AVKON_ENUMERATED_TEXT { value=EEikCidWservHeapFailOff; text = "Off"; },
       
   203 		AVKON_ENUMERATED_TEXT { value=EEikCidWservHeapFailTypeBackRandom; text = "Random"; },
       
   204 		AVKON_ENUMERATED_TEXT { value=EEikCidWservHeapFailTypeBackDeterministic; text = "Deterministic"; }
       
   205 		};
       
   206 	}
       
   207 
       
   208 
       
   209 RESOURCE AVKON_SETTING_PAGE r_eik_wserv_fail_rate
       
   210 	{ 
       
   211 	softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL;
       
   212 	type = EAknCtIntegerEdwin;
       
   213 	editor_resource_id= r_eik_wserv_fail_rate_editor;
       
   214 	}
       
   215 
       
   216 RESOURCE AVKON_INTEGER_EDWIN r_eik_wserv_fail_rate_editor 
       
   217 	{
       
   218 	maxlength=4;
       
   219 	min = 0;
       
   220 	max = 9999;
       
   221 	}
       
   222 
       
   223 
       
   224 
       
   225 
       
   226 RESOURCE AVKON_SETTING_PAGE r_eik_file_fail_page
       
   227 	{	
       
   228 	number= 0;
       
   229 	label= "File fail mode";
       
   230 	type = EAknCtPopupSettingList;
       
   231 	editor_resource_id = r_blank_popup_setting_list;
       
   232 	}
       
   233 
       
   234 RESOURCE AVKON_POPUP_SETTING_TEXTS r_eik_file_fail_list
       
   235 	{
       
   236 	flags = 0;
       
   237 	setting_texts_resource = r_eik_file_texts;
       
   238 	}
       
   239 
       
   240 RESOURCE ARRAY r_eik_file_texts
       
   241 	{
       
   242 	items =
       
   243 		{
       
   244 		AVKON_ENUMERATED_TEXT { value=0; text = "Off"; },
       
   245 		AVKON_ENUMERATED_TEXT { value=1; text = "On"; }
       
   246 		};
       
   247 	}
       
   248 
       
   249 
       
   250 RESOURCE AVKON_SETTING_PAGE r_eik_file_fail_rate
       
   251 	{ 
       
   252 	softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL;
       
   253 	type = EAknCtIntegerEdwin;
       
   254 	editor_resource_id= r_eik_file_fail_rate_editor;
       
   255 	}
       
   256 
       
   257 RESOURCE AVKON_INTEGER_EDWIN r_eik_file_fail_rate_editor 
       
   258 	{
       
   259 	maxlength=4;
       
   260 	min = 0;
       
   261 	max = 9999;
       
   262 	}
       
   263 
       
   264 
       
   265 RESOURCE DIALOG r_eik_dialog_query
       
   266 	{
       
   267 	flags = EEikDialogFlagWait | EAknConfirmationNoteFlags;
       
   268 	buttons=R_AVKON_SOFTKEYS_YES_NO;
       
   269     items=
       
   270 		{
       
   271 		DLG_LINE
       
   272 			{
       
   273 			type=EAknCtNote;
       
   274 			id = EGeneralNote;
       
   275 			control= AVKON_NOTE 
       
   276 				{ 
       
   277 					layout = EGeneralLayout;
       
   278 					singular_label = "";
       
   279 				};
       
   280 			}
       
   281 		};
       
   282 	}
       
   283 
       
   284 RESOURCE DIALOG r_eik_dialog_info
       
   285 	{
       
   286 	flags = EEikDialogFlagWait | EAknDialogGenericNoteFlags;
       
   287 	buttons=R_AVKON_SOFTKEYS_BACK;
       
   288     items=
       
   289 		{
       
   290 		DLG_LINE
       
   291 			{
       
   292 			type=EAknCtNote;
       
   293 			id = EGeneralNote;
       
   294 			control= AVKON_NOTE 
       
   295 				{ 
       
   296 					layout = EGeneralLayout;
       
   297 					singular_label = "";
       
   298 				};
       
   299 			}
       
   300 		};
       
   301 	}