connectionutilities/ConnectionDialogs/cconndlg/data/CConnDlgPlugin.rss
changeset 20 9c97ad6591ae
parent 18 fcbbe021d614
child 21 b8e8e15e80f2
child 23 7ec726f93df1
child 28 860702281757
equal deleted inserted replaced
18:fcbbe021d614 20:9c97ad6591ae
     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 "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:  resorce of CConnDLGPLUGIN.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 // RESOURCE IDENTIFIER
       
    20 NAME CDLG
       
    21 
       
    22 
       
    23 // INCLUDES
       
    24 #include <eikon.rh>
       
    25 #include <eikon.rsg>
       
    26 
       
    27 #include <avkon.rsg>
       
    28 #include <avkon.rh>
       
    29 #include <avkon.mbg>
       
    30 #include <apsettings.mbg>
       
    31 
       
    32 #include <avkon.hrh>
       
    33 #include <AvkonIcons.hrh>
       
    34 #include <avkon.loc>
       
    35 
       
    36 #include <agentdialog.loc>
       
    37 #include "ConnectionDialogs.hrh"
       
    38 
       
    39 
       
    40 // RESOURCE DEFINITIONS 
       
    41 
       
    42 RESOURCE RSS_SIGNATURE { }
       
    43 
       
    44 
       
    45 RESOURCE CBA r_softkeys_done_cancel__select
       
    46     {
       
    47     buttons =
       
    48         {
       
    49         CBA_BUTTON { id = EAknSoftkeyDone;   txt = text_softkey_done; },
       
    50         CBA_BUTTON { id = EAknSoftkeyCancel; txt = text_softkey_cancel; },
       
    51         CBA_BUTTON { id = EAknSoftkeyDone;   txt = qtn_msk_select; }
       
    52         };
       
    53     }
       
    54 
       
    55 
       
    56 RESOURCE DIALOG r_conndlg_authentication
       
    57     {
       
    58     flags = EEikDialogFlagNotifyEsc | EEikDialogFlagNoDrag | 
       
    59             EEikDialogFlagNoTitleBar | EEikDialogFlagCbaButtons;
       
    60     buttons = r_softkeys_done_cancel__select;
       
    61     items=
       
    62         {
       
    63         DLG_LINE
       
    64             {
       
    65             type = EAknCtMultilineQuery;
       
    66             id = EMultilineFirstLine;
       
    67             control = AVKON_DATA_QUERY
       
    68                 {
       
    69                 layout = EMultiDataFirstEdwin;
       
    70                 label = qtn_netw_iap_auth_username;
       
    71                 control = EDWIN
       
    72                     {
       
    73                     avkon_flags = EAknEditorFlagLatinInputModesOnly;
       
    74                     allowed_input_modes = EAknEditorTextInputMode | 
       
    75                                           EAknEditorNumericInputMode;
       
    76                     width = 50;
       
    77                     lines = 1;
       
    78                     maxlength = 50;
       
    79                     };
       
    80                 };
       
    81             },
       
    82 
       
    83         DLG_LINE
       
    84             {
       
    85             type = EAknCtMultilineQuery;
       
    86             id = EMultilineSecondLine;
       
    87             control = AVKON_DATA_QUERY
       
    88                 {
       
    89                 layout = EMultiDataSecondSecEd;
       
    90                 label = qtn_netw_iap_auth_password;
       
    91                 control = SECRETED
       
    92                     {
       
    93                     num_letters = 50;
       
    94                     };
       
    95                 };
       
    96             }
       
    97         };
       
    98     }
       
    99 
       
   100 
       
   101 RESOURCE DIALOG r_conndlg_reconnect
       
   102     {
       
   103     flags = EEikDialogFlagNotifyEsc | EEikDialogFlagCbaButtons | 
       
   104             EEikDialogFlagNoDrag | EEikDialogFlagNoTitleBar | 
       
   105             EEikDialogFlagCbaButtons;
       
   106     buttons = R_AVKON_SOFTKEYS_YES_NO__YES;
       
   107     items =
       
   108         {
       
   109         DLG_LINE
       
   110             {
       
   111             type = EAknCtQuery;
       
   112             id = EGeneralQuery;
       
   113             control= AVKON_CONFIRMATION_QUERY
       
   114                 {
       
   115                 layout = EConfirmationLayout;
       
   116                 label = qtn_ics_q_conn_lost_reconn;
       
   117                 };
       
   118             }
       
   119         };
       
   120     }
       
   121 
       
   122 
       
   123 RESOURCE DIALOG r_conndlg_qos
       
   124     {
       
   125     flags = EEikDialogFlagNotifyEsc | EEikDialogFlagCbaButtons | 
       
   126             EEikDialogFlagNoDrag | EEikDialogFlagNoTitleBar | 
       
   127             EEikDialogFlagCbaButtons;
       
   128     buttons = R_AVKON_SOFTKEYS_YES_NO__YES;
       
   129     items =
       
   130         {
       
   131         DLG_LINE
       
   132             {
       
   133             type = EAknCtQuery;
       
   134             id = EGeneralQuery;
       
   135             control = AVKON_CONFIRMATION_QUERY
       
   136                 {
       
   137                 layout = EConfirmationLayout;
       
   138                 label = qtn_ics_q_conn_qos_reconn;
       
   139                 };
       
   140             }
       
   141         };
       
   142     }
       
   143 
       
   144 
       
   145 RESOURCE AVKON_LIST_QUERY r_list_query
       
   146     {
       
   147     softkeys = R_AVKON_SOFTKEYS_SELECT_CANCEL__SELECT;
       
   148     flags = EEikDialogFlagNotifyEsc | EEikDialogFlagCbaButtons |
       
   149             EEikDialogFlagNoDrag | EEikDialogFlagNoTitleBar;
       
   150 
       
   151     items =
       
   152         {
       
   153         AVKON_LIST_QUERY_DLG_LINE
       
   154             {
       
   155             id = EListQueryControl;
       
   156             control = AVKON_LIST_QUERY_CONTROL
       
   157                 {
       
   158                 listtype = EAknCtSingleGraphicPopupMenuListBox;
       
   159                 listbox = AVKON_LIST_QUERY_LIST
       
   160                     {
       
   161                     flags = EAknListBoxSelectionList;
       
   162                     };
       
   163 
       
   164                 heading = qtn_ics_ap_list_title;
       
   165                 };
       
   166             }
       
   167         };
       
   168     }
       
   169 
       
   170 
       
   171 RESOURCE DIALOG r_conndlg_new_iap
       
   172     {
       
   173     flags = EEikDialogFlagNotifyEsc | EEikDialogFlagCbaButtons | 
       
   174             EEikDialogFlagNoDrag | EEikDialogFlagNoTitleBar;
       
   175     buttons = R_AVKON_SOFTKEYS_YES_NO__YES;
       
   176     items =
       
   177         {
       
   178         DLG_LINE
       
   179             {
       
   180             type = EAknCtQuery;
       
   181             id = EGeneralQuery;
       
   182             control= AVKON_CONFIRMATION_QUERY
       
   183                 {
       
   184                 layout = EConfirmationLayout;
       
   185                 };
       
   186             }
       
   187         };
       
   188     }
       
   189 
       
   190 
       
   191 RESOURCE TBUF r_conndlg_new_connection_attempt 
       
   192     { 
       
   193     buf = qtn_ics_ap_connect_text; 
       
   194     }
       
   195 
       
   196 
       
   197 RESOURCE TBUF r_wlan_search_for_networks 
       
   198     { 
       
   199     buf = qtn_wlan_search_for_networks; 
       
   200     }
       
   201 
       
   202     
       
   203 RESOURCE DIALOG r_searching_wait_note
       
   204 	{
       
   205 	flags = EAknWaitNoteFlags;
       
   206 	buttons=R_AVKON_SOFTKEYS_EMPTY;
       
   207     items=
       
   208 		{
       
   209 		DLG_LINE
       
   210 			{
       
   211 			type = EAknCtNote;
       
   212 			id = 0x112; // 
       
   213 			control= AVKON_NOTE 
       
   214                 { 
       
   215 				layout = EWaitLayout;
       
   216 				singular_label = qtn_netw_wait_checking_avail_conn;			
       
   217                 imagefile = AVKON_ICON_FILE;
       
   218 				imageid = EMbmAvkonQgn_note_progress;
       
   219 				imagemask = EMbmAvkonQgn_note_progress_mask;
       
   220 				animation = R_QGN_GRAF_WAIT_BAR_ANIM;				
       
   221 				};
       
   222 			}
       
   223 		};
       
   224     }
       
   225 
       
   226 
       
   227 RESOURCE TBUF r_wlan_easy_wlan
       
   228     { 
       
   229     buf = qtn_netw_conset_easy_wlan; 
       
   230     }
       
   231 
       
   232     
       
   233 RESOURCE TBUF r_list_uncategorized
       
   234     { 
       
   235     buf = qtn_netw_conset_dest_uncategorized; 
       
   236     }
       
   237 
       
   238 
       
   239 RESOURCE TBUF r_conn_methods_many
       
   240     { 
       
   241     buf = qtn_netw_conset_conn_methods_amount_many;
       
   242     }
       
   243 
       
   244 
       
   245 RESOURCE TBUF r_conn_methods_one
       
   246     { 
       
   247     buf = qtn_netw_conset_conn_methods_amount_one;
       
   248     }
       
   249 
       
   250 
       
   251 RESOURCE CBA r_softkeys_options_cancel__connect
       
   252     {
       
   253     buttons =
       
   254         {
       
   255         CBA_BUTTON { id = EAknSoftkeyOptions; txt = text_softkey_option; },
       
   256         CBA_BUTTON { id = EAknSoftkeyCancel;  txt = text_softkey_cancel; },
       
   257         CBA_BUTTON { id = EAknSoftkeyDone;    txt = qtn_msk_connect; }
       
   258         };
       
   259     }
       
   260 
       
   261 
       
   262     
       
   263 RESOURCE AVKON_LIST_QUERY r_select_connection_query
       
   264     {
       
   265     softkeys = r_softkeys_options_cancel__connect;
       
   266     flags = EEikDialogFlagNotifyEsc | EEikDialogFlagCbaButtons |
       
   267             EEikDialogFlagNoDrag | EEikDialogFlagNoTitleBar;
       
   268 
       
   269     items =
       
   270         {
       
   271         AVKON_LIST_QUERY_DLG_LINE
       
   272             {
       
   273             id = EListQueryControl;
       
   274             control = AVKON_LIST_QUERY_CONTROL
       
   275                 {
       
   276                 listtype = EAknCtDoubleLargeGraphicPopupMenuListBox;
       
   277                 listbox = AVKON_LIST_QUERY_LIST
       
   278                     {
       
   279                     };
       
   280 
       
   281                 heading = qtn_netw_conset_prmpt_select_connection;
       
   282                 };
       
   283             }
       
   284         };
       
   285     }
       
   286 
       
   287 
       
   288 RESOURCE MENU_BAR r_select_connection_menubar
       
   289     {
       
   290     titles =
       
   291         {
       
   292         MENU_TITLE { menu_pane = r_select_connection_menu_pane; txt = ""; }
       
   293         };
       
   294     }
       
   295 
       
   296 
       
   297 RESOURCE MENU_PANE r_select_connection_menu_pane
       
   298     {
       
   299     items =
       
   300         {
       
   301         MENU_ITEM 
       
   302             { 
       
   303             command = ESelectConnectionCmdSelect;  
       
   304             txt = qtn_set_cmd_select;
       
   305             flags = EEikMenuItemAction; 
       
   306             },
       
   307 
       
   308         MENU_ITEM 
       
   309             { 
       
   310             command = ESelectConnectionCmdConnect;  
       
   311             txt = qtn_set_cmd_connect;
       
   312             flags = EEikMenuItemAction;
       
   313             },
       
   314 
       
   315         MENU_ITEM 
       
   316             { 
       
   317             command = ESelectConnectionCmdChooseMethod; 
       
   318             txt = qtn_netw_conset_options_select_method;
       
   319             flags = EEikMenuItemSpecific; 
       
   320             }
       
   321         };
       
   322     }
       
   323 
       
   324 
       
   325 RESOURCE CBA r_softkeys_connect_cancel__select
       
   326     {
       
   327     buttons =
       
   328         {
       
   329         CBA_BUTTON { id = EAknSoftkeySelect; txt = qtn_netw_conset_softkey_connect; },
       
   330         CBA_BUTTON { id = EAknSoftkeyCancel; txt = text_softkey_cancel; },
       
   331         CBA_BUTTON { id = EAknSoftkeySelect; txt = qtn_msk_select; }
       
   332         };
       
   333     }
       
   334 
       
   335 
       
   336 RESOURCE AVKON_LIST_QUERY r_list_explicit_query
       
   337     {
       
   338     softkeys = r_softkeys_connect_cancel__select;
       
   339     flags = EEikDialogFlagNotifyEsc | EEikDialogFlagCbaButtons |
       
   340             EEikDialogFlagNoDrag | EEikDialogFlagNoTitleBar;
       
   341 
       
   342     items =
       
   343         {
       
   344         AVKON_LIST_QUERY_DLG_LINE
       
   345             {
       
   346             id = EListQueryControl;
       
   347             control = AVKON_LIST_QUERY_CONTROL
       
   348                 {
       
   349                 listtype = EAknCtSingleGraphicPopupMenuListBox;
       
   350                 listbox = AVKON_LIST_QUERY_LIST
       
   351                     {
       
   352                     flags = EAknListBoxSelectionList;
       
   353                     };
       
   354 
       
   355                 heading = qtn_netw_conset_prmpt_select_conn_method;
       
   356                 };
       
   357             }
       
   358         };
       
   359     }
       
   360 
       
   361 
       
   362 // End of File
       
   363 
       
   364