browserui/browser/SrcData/BrowserGenericDialogs.rssi
changeset 0 84ad3b177aa3
equal deleted inserted replaced
-1:000000000000 0:84ad3b177aa3
       
     1 /*
       
     2 * Copyright (c) 2002 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 the License "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 *      browser generic dialog resources
       
    16 *
       
    17 *
       
    18 */
       
    19 
       
    20 
       
    21 #ifndef WML_BROWSER_GENERIC_DIALOGS_RSSI
       
    22 #define WML_BROWSER_GENERIC_DIALOGS_RSSI
       
    23 
       
    24 #include "browser.hrh"       // Data definitions
       
    25 #include <wmlbrowser.loc>
       
    26 
       
    27 RESOURCE DIALOG r_browser_confirm_query
       
    28     {
       
    29     flags = EGeneralQueryFlags;
       
    30     buttons = R_AVKON_SOFTKEYS_YES_NO__YES;
       
    31     items =
       
    32         {
       
    33         DLG_LINE
       
    34             {
       
    35             type = EAknCtQuery;
       
    36             id = EGeneralQuery;
       
    37 			control= AVKON_CONFIRMATION_QUERY 
       
    38 				{ 
       
    39 					layout = EConfirmationLayout;
       
    40 					label = "";
       
    41 				};
       
    42 			}
       
    43         };
       
    44     }
       
    45 
       
    46 RESOURCE DIALOG r_browser_clearformpasswddata_query
       
    47 	{
       
    48 	flags=EGeneralQueryFlags;
       
    49 	buttons=R_AVKON_SOFTKEYS_YES_NO__YES;
       
    50     items=
       
    51 		{
       
    52 		DLG_LINE
       
    53 			{
       
    54 			type=EAknCtQuery;
       
    55 			id=EGeneralQuery;
       
    56 			control= AVKON_CONFIRMATION_QUERY 
       
    57 				{ 
       
    58 				layout = EConfirmationLayout;
       
    59 				label = qtn_browser_form_data_delete_all;
       
    60 				};
       
    61 			}
       
    62 		};
       
    63 	}
       
    64 	
       
    65 	
       
    66 RESOURCE DIALOG r_browser_clearpasswddata_query
       
    67 	{
       
    68 	flags=EGeneralQueryFlags;
       
    69 	buttons=R_AVKON_SOFTKEYS_YES_NO__YES;
       
    70     items=
       
    71 		{
       
    72 		DLG_LINE
       
    73 			{
       
    74 			type=EAknCtQuery;
       
    75 			id=EGeneralQuery;
       
    76 			control= AVKON_CONFIRMATION_QUERY 
       
    77 				{ 
       
    78 				layout = EConfirmationLayout;
       
    79 				label = qtn_browser_form_data_delete_password;
       
    80 				};
       
    81 			}
       
    82 		};
       
    83 	}
       
    84 	
       
    85 	
       
    86 RESOURCE DIALOG r_browser_clearprivacydata_query
       
    87 	{
       
    88 	flags=EGeneralQueryFlags;
       
    89 	buttons=R_AVKON_SOFTKEYS_YES_NO__YES;
       
    90     items=
       
    91 		{
       
    92 		DLG_LINE
       
    93 			{
       
    94 			type=EAknCtQuery;
       
    95 			id=EGeneralQuery;
       
    96 			control= AVKON_CONFIRMATION_QUERY 
       
    97 				{ 
       
    98 				layout = EConfirmationLayout;
       
    99 				label = qtn_browser_privacy_delete_all;
       
   100 				};
       
   101 			}
       
   102 		};
       
   103 	}
       
   104 
       
   105 RESOURCE DIALOG r_browser_clearhistorydata_query
       
   106 	{
       
   107 	flags=EGeneralQueryFlags;
       
   108 	buttons=R_AVKON_SOFTKEYS_YES_NO__YES;
       
   109     items=
       
   110 		{
       
   111 		DLG_LINE
       
   112 			{
       
   113 			type=EAknCtQuery;
       
   114 			id=EGeneralQuery;
       
   115 			control= AVKON_CONFIRMATION_QUERY 
       
   116 				{ 
       
   117 				layout = EConfirmationLayout;
       
   118 				label = qtn_browser_privacy_query_clear_history;
       
   119 				};
       
   120 			}
       
   121 		};
       
   122 	}
       
   123 
       
   124 // Use this with TbrowserDialogs::InfoNoteL(...); set prompt there.
       
   125 RESOURCE DIALOG r_browser_info_note
       
   126     {
       
   127     flags = EEikDialogFlagNoDrag | EEikDialogFlagNoTitleBar |
       
   128             EEikDialogFlagCbaButtons | EEikDialogFlagWait;
       
   129     buttons = R_AVKON_SOFTKEYS_EMPTY;
       
   130     items =
       
   131         {
       
   132         DLG_LINE
       
   133             {
       
   134             type = EAknCtNote;
       
   135             id = EGeneralNote;
       
   136             control = AVKON_NOTE 
       
   137                 { 
       
   138                 layout = EGeneralLayout;
       
   139                 singular_label = "";
       
   140                 plural_label = "";
       
   141                 animation = R_QGN_NOTE_INFO_ANIM;
       
   142                 };
       
   143             }
       
   144         };
       
   145     }
       
   146 
       
   147 // Use this with TbrowserDialogs::InfoNoteL(...); set prompt there.
       
   148 RESOURCE DIALOG r_browser_ok_note
       
   149     {
       
   150     flags = EEikDialogFlagNoDrag | EEikDialogFlagNoTitleBar |
       
   151             EEikDialogFlagCbaButtons | EEikDialogFlagWait;
       
   152     items =
       
   153         {
       
   154         DLG_LINE
       
   155             {
       
   156             type = EAknCtNote;
       
   157             id = EGeneralNote;
       
   158             control = AVKON_NOTE 
       
   159                 { 
       
   160                 layout = EGeneralLayout;
       
   161                 singular_label = "";
       
   162                 plural_label = "";
       
   163                 animation = R_QGN_NOTE_OK_ANIM;
       
   164                 };
       
   165             }
       
   166         };
       
   167     }
       
   168 
       
   169 /*
       
   170 //----------------------------------------------------
       
   171 //   
       
   172 //    r_wml_wim_dialog_list
       
   173 //    WIM ListSelect dialog
       
   174 //
       
   175 //----------------------------------------------------
       
   176 
       
   177 RESOURCE AVKON_LIST_QUERY r_wml_wim_dialog_list
       
   178     {
       
   179     softkeys = R_AVKON_SOFTKEYS_YES_NO__YES;
       
   180     items = 
       
   181 	    {
       
   182 	    AVKON_LIST_QUERY_DLG_LINE 
       
   183 	        {
       
   184 			//type = EAknCtListQueryControl;
       
   185 			//id = EListControl;
       
   186 	        control = AVKON_LIST_QUERY_CONTROL
       
   187 		        {
       
   188 		        listtype = EAknCtSinglePopupMenuListBox;
       
   189 		        listbox = AVKON_LIST_QUERY_LIST
       
   190 		            {
       
   191 		            array_id=0;
       
   192 		            };
       
   193 		        heading = "title";
       
   194 				
       
   195 		        };
       
   196 	        }
       
   197 	    };
       
   198     }
       
   199 */
       
   200 //----------------------------------------------------
       
   201 //   
       
   202 //    r_wim_query_with_heading
       
   203 //    WIM InputPrompt dialog (edwin)
       
   204 //
       
   205 //----------------------------------------------------
       
   206 
       
   207 RESOURCE DIALOG r_wim_query_with_heading
       
   208 	{
       
   209 	flags=EGeneralQueryFlags;
       
   210 	buttons=R_AVKON_SOFTKEYS_OK_CANCEL__OK;
       
   211     items=
       
   212 		{
       
   213         DLG_LINE 
       
   214 	        {
       
   215 			type = EAknCtPopupHeadingPane;
       
   216 			id = EAknMessageQueryHeaderId;
       
   217 			control = AVKON_HEADING
       
   218 	            {
       
   219                 bmpfile = AVKON_BITMAP_FILE; // bitmap file
       
   220                 bmpid = EMbmAvkonQgn_indi_checkbox_on;
       
   221 	            bmpmask = EMbmAvkonQgn_indi_checkbox_on_mask;
       
   222 				};
       
   223 			},
       
   224 		DLG_LINE
       
   225 			{
       
   226 			type=EAknCtQuery;
       
   227 			id=EGeneralQuery;
       
   228 			control= AVKON_DATA_QUERY 
       
   229 				{ 
       
   230 				layout = EDataLayout;
       
   231 				control = EDWIN
       
   232 			        { 
       
   233 					//allowed_input_modes=EAknEditorTextInputMode | EAknEditorNumericInputMode;
       
   234 					default_input_mode=EAknEditorTextInputMode;
       
   235 					//avkon_flags = EAknEditorFlagNoT9;
       
   236  					//num_letters=4;
       
   237 					};
       
   238 
       
   239 				};
       
   240 			}
       
   241 
       
   242 		};
       
   243 	}
       
   244 //----------------------------------------------------
       
   245 //   
       
   246 //    r_wim_query_with_hidetext
       
   247 //    WIM InputPrompt dialog (secreteditor)
       
   248 //
       
   249 //----------------------------------------------------
       
   250 
       
   251 RESOURCE DIALOG r_wim_query_with_hidetext
       
   252 	{
       
   253 	flags=EGeneralQueryFlags;
       
   254 	buttons=R_AVKON_SOFTKEYS_OK_CANCEL__OK;
       
   255     items=
       
   256 		{
       
   257         DLG_LINE 
       
   258 	        {
       
   259 			type = EAknCtPopupHeadingPane;
       
   260 			id = EAknMessageQueryHeaderId;
       
   261 			control = AVKON_HEADING
       
   262 	            {
       
   263                 bmpfile = AVKON_BITMAP_FILE; // bitmap file
       
   264                 bmpid = EMbmAvkonQgn_indi_checkbox_on;
       
   265 	            bmpmask = EMbmAvkonQgn_indi_checkbox_on_mask;
       
   266 				};
       
   267 			},
       
   268 		DLG_LINE
       
   269 			{
       
   270 			type=EAknCtQuery;
       
   271 			id=EGeneralQuery;
       
   272 			control= AVKON_DATA_QUERY 
       
   273 				{ 
       
   274 				layout = EPinLayout;
       
   275 				control = SECRETED
       
   276 			        { 
       
   277  					num_letters=4;
       
   278 					};
       
   279 
       
   280 				};
       
   281 			}
       
   282 
       
   283 		};
       
   284 	}
       
   285 
       
   286 //----------------------------------------------------
       
   287 //   
       
   288 //    r_wim_prompt_dialog
       
   289 //    WIM Prompt dialog
       
   290 //
       
   291 //----------------------------------------------------
       
   292 
       
   293 RESOURCE DIALOG r_wim_prompt_dialog
       
   294 	{
       
   295 	flags=EGeneralQueryFlags;
       
   296 	buttons=R_AVKON_SOFTKEYS_OK_CANCEL__OK;
       
   297 	items=
       
   298 		{
       
   299 		DLG_LINE 
       
   300 	        {
       
   301 			type = EAknCtPopupHeadingPane;
       
   302 			id = EAknMessageQueryHeaderId;
       
   303 			control = AVKON_HEADING
       
   304 	            {
       
   305                 //label=qtn_wmlsec_query_hdr_secwarn;
       
   306 				//headinglayout = R_AVKON_WML_SIGN_QUERY_HEADING_PANE;
       
   307 				};
       
   308 			},
       
   309 
       
   310 		DLG_LINE
       
   311 			{
       
   312 			type=EAknCtQuery;
       
   313 			id=EGeneralQuery;
       
   314 			control= AVKON_CONFIRMATION_QUERY 
       
   315 				{ 
       
   316 					layout = EConfirmationLayout;
       
   317 					label = "";
       
   318 				};
       
   319 			}
       
   320 		};
       
   321 	}
       
   322 
       
   323 
       
   324 #endif
       
   325 // End of File