locationtriggering/lbtmgmtui/data/lbtmgmtpluginview.rss
branchRCL_3
changeset 44 2b4ea9893b66
parent 42 02ba3f1733c6
child 45 6b6920c56e2f
equal deleted inserted replaced
42:02ba3f1733c6 44:2b4ea9893b66
     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 // r_lbtmgmtplugin_contextmenubar
       
   148 // Context Menu Bar Location Trigger Management plug-in view.
       
   149 //
       
   150 //----------------------------------------------------
       
   151 //
       
   152 RESOURCE MENU_BAR r_lbtmgmtplugin_contextmenubar
       
   153     {
       
   154     titles	=
       
   155         {
       
   156 				MENU_TITLE { menu_pane = r_lbtmgmtplugin_contextmenu; txt=""; }
       
   157         };
       
   158     } 
       
   159     
       
   160 //------------------------------------------------------------------------------
       
   161 //   
       
   162 // r_lbtmgmtplugin_contextmenu
       
   163 //
       
   164 // Context Menu Items for Location Trigger Management plug-in view.
       
   165 //
       
   166 //------------------------------------------------------------------------------
       
   167 //
       
   168 RESOURCE MENU_PANE r_lbtmgmtplugin_contextmenu
       
   169     {
       
   170     items=
       
   171         {
       
   172         MENU_ITEM 
       
   173             { 
       
   174             command = ELbtMgmtInfo; 
       
   175             txt = qtn_options_loctr_info; 
       
   176             },
       
   177         MENU_ITEM 
       
   178             { 
       
   179             command = ELbtMgmtClearAll; 
       
   180             txt = qtn_options_loctr_clear_triggers; 
       
   181             }
       
   182         };
       
   183     }
       
   184 	
       
   185 
       
   186 
       
   187 //------------------------------------------------------------------------------
       
   188 //   
       
   189 // r_lbtmgmtplugin_menubar_view
       
   190 //
       
   191 // Menu bar for Location Trigger Management plug-in view.
       
   192 //
       
   193 //------------------------------------------------------------------------------
       
   194 //
       
   195 RESOURCE MENU_BAR r_lbtmgmtplugin_menubar_view
       
   196     {
       
   197     titles=
       
   198         {
       
   199         MENU_TITLE 
       
   200             { 
       
   201             menu_pane = r_lbtmgmtplugin_menu; txt=""; 
       
   202             }
       
   203         };
       
   204     }
       
   205 
       
   206 //------------------------------------------------------------------------------
       
   207 //   
       
   208 // r_lbtmgmtplugin_menu
       
   209 //
       
   210 // Menu Items for Location Trigger Management plug-in view.
       
   211 //
       
   212 //------------------------------------------------------------------------------
       
   213 //
       
   214 RESOURCE MENU_PANE r_lbtmgmtplugin_menu
       
   215     {
       
   216     items=
       
   217         {
       
   218         MENU_ITEM 
       
   219             { 
       
   220             command = EAknCmdHelp; 
       
   221             txt = qtn_options_help; 
       
   222             },
       
   223         MENU_ITEM 
       
   224             {
       
   225             // Exit option should use 'EEikCmdExit' instead of 'EEAknCmdExit'
       
   226             // This is to ensure that the Exit command is not handled by the 
       
   227             // ProcessCommandL of CAknView and is transferred to 
       
   228             // CAknViewAppUi::HandleCommandL. This behaviour is necessary 
       
   229             // for proper handling of the Exit command from an App Server's 
       
   230             // perspective.
       
   231             command = EEikCmdExit;  
       
   232             txt = qtn_options_exit; 
       
   233             }
       
   234         };
       
   235     }
       
   236        
       
   237 //------------------------------------------------------------------------------
       
   238 // r_loctr_title_text_lt
       
   239 // 
       
   240 // Title text for Location Trigger Management settings
       
   241 //------------------------------------------------------------------------------
       
   242 //
       
   243 RESOURCE TBUF r_loctr_title_text_lt
       
   244     {
       
   245     buf = qtn_loctr_title_text_lt;
       
   246     }
       
   247     
       
   248 //------------------------------------------------------------------------------
       
   249 // r_loctr_list_lbt_triggering
       
   250 // 
       
   251 // List box text for Triggering Status
       
   252 //------------------------------------------------------------------------------
       
   253 //
       
   254 RESOURCE TBUF r_loctr_list_lbt_triggering
       
   255     {
       
   256     buf = qtn_loctr_list_lbl_triggering;
       
   257     }
       
   258 
       
   259 //------------------------------------------------------------------------------
       
   260 // qtn_loctr_one_active_trigger
       
   261 // 
       
   262 // List box text for 1 Active Trigger
       
   263 //------------------------------------------------------------------------------
       
   264 //
       
   265 RESOURCE TBUF r_loctr_one_active_trigger
       
   266     {
       
   267     buf = qtn_loctr_one_active_trigger;
       
   268     }
       
   269 
       
   270 //------------------------------------------------------------------------------
       
   271 // r_loctr_list_active_trigger
       
   272 // 
       
   273 // List box text for Active Triggers
       
   274 //------------------------------------------------------------------------------
       
   275 //
       
   276 RESOURCE TBUF r_loctr_list_active_trigger
       
   277     {
       
   278     buf = qtn_loctr_list_active_trigger;
       
   279     }
       
   280 
       
   281 //------------------------------------------------------------------------------
       
   282 // r_loctr_list_no_active_trigger
       
   283 // 
       
   284 // List box text for No Active Triggers
       
   285 //------------------------------------------------------------------------------
       
   286 //
       
   287 RESOURCE TBUF r_loctr_list_no_active_trigger
       
   288     {
       
   289     buf = qtn_loctr_list_no_active_trigger;
       
   290     }
       
   291 
       
   292 //------------------------------------------------------------------------------
       
   293 // r_loctr_list_value_trigger_on
       
   294 // 
       
   295 // Settings value for Triggering Status. Indicates Location Triggering Status
       
   296 // is On
       
   297 //------------------------------------------------------------------------------
       
   298 //
       
   299 RESOURCE TBUF r_loctr_list_value_trigger_on
       
   300     {
       
   301     buf = qtn_loctr_list_value_trigger_on;
       
   302     }
       
   303 
       
   304 //------------------------------------------------------------------------------
       
   305 // r_loctr_list_value_trigger_off
       
   306 // 
       
   307 // Settings value for Triggering Status. Indicates Location Triggering Status
       
   308 // is Off
       
   309 //------------------------------------------------------------------------------
       
   310 //
       
   311 RESOURCE TBUF r_loctr_list_value_trigger_off
       
   312     {
       
   313     buf = qtn_loctr_list_value_trigger_off;
       
   314     }
       
   315 
       
   316 //------------------------------------------------------------------------------
       
   317 // r_loctr_note_turnoff
       
   318 // 
       
   319 // Confirmatiom message when triggering mechanism is set to OFF when 
       
   320 // there are active triggers
       
   321 //------------------------------------------------------------------------------
       
   322 //
       
   323 RESOURCE TBUF r_loctr_note_turnoff
       
   324     {
       
   325     buf = qtn_loctr_note_turnoff;
       
   326     }
       
   327 
       
   328 //------------------------------------------------------------------------------
       
   329 // r_loctr_note_cleartriggers
       
   330 // 
       
   331 // Confirmatiom message when triggering mechanism is set to OFF when 
       
   332 // there are active triggers
       
   333 //------------------------------------------------------------------------------
       
   334 //
       
   335 RESOURCE TBUF r_loctr_note_cleartriggers
       
   336     {
       
   337     buf = qtn_loctr_note_cleartriggers;
       
   338     }
       
   339     
       
   340 //------------------------------------------------------------------------------
       
   341 // r_loctr_list_lbt_triggering_setting
       
   342 //
       
   343 // Settings page for manipulating Trigger Status settings
       
   344 //------------------------------------------------------------------------------
       
   345 //
       
   346 RESOURCE AVKON_SETTING_PAGE r_loctr_list_lbt_triggering_setting
       
   347     { 
       
   348     label = qtn_loctr_list_lbl_triggering;
       
   349     softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK;
       
   350     type = EAknSetListBox;
       
   351     editor_resource_id = r_loc_trigger_settings_listbox;
       
   352     }
       
   353     
       
   354 //------------------------------------------------------------------------------
       
   355 //   
       
   356 // r_loc_trigger_settings_listbox 
       
   357 // Listbox Control for Trigger Status Settings Page
       
   358 //
       
   359 //------------------------------------------------------------------------------
       
   360 //
       
   361 RESOURCE LISTBOX r_loc_trigger_settings_listbox 
       
   362     {
       
   363     flags = EEikListBoxMultipleSelection;
       
   364     }    
       
   365     
       
   366 //------------------------------------------------------------------------------
       
   367 //   
       
   368 // r_loctr_confirmation_query
       
   369 //
       
   370 // Confirmation Query Dialog
       
   371 //------------------------------------------------------------------------------
       
   372 //
       
   373 RESOURCE DIALOG r_loctr_confirmation_query
       
   374     {
       
   375     flags = EGeneralQueryFlags;
       
   376     buttons = R_AVKON_SOFTKEYS_YES_NO;
       
   377     items =
       
   378         {
       
   379         DLG_LINE
       
   380             {
       
   381             type = EAknCtQuery;
       
   382             id = EGeneralQuery;
       
   383             control = AVKON_CONFIRMATION_QUERY
       
   384                 {
       
   385                 layout = EConfirmationQueryLayout;
       
   386                 label = "";
       
   387                 };
       
   388             }
       
   389         };
       
   390     }
       
   391 
       
   392 //------------------------------------------------------------------------------
       
   393 //   
       
   394 // r_loctr_message_query_dialog
       
   395 //
       
   396 // Message Query Dialog for Displaying Trigger Info
       
   397 //------------------------------------------------------------------------------
       
   398 //
       
   399 RESOURCE DIALOG r_loctr_message_query_dialog
       
   400 		{
       
   401     flags = EGeneralQueryFlags | EEikDialogFlagNoBorder | EEikDialogFlagNoShadow;
       
   402     buttons = R_AVKON_SOFTKEYS_OK_EMPTY;
       
   403     items=
       
   404         {
       
   405         DLG_LINE
       
   406             {
       
   407             type = EAknCtPopupHeadingPane;
       
   408             id = EAknMessageQueryHeaderId;
       
   409             control = AVKON_HEADING
       
   410                 {
       
   411                 label = qtn_msk_loctr_info;
       
   412                 headinglayout = R_AVKON_WML_SIGN_QUERY_HEADING_PANE;
       
   413                 };
       
   414             },
       
   415         DLG_LINE
       
   416             {
       
   417             type = EAknCtMessageQuery;
       
   418             id = EAknMessageQueryContentId;
       
   419             control = AVKON_MESSAGE_QUERY
       
   420                 {
       
   421                 message = "";
       
   422                 };
       
   423             }
       
   424         };
       
   425     }
       
   426 
       
   427 //------------------------------------------------------------------------------
       
   428 // r_loctr_info_popup_text
       
   429 // 
       
   430 // Info Message to be displayed when there are active and enabled Triggers  
       
   431 // minutes and decimal minutes
       
   432 //------------------------------------------------------------------------------
       
   433 //
       
   434 RESOURCE TBUF r_loctr_info_popup_text
       
   435     {
       
   436     buf = qtn_loctr_info_popup_text;
       
   437     }
       
   438     
       
   439 // End of File