gssettingsuis/Gs/GSAutoKeyguardPlugin/Data/GSAutoKeyguardPluginRsc.rss
changeset 18 e3554c9069b6
parent 4 3f8368f032cf
child 19 30540fccecae
equal deleted inserted replaced
4:3f8368f032cf 18:e3554c9069b6
     1 /*
       
     2 * Copyright (c) 2008 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:  Resource file for General Settings
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 //  RESOURCE IDENTIFIER
       
    21 NAME    AKGP // 4 letter ID
       
    22 
       
    23 //  INCLUDES
       
    24 #include <gsautokeyguardplugin.loc>
       
    25 #include "GSAutoKeyguardPlugin.hrh"
       
    26 
       
    27 #include <avkon.loc> // Avkon localized strings
       
    28 #include <avkon.mbg>
       
    29 #include <avkon.rsg>
       
    30 #include <eikcore.rsg>
       
    31 #include <uikon.rh>
       
    32 
       
    33 // CONSTANTS
       
    34 
       
    35 //  RESOURCE DEFINITIONS 
       
    36 
       
    37 RESOURCE RSS_SIGNATURE
       
    38     {
       
    39     }
       
    40 
       
    41 // Common resources among GS
       
    42 #include    "GSCommonResources.rss"
       
    43 
       
    44 //----------------------------------------------------
       
    45 //  r_gs_auto_keyguard_view_caption
       
    46 // 
       
    47 // Autokeyguard view caption for plugin
       
    48 //----------------------------------------------------
       
    49 //
       
    50 RESOURCE TBUF r_gs_auto_keyguard_view_caption
       
    51     {
       
    52     buf = qtn_set_auto_keyguard_title;
       
    53     }
       
    54 
       
    55 
       
    56 //----------------------------------------------------
       
    57 //   
       
    58 //    r_gs_sim_security_view_title
       
    59 //    Security view title
       
    60 //
       
    61 //----------------------------------------------------
       
    62 //
       
    63 
       
    64 RESOURCE TITLE_PANE r_gs_auto_keyguard_view_title
       
    65     {
       
    66     txt = qtn_set_auto_keyguard_title;        
       
    67     }
       
    68 
       
    69 //----------------------------------------------------
       
    70 //   
       
    71 //    r_gs_sim_security_softkeys_options_back__change
       
    72 //    SIM security view's CBA resource
       
    73 //
       
    74 //----------------------------------------------------
       
    75 //
       
    76 RESOURCE CBA r_gs_auto_keyguard_softkeys_options_back__change
       
    77     {
       
    78     buttons =
       
    79         {
       
    80         CBA_BUTTON {id=EAknSoftkeyOptions; txt = text_softkey_option;},
       
    81         CBA_BUTTON {id=EAknSoftkeyBack; txt = text_softkey_back; },
       
    82         CBA_BUTTON {id=EAknSoftkeyChange; txt= qtn_msk_change; }
       
    83         };
       
    84     }
       
    85 
       
    86 //----------------------------------------------------
       
    87 //   
       
    88 //    r_gs_sim_security_view
       
    89 //    SIM security view's menu
       
    90 //
       
    91 //----------------------------------------------------
       
    92 //
       
    93 RESOURCE AVKON_VIEW r_gs_auto_keyguard_view
       
    94     {
       
    95     menubar = r_gs_auto_keyguard_menubar_change_exit;  
       
    96     cba = r_gs_auto_keyguard_softkeys_options_back__change;
       
    97     }
       
    98 
       
    99 // -----------------------------------------------------------------------------
       
   100 //
       
   101 // r_gs_menubar_change_exit
       
   102 // GS menu with 'change' and 'exit' items.
       
   103 //
       
   104 // -----------------------------------------------------------------------------
       
   105 //
       
   106 RESOURCE MENU_BAR r_gs_auto_keyguard_menubar_change_exit
       
   107     {
       
   108     titles =
       
   109         {
       
   110         MENU_TITLE
       
   111             {
       
   112             menu_pane = r_gs_auto_keyguard_menu_item_exit;
       
   113             },
       
   114         MENU_TITLE
       
   115             {
       
   116             menu_pane = r_gs_auto_keyguard_menu_item_help;
       
   117             },
       
   118         MENU_TITLE
       
   119             {
       
   120             menu_pane = r_gs_auto_keyguard_menu_item_change;
       
   121             }
       
   122         };
       
   123     }
       
   124 
       
   125 // -----------------------------------------------------------------------------
       
   126 //
       
   127 // r_gs_menu_item_exit
       
   128 //
       
   129 // -----------------------------------------------------------------------------
       
   130 //
       
   131 RESOURCE MENU_PANE r_gs_auto_keyguard_menu_item_exit
       
   132     {
       
   133     items =
       
   134         {
       
   135         MENU_ITEM
       
   136             {
       
   137             command = EAknCmdExit;
       
   138             txt = qtn_options_exit;
       
   139             }
       
   140         };
       
   141     }
       
   142 
       
   143 
       
   144 // -----------------------------------------------------------------------------
       
   145 //
       
   146 // r_gs_menu_item_change
       
   147 // Change item.
       
   148 //
       
   149 // -----------------------------------------------------------------------------
       
   150 //
       
   151 RESOURCE MENU_PANE r_gs_auto_keyguard_menu_item_change
       
   152     {
       
   153     items =
       
   154         {
       
   155         MENU_ITEM
       
   156             {
       
   157             command = EGSCmdAppChange;
       
   158             txt = qtn_options_change;
       
   159             flags = EEikMenuItemAction; // action command
       
   160             }
       
   161         };
       
   162     }
       
   163 
       
   164 // -----------------------------------------------------------------------------
       
   165 //
       
   166 // r_gs_menu_item_help
       
   167 // Change item.
       
   168 //
       
   169 // -----------------------------------------------------------------------------
       
   170 //
       
   171 RESOURCE MENU_PANE r_gs_auto_keyguard_menu_item_help
       
   172     {
       
   173     items =
       
   174         {
       
   175         MENU_ITEM
       
   176             {
       
   177             command = EAknCmdHelp;
       
   178             txt = qtn_options_help;
       
   179             }
       
   180         };
       
   181     }
       
   182 
       
   183 //----------------------------------------------------
       
   184 //   
       
   185 //    r_auto_keyguard_lbx
       
   186 //    SIM security view's list box items
       
   187 //
       
   188 //----------------------------------------------------
       
   189 //
       
   190 RESOURCE GS_FEATURE_ARRAY r_auto_keyguard_lbx
       
   191     {
       
   192     items =
       
   193         {       
       
   194 	GS_FEATURE
       
   195             {
       
   196             txt = " \t"qtn_set_auto_keyguard"\t\t";
       
   197             item = EGSSettIdAutoKeyguard;
       
   198 	    type = EGSListBoxItemTypeIsDynamic;
       
   199             }
       
   200         };
       
   201     }
       
   202 
       
   203 //----------------------------------------------------
       
   204 //   
       
   205 //    r_auto_keyguard_lbx
       
   206 //    Autokeyguard's listbox item when Touch UI supported
       
   207 //
       
   208 //----------------------------------------------------
       
   209 //
       
   210 RESOURCE GS_FEATURE_ARRAY r_touch_auto_keyguard_lbx
       
   211     {
       
   212     items =
       
   213         {       
       
   214 	GS_FEATURE
       
   215             {
       
   216             txt = " \t"qtn_set_auto_display_lock"\t\t";
       
   217             item = EGSSettIdAutoKeyguard;
       
   218 	    type = EGSListBoxItemTypeIsDynamic;
       
   219             }
       
   220         };
       
   221     }
       
   222 
       
   223 //----------------------------------------------------
       
   224 //   
       
   225 //    r_autokeyguard_array
       
   226 //    Autokeyguard array items
       
   227 //
       
   228 //----------------------------------------------------
       
   229 //
       
   230 RESOURCE ARRAY r_autokeyguard_array
       
   231     {
       
   232     items =
       
   233         {
       
   234         LBUF
       
   235             {
       
   236             txt = qtn_set_auto_keyguard_none;
       
   237             },
       
   238 	LBUF
       
   239             {
       
   240             txt = qtn_set_auto_keyguard_sec;
       
   241             },
       
   242         LBUF
       
   243             {
       
   244             txt = qtn_set_auto_keyguard_one_min;
       
   245             },
       
   246 	LBUF
       
   247             {
       
   248             txt = qtn_set_auto_keyguard_min;
       
   249             }
       
   250        
       
   251         };    
       
   252     }
       
   253 //----------------------------------------------------
       
   254 //   
       
   255 //    r_autokeyguard_setting_page
       
   256 //    Autokeyguard setting page for the radio button dialog
       
   257 //
       
   258 //----------------------------------------------------
       
   259 //
       
   260 RESOURCE AVKON_SETTING_PAGE r_autokeyguard_setting_page
       
   261     { 
       
   262     label= qtn_set_auto_keyguard;
       
   263     softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK;
       
   264     type =  EAknSetListBox;
       
   265     editor_resource_id= r_autokeyguard_listbox;
       
   266     }
       
   267 
       
   268 //----------------------------------------------------
       
   269 //   
       
   270 //    r_autokeyguard_listbox
       
   271 //    Autokeyguard listbox
       
   272 //
       
   273 //----------------------------------------------------
       
   274 //
       
   275 RESOURCE LISTBOX r_autokeyguard_listbox
       
   276     {
       
   277     array_id = r_autokeyguard_lbx;
       
   278     flags = EEikListBoxMultipleSelection;
       
   279     }
       
   280 
       
   281 //----------------------------------------------------
       
   282 //   
       
   283 //    r_autokeyguard_lbx
       
   284 //    Autolock array items
       
   285 //
       
   286 //----------------------------------------------------
       
   287 //
       
   288 RESOURCE ARRAY r_autokeyguard_lbx
       
   289         {
       
   290         items =
       
   291             {
       
   292             LBUF
       
   293                 {//autokeyguard off
       
   294                 txt = qtn_set_auto_keyguard_none;
       
   295                 },
       
   296             LBUF
       
   297                 {//user defined
       
   298                 txt = qtn_set_auto_keyguard_userdefined;
       
   299                 }
       
   300             };      
       
   301     }
       
   302 
       
   303 //----------------------------------------------------
       
   304 //  r_auto_keyguard_minsec
       
   305 // 
       
   306 // Autokeyguard resource string for minutes and seconds
       
   307 //----------------------------------------------------
       
   308 //
       
   309 RESOURCE TBUF r_auto_keyguard_minsec
       
   310     {
       
   311     buf = qtn_set_auto_keyguard_minsec;
       
   312     }
       
   313 
       
   314 //----------------------------------------------------
       
   315 //  r_auto_keyguard_one_min_sec
       
   316 // 
       
   317 // Autokeyguard resource string for minutes and seconds
       
   318 //----------------------------------------------------
       
   319 //
       
   320 RESOURCE TBUF r_auto_keyguard_one_min_sec
       
   321     {
       
   322     buf = qtn_set_auto_keyguard_one_min_sec;
       
   323     }
       
   324 
       
   325 //----------------------------------------------------
       
   326 //   
       
   327 //    r_autokeyguard_time_setting_query
       
   328 //    Autokeyguard period query
       
   329 //
       
   330 //----------------------------------------------------
       
   331 //  
       
   332 RESOURCE DIALOG r_autokeyguard_time_setting_query
       
   333     {
       
   334     flags=EGeneralQueryFlags;
       
   335     buttons=R_AVKON_SOFTKEYS_OK_CANCEL__OK;
       
   336     items=
       
   337         {
       
   338         DLG_LINE
       
   339             {
       
   340             type=EAknCtQuery;
       
   341             id=EGeneralQuery;
       
   342             control = AVKON_DATA_QUERY
       
   343                 { 
       
   344                     layout = ETimeLayout;
       
   345                     label = qtn_set_auto_keyguard_query;
       
   346                     control = TIME_EDITOR
       
   347                     {
       
   348                     minTime= TIME {second=5;minute=0;hour=0;};
       
   349                     maxTime= TIME {second=59;minute=59;};
       
   350                     flags= EEikTimeWithoutHoursField | EEikTimeForce24HourFormat;
       
   351                     };  
       
   352                 };
       
   353             }
       
   354         };
       
   355 
       
   356     }
       
   357 
       
   358 
       
   359 //----------------------------------------------------
       
   360 //   
       
   361 //    r_autokeyguard_touch_time_setting_query
       
   362 //    Autokeyguard period query
       
   363 //
       
   364 //----------------------------------------------------
       
   365 //  
       
   366 RESOURCE DIALOG r_autokeyguard_touch_time_setting_query
       
   367     {
       
   368     flags=EGeneralQueryFlags;
       
   369     buttons=R_AVKON_SOFTKEYS_OK_CANCEL__OK;
       
   370     items=
       
   371         {
       
   372         DLG_LINE
       
   373             {
       
   374             type=EAknCtQuery;
       
   375             id=EGeneralQuery;
       
   376             control = AVKON_DATA_QUERY
       
   377                 { 
       
   378                     layout = ETimeLayout;
       
   379                     label = qtn_set_auto_display_lock_query;
       
   380                     control = TIME_EDITOR
       
   381                     {
       
   382                     minTime= TIME {second=5;minute=0;hour=0;};
       
   383                     maxTime= TIME {second=59;minute=59;};
       
   384                     flags= EEikTimeWithoutHoursField | EEikTimeForce24HourFormat;
       
   385                     };  
       
   386                 };
       
   387             }
       
   388         };
       
   389 
       
   390     }
       
   391 
       
   392 //End of File