locationtriggering/lbtmgmtui/data/lbtmgmtpluginview.rss
changeset 0 667063e416a2
child 4 42de37ce7ce4
equal deleted inserted replaced
-1:000000000000 0:667063e416a2
       
     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:  Contains all the resource definitions for the Location Triggering
       
    15 *                Management UI.
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 //  RESOURCE IDENTIFIER
       
    21 
       
    22 NAME    LBTU // 4 Letter Identifier
       
    23 
       
    24 //  SYSTEM INCLUDES
       
    25 #include <data_caging_paths_strings.hrh>
       
    26 #include <bldvariant.hrh>
       
    27 #include <avkon.rh>
       
    28 #include <avkon.rsg>
       
    29 #include <avkon.mbg>
       
    30 #include <eikcore.rsg>
       
    31 #include <eikon.rh>
       
    32 #include <eikon.rsg>
       
    33 #include <avkon.loc>
       
    34 #include <lbtmgmtsettings.loc>
       
    35 
       
    36 // USER INCLUDES
       
    37 #include "lbtmgmtplugin.hrh"
       
    38 
       
    39 //  RESOURCE DEFINITIONS 
       
    40     
       
    41 RESOURCE RSS_SIGNATURE 
       
    42     {
       
    43     }
       
    44 
       
    45 //------------------------------------------------------------------------------
       
    46 //   
       
    47 // r_lbtmgmtplugin_view
       
    48 // Location Trigger Management plug-in view
       
    49 //
       
    50 //------------------------------------------------------------------------------
       
    51 //
       
    52 RESOURCE AVKON_VIEW r_lbtmgmtplugin_view
       
    53     {
       
    54     menubar = r_lbtmgmtplugin_menubar_view;
       
    55     cba = r_lbtmgmtplugin_cba_change;    
       
    56     }
       
    57 
       
    58 //------------------------------------------------------------------------------
       
    59 //   
       
    60 // r_lbtmgmtplugin_cba_change
       
    61 // CBA for Location Trigger Management plug-in
       
    62 //
       
    63 //-------------------------------------------------------------------------------
       
    64 //   
       
    65 RESOURCE CBA r_lbtmgmtplugin_cba_change
       
    66     {
       
    67     flags = 0;
       
    68     buttons = 
       
    69         {
       
    70         CBA_BUTTON 
       
    71             {
       
    72             id = EAknSoftkeyOptions; 
       
    73             txt = text_softkey_option;
       
    74             },
       
    75         CBA_BUTTON 
       
    76             {
       
    77             id = EAknSoftkeyBack; 
       
    78             txt = text_softkey_back;
       
    79             },
       
    80         CBA_BUTTON
       
    81             {
       
    82             id = ELbtMgmtMSKChange; 
       
    83             txt = qtn_msk_change;
       
    84             }
       
    85         };
       
    86     }
       
    87 
       
    88 //------------------------------------------------------------------------------
       
    89 //   
       
    90 // r_lbtmgmtplugin_cba_info
       
    91 // CBA for Location Trigger Management plug-in
       
    92 //
       
    93 //-------------------------------------------------------------------------------
       
    94 //
       
    95    
       
    96 RESOURCE CBA r_lbtmgmtplugin_cba_info
       
    97     {
       
    98     flags = 0;
       
    99     buttons = 
       
   100         {
       
   101         CBA_BUTTON 
       
   102             {
       
   103             id = EAknSoftkeyOptions; 
       
   104             txt = text_softkey_option;
       
   105             },
       
   106         CBA_BUTTON 
       
   107             {
       
   108             id = EAknSoftkeyBack; 
       
   109             txt = text_softkey_back;
       
   110             },
       
   111         CBA_BUTTON
       
   112             {
       
   113             id = ELbtMgmtMSKInfo; 
       
   114             txt = qtn_msk_loctr_info;
       
   115             }
       
   116         };
       
   117     }
       
   118 
       
   119 //------------------------------------------------------------------------------
       
   120 //   
       
   121 // r_lbtmgmtplugin_cba_noactivetriggers
       
   122 // CBA for Location Trigger Management plug-in when there are no active triggers
       
   123 //
       
   124 //-------------------------------------------------------------------------------
       
   125 //
       
   126    
       
   127 RESOURCE CBA r_lbtmgmtplugin_cba_noactivetriggers
       
   128     {
       
   129     flags = 0;
       
   130     buttons = 
       
   131         {
       
   132         CBA_BUTTON 
       
   133             {
       
   134             id = EAknSoftkeyOptions; 
       
   135             txt = text_softkey_option;
       
   136             },
       
   137         CBA_BUTTON 
       
   138             {
       
   139             id = EAknSoftkeyBack; 
       
   140             txt = text_softkey_back;
       
   141             }
       
   142         };
       
   143     }
       
   144 
       
   145 
       
   146 //------------------------------------------------------------------------------
       
   147 //   
       
   148 // r_lbtmgmtplugin_menubar_view
       
   149 //
       
   150 // Menu bar for Location Trigger Management plug-in view.
       
   151 //
       
   152 //------------------------------------------------------------------------------
       
   153 //
       
   154 RESOURCE MENU_BAR r_lbtmgmtplugin_menubar_view
       
   155     {
       
   156     titles=
       
   157         {
       
   158         MENU_TITLE 
       
   159             { 
       
   160             menu_pane = r_lbtmgmtplugin_menu; txt=""; 
       
   161             }
       
   162         };
       
   163     }
       
   164 
       
   165 //------------------------------------------------------------------------------
       
   166 //   
       
   167 // r_lbtmgmtplugin_menu
       
   168 //
       
   169 // Menu Items for Location Trigger Management plug-in view.
       
   170 //
       
   171 //------------------------------------------------------------------------------
       
   172 //
       
   173 RESOURCE MENU_PANE r_lbtmgmtplugin_menu
       
   174     {
       
   175     items=
       
   176         {
       
   177         MENU_ITEM 
       
   178             { 
       
   179             command = ELbtMgmtChange; 
       
   180             txt = qtn_options_change; 
       
   181             },
       
   182         MENU_ITEM 
       
   183             { 
       
   184             command = ELbtMgmtInfo; 
       
   185             txt = qtn_options_loctr_info; 
       
   186             },
       
   187         MENU_ITEM 
       
   188             { 
       
   189             command = ELbtMgmtClearAll; 
       
   190             txt = qtn_options_loctr_clear_triggers; 
       
   191             },
       
   192         MENU_ITEM 
       
   193             { 
       
   194             command = EAknCmdHelp; 
       
   195             txt = qtn_options_help; 
       
   196             },
       
   197         MENU_ITEM 
       
   198             {
       
   199             // Exit option should use 'EEikCmdExit' instead of 'EEAknCmdExit'
       
   200             // This is to ensure that the Exit command is not handled by the 
       
   201             // ProcessCommandL of CAknView and is transferred to 
       
   202             // CAknViewAppUi::HandleCommandL. This behaviour is necessary 
       
   203             // for proper handling of the Exit command from an App Server's 
       
   204             // perspective.
       
   205             command = EEikCmdExit;  
       
   206             txt = qtn_options_exit; 
       
   207             }
       
   208         };
       
   209     }
       
   210        
       
   211 //------------------------------------------------------------------------------
       
   212 // r_loctr_title_text_lt
       
   213 // 
       
   214 // Title text for Location Trigger Management settings
       
   215 //------------------------------------------------------------------------------
       
   216 //
       
   217 RESOURCE TBUF r_loctr_title_text_lt
       
   218     {
       
   219     buf = qtn_loctr_title_text_lt;
       
   220     }
       
   221     
       
   222 //------------------------------------------------------------------------------
       
   223 // r_loctr_list_lbt_triggering
       
   224 // 
       
   225 // List box text for Triggering Status
       
   226 //------------------------------------------------------------------------------
       
   227 //
       
   228 RESOURCE TBUF r_loctr_list_lbt_triggering
       
   229     {
       
   230     buf = qtn_loctr_list_lbl_triggering;
       
   231     }
       
   232 
       
   233 //------------------------------------------------------------------------------
       
   234 // qtn_loctr_one_active_trigger
       
   235 // 
       
   236 // List box text for 1 Active Trigger
       
   237 //------------------------------------------------------------------------------
       
   238 //
       
   239 RESOURCE TBUF r_loctr_one_active_trigger
       
   240     {
       
   241     buf = qtn_loctr_one_active_trigger;
       
   242     }
       
   243 
       
   244 //------------------------------------------------------------------------------
       
   245 // r_loctr_list_active_trigger
       
   246 // 
       
   247 // List box text for Active Triggers
       
   248 //------------------------------------------------------------------------------
       
   249 //
       
   250 RESOURCE TBUF r_loctr_list_active_trigger
       
   251     {
       
   252     buf = qtn_loctr_list_active_trigger;
       
   253     }
       
   254 
       
   255 //------------------------------------------------------------------------------
       
   256 // r_loctr_list_no_active_trigger
       
   257 // 
       
   258 // List box text for No Active Triggers
       
   259 //------------------------------------------------------------------------------
       
   260 //
       
   261 RESOURCE TBUF r_loctr_list_no_active_trigger
       
   262     {
       
   263     buf = qtn_loctr_list_no_active_trigger;
       
   264     }
       
   265 
       
   266 //------------------------------------------------------------------------------
       
   267 // r_loctr_list_value_trigger_on
       
   268 // 
       
   269 // Settings value for Triggering Status. Indicates Location Triggering Status
       
   270 // is On
       
   271 //------------------------------------------------------------------------------
       
   272 //
       
   273 RESOURCE TBUF r_loctr_list_value_trigger_on
       
   274     {
       
   275     buf = qtn_loctr_list_value_trigger_on;
       
   276     }
       
   277 
       
   278 //------------------------------------------------------------------------------
       
   279 // r_loctr_list_value_trigger_off
       
   280 // 
       
   281 // Settings value for Triggering Status. Indicates Location Triggering Status
       
   282 // is Off
       
   283 //------------------------------------------------------------------------------
       
   284 //
       
   285 RESOURCE TBUF r_loctr_list_value_trigger_off
       
   286     {
       
   287     buf = qtn_loctr_list_value_trigger_off;
       
   288     }
       
   289 
       
   290 //------------------------------------------------------------------------------
       
   291 // r_loctr_note_turnoff
       
   292 // 
       
   293 // Confirmatiom message when triggering mechanism is set to OFF when 
       
   294 // there are active triggers
       
   295 //------------------------------------------------------------------------------
       
   296 //
       
   297 RESOURCE TBUF r_loctr_note_turnoff
       
   298     {
       
   299     buf = qtn_loctr_note_turnoff;
       
   300     }
       
   301 
       
   302 //------------------------------------------------------------------------------
       
   303 // r_loctr_note_cleartriggers
       
   304 // 
       
   305 // Confirmatiom message when triggering mechanism is set to OFF when 
       
   306 // there are active triggers
       
   307 //------------------------------------------------------------------------------
       
   308 //
       
   309 RESOURCE TBUF r_loctr_note_cleartriggers
       
   310     {
       
   311     buf = qtn_loctr_note_cleartriggers;
       
   312     }
       
   313     
       
   314 //------------------------------------------------------------------------------
       
   315 // r_loctr_list_lbt_triggering_setting
       
   316 //
       
   317 // Settings page for manipulating Trigger Status settings
       
   318 //------------------------------------------------------------------------------
       
   319 //
       
   320 RESOURCE AVKON_SETTING_PAGE r_loctr_list_lbt_triggering_setting
       
   321     { 
       
   322     label = qtn_loctr_list_lbl_triggering;
       
   323     softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK;
       
   324     type = EAknSetListBox;
       
   325     editor_resource_id = r_loc_trigger_settings_listbox;
       
   326     }
       
   327     
       
   328 //------------------------------------------------------------------------------
       
   329 //   
       
   330 // r_loc_trigger_settings_listbox 
       
   331 // Listbox Control for Trigger Status Settings Page
       
   332 //
       
   333 //------------------------------------------------------------------------------
       
   334 //
       
   335 RESOURCE LISTBOX r_loc_trigger_settings_listbox 
       
   336     {
       
   337     flags = EEikListBoxMultipleSelection;
       
   338     }    
       
   339     
       
   340 //------------------------------------------------------------------------------
       
   341 //   
       
   342 // r_loctr_confirmation_query
       
   343 //
       
   344 // Confirmation Query Dialog
       
   345 //------------------------------------------------------------------------------
       
   346 //
       
   347 RESOURCE DIALOG r_loctr_confirmation_query
       
   348     {
       
   349     flags = EGeneralQueryFlags;
       
   350     buttons = R_AVKON_SOFTKEYS_YES_NO;
       
   351     items =
       
   352         {
       
   353         DLG_LINE
       
   354             {
       
   355             type = EAknCtQuery;
       
   356             id = EGeneralQuery;
       
   357             control = AVKON_CONFIRMATION_QUERY
       
   358                 {
       
   359                 layout = EConfirmationQueryLayout;
       
   360                 label = "";
       
   361                 };
       
   362             }
       
   363         };
       
   364     }
       
   365 
       
   366 //------------------------------------------------------------------------------
       
   367 //   
       
   368 // r_loctr_message_query_dialog
       
   369 //
       
   370 // Message Query Dialog for Displaying Trigger Info
       
   371 //------------------------------------------------------------------------------
       
   372 //
       
   373 RESOURCE DIALOG r_loctr_message_query_dialog
       
   374 		{
       
   375     flags = EGeneralQueryFlags | EEikDialogFlagNoBorder | EEikDialogFlagNoShadow;
       
   376     buttons = R_AVKON_SOFTKEYS_OK_EMPTY;
       
   377     items=
       
   378         {
       
   379         DLG_LINE
       
   380             {
       
   381             type = EAknCtPopupHeadingPane;
       
   382             id = EAknMessageQueryHeaderId;
       
   383             control = AVKON_HEADING
       
   384                 {
       
   385                 label = qtn_msk_loctr_info;
       
   386                 headinglayout = R_AVKON_WML_SIGN_QUERY_HEADING_PANE;
       
   387                 };
       
   388             },
       
   389         DLG_LINE
       
   390             {
       
   391             type = EAknCtMessageQuery;
       
   392             id = EAknMessageQueryContentId;
       
   393             control = AVKON_MESSAGE_QUERY
       
   394                 {
       
   395                 message = "";
       
   396                 };
       
   397             }
       
   398         };
       
   399     }
       
   400 
       
   401 //------------------------------------------------------------------------------
       
   402 // r_loctr_info_popup_text
       
   403 // 
       
   404 // Info Message to be displayed when there are active and enabled Triggers  
       
   405 // minutes and decimal minutes
       
   406 //------------------------------------------------------------------------------
       
   407 //
       
   408 RESOURCE TBUF r_loctr_info_popup_text
       
   409     {
       
   410     buf = qtn_loctr_info_popup_text;
       
   411     }
       
   412     
       
   413 // End of File