commonuis/CommonUi/data/FindItemui.rss
changeset 0 2f259fa3e83a
equal deleted inserted replaced
-1:000000000000 0:2f259fa3e83a
       
     1 /*
       
     2 * Copyright (c) 2002-2006 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 find item API.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 //  RESOURCE IDENTIFIER
       
    20 NAME FIUI // 4 letter ID
       
    21 
       
    22 //  INCLUDES
       
    23 
       
    24 #include <eikon.rh>
       
    25 #include "finditem.hrh"
       
    26 #include <avkon.loc>
       
    27 #include <finditemdialog.loc>
       
    28 #include "eikon.rsg"
       
    29 #include <avkon.rsg>
       
    30 #include <avkon.rh>
       
    31 #include <avkon.mbg>
       
    32 #include <bldvariant.hrh>
       
    33 
       
    34 #include <AiwCommon.hrh>
       
    35 #include <AiwCommon.rh>
       
    36 
       
    37 //  RESOURCE DEFINITIONS
       
    38 
       
    39 RESOURCE RSS_SIGNATURE { }
       
    40 
       
    41 RESOURCE TBUF r_finditem_title_phone
       
    42     {
       
    43     buf=qtn_find_title_find_number;
       
    44     }
       
    45 
       
    46 RESOURCE TBUF r_finditem_title_url
       
    47     {
       
    48     buf=qtn_find_title_find_url;
       
    49     }
       
    50 
       
    51 RESOURCE TBUF r_finditem_title_mail
       
    52     {
       
    53     buf=qtn_find_title_find_mail;
       
    54     }
       
    55 
       
    56 RESOURCE TBUF r_finditem_default_bookmark_name
       
    57     {
       
    58     buf=qtn_find_default_bookmark_name;
       
    59     }
       
    60 
       
    61 RESOURCE TBUF r_finditem_no_items_found_note_msg
       
    62     {
       
    63     buf=qtn_find_conf_no_items;
       
    64     }
       
    65 
       
    66 RESOURCE TBUF r_finditem_bookmark_saved
       
    67     {
       
    68     buf=qtn_find_bm_saved_note;
       
    69     }
       
    70 
       
    71 RESOURCE TBUF r_finditem_title_telinternet
       
    72     {
       
    73     buf=qtn_find_title_find_voip;
       
    74     }
       
    75 
       
    76 STRUCT FINDITEMCONTROL
       
    77     {
       
    78     STRUCT control;
       
    79     }
       
    80 
       
    81 /* Menu for Phone numbers */
       
    82 RESOURCE MENU_PANE r_finditem_phonenumber_menu
       
    83     {
       
    84     items=
       
    85         {
       
    86         MENU_ITEM
       
    87             {
       
    88             command=EFindItemCmdCall;
       
    89             txt=qtn_options_call;
       
    90             },
       
    91         MENU_ITEM
       
    92             {
       
    93             command=EFindItemSubMenuSend;
       
    94             txt=qtn_phob_opt_send;
       
    95             },
       
    96         MENU_ITEM
       
    97             {
       
    98             command=EFindItemCmdCreateContactCard;
       
    99             txt=qtn_options_contacts;
       
   100             },
       
   101         MENU_ITEM
       
   102             {
       
   103             command=EFindItemCmdCopy;
       
   104             txt=qtn_find_copy;
       
   105             },
       
   106         MENU_ITEM
       
   107             {
       
   108             command=EFindItemCmdNextItem;
       
   109             txt=qtn_find_next_number;
       
   110             },
       
   111         MENU_ITEM
       
   112             {
       
   113             command=EFindItemCmdPrevItem;
       
   114             txt=qtn_find_previous_number;
       
   115             },
       
   116 #ifdef __SERIES60_HELP
       
   117         MENU_ITEM
       
   118             {
       
   119             command=EAknCmdHelp;
       
   120             txt=qtn_options_help;
       
   121             },
       
   122 #endif
       
   123         MENU_ITEM
       
   124             {
       
   125             command=EFindItemCmdExit;
       
   126             txt=qtn_options_exit;
       
   127             }
       
   128         };
       
   129     }
       
   130 
       
   131 /* Menu for URLs */
       
   132 RESOURCE MENU_PANE r_finditem_url_address_menu
       
   133     {
       
   134     items=
       
   135         {
       
   136         MENU_ITEM
       
   137             {
       
   138             command=EFindItemCmdGoToUrl;
       
   139             txt=qtn_find_open_link;
       
   140             },
       
   141         MENU_ITEM
       
   142             {
       
   143             command=EFindItemCmdAddToBookmark;
       
   144             txt=qtn_find_add_to_bookmarks;
       
   145             },
       
   146         MENU_ITEM
       
   147             {
       
   148             command=EFindItemCmdCreateContactCard;
       
   149             txt=qtn_options_contacts;
       
   150             },
       
   151         MENU_ITEM
       
   152             {
       
   153             command=EFindItemCmdCopy;
       
   154             txt=qtn_find_copy;
       
   155             },
       
   156         MENU_ITEM
       
   157             {
       
   158             command=EFindItemCmdNextItem;
       
   159             txt=qtn_find_next_url;
       
   160             },
       
   161         MENU_ITEM
       
   162             {
       
   163             command=EFindItemCmdPrevItem;
       
   164             txt=qtn_find_previous_url;
       
   165             },
       
   166 #ifdef __SERIES60_HELP
       
   167         MENU_ITEM
       
   168             {
       
   169             command=EAknCmdHelp;
       
   170             txt=qtn_options_help;
       
   171             },
       
   172 #endif
       
   173         MENU_ITEM
       
   174             {
       
   175             command=EFindItemCmdExit;
       
   176             txt=qtn_options_exit;
       
   177             }
       
   178         };
       
   179     }
       
   180 
       
   181 /* Menu for Mail Addresses */
       
   182 RESOURCE MENU_PANE r_finditem_mail_address_menu
       
   183     {
       
   184     items=
       
   185         {
       
   186         MENU_ITEM
       
   187             {
       
   188             command=EFindItemCmdCall;
       
   189             txt=qtn_options_call;
       
   190             },
       
   191         MENU_ITEM
       
   192             {
       
   193             command=EFindItemSubMenuSend;
       
   194             txt=qtn_phob_opt_send;
       
   195             //cascade=r_finditem_message_submenu;
       
   196             },
       
   197         MENU_ITEM
       
   198             {
       
   199             command=EFindItemCmdCreateContactCard;
       
   200             txt=qtn_options_contacts;
       
   201             },
       
   202         MENU_ITEM
       
   203             {
       
   204             command=EFindItemCmdCopy;
       
   205             txt=qtn_find_copy;
       
   206             },
       
   207         MENU_ITEM
       
   208             {
       
   209             command=EFindItemCmdNextItem;
       
   210             txt=qtn_find_next_mail;
       
   211             },
       
   212         MENU_ITEM
       
   213             {
       
   214             command=EFindItemCmdPrevItem;
       
   215             txt=qtn_find_previous_mail;
       
   216             },
       
   217 #ifdef __SERIES60_HELP
       
   218         MENU_ITEM
       
   219             {
       
   220             command=EAknCmdHelp;
       
   221             txt=qtn_options_help;
       
   222             },
       
   223 #endif
       
   224         MENU_ITEM
       
   225             {
       
   226             command=EFindItemCmdExit;
       
   227             txt=qtn_options_exit;
       
   228             }
       
   229         };
       
   230     }
       
   231 
       
   232 
       
   233 // -------------------------------------------------------------------------------------------------
       
   234 //
       
   235 //    r_finditem_dialog
       
   236 //    ?description
       
   237 //
       
   238 // -------------------------------------------------------------------------------------------------
       
   239 //
       
   240 RESOURCE DIALOG r_finditem_dialog
       
   241     {
       
   242     flags=EEikDialogFlagNoDrag |
       
   243         EEikDialogFlagNoTitleBar |
       
   244         EEikDialogFlagFillAppClientRect |
       
   245         EEikDialogFlagCbaButtons |
       
   246         EEikDialogFlagWait;
       
   247     //buttons=R_AVKON_SOFTKEYS_OPTIONS_BACK;
       
   248     buttons=r_finditem_softkeys_options_back__context;
       
   249     items=
       
   250         {
       
   251         DLG_LINE
       
   252             {
       
   253             type=EFindItemCtRichTxtEditorContainer;
       
   254             id=EFindItemRichTxtEditorContainer;
       
   255             control=FINDITEMCONTROL
       
   256                 {
       
   257                 control=RTXTED
       
   258                     {
       
   259                     width=167;
       
   260                     height=144;
       
   261                     numlines=0;
       
   262 
       
   263                     flags=EEikEdwinDisplayOnly |
       
   264                         EEikEdwinNoAutoSelection |
       
   265                         EEikEdwinAvkonDisableCursor;
       
   266                     };
       
   267                 };
       
   268             }
       
   269         };
       
   270     }
       
   271 
       
   272 /* CallUi submenu */
       
   273 RESOURCE AIW_INTEREST r_find_dialog_aiw_interests /* @deprecated 3.2 */
       
   274     {
       
   275     items=
       
   276         {
       
   277         AIW_CRITERIA_ITEM
       
   278             {
       
   279             id=EFindMenuPlaceHolderCallUI;
       
   280             serviceCmd=KAiwCmdCall;
       
   281             serviceClass=KAiwClassMenu;
       
   282             contentType="*";
       
   283             defaultProvider=0x101F868E;
       
   284             maxProviders=1;
       
   285             }
       
   286         };
       
   287     }
       
   288 
       
   289 RESOURCE MENU_PANE r_finitem_callui_item /* @deprecated 3.2 */
       
   290     {
       
   291     items=
       
   292         {
       
   293         MENU_ITEM
       
   294             {
       
   295             txt=qtn_options_call;
       
   296             cascade=r_finditem_callui_submenu;
       
   297             }
       
   298         };
       
   299     }
       
   300 
       
   301 RESOURCE MENU_PANE r_finditem_callui_submenu /* @deprecated 3.2 */
       
   302     {
       
   303     items=
       
   304         {
       
   305         MENU_ITEM
       
   306             {
       
   307             command=EFindMenuPlaceHolderCallUI;
       
   308             txt="";
       
   309             }
       
   310         };
       
   311     }
       
   312 
       
   313 /* Menu for Tel Internet */
       
   314 RESOURCE MENU_PANE r_finditem_telinternetnumber_menu
       
   315     {
       
   316     items=
       
   317         {
       
   318         MENU_ITEM
       
   319             {
       
   320             command=EFindItemCmdCall;
       
   321             txt=qtn_options_call;
       
   322             },
       
   323         MENU_ITEM
       
   324             {
       
   325             command=EFindItemSubMenuSend;
       
   326             txt=qtn_phob_opt_send;
       
   327             },
       
   328         MENU_ITEM
       
   329             {
       
   330             command=EFindItemCmdCreateContactCard;
       
   331             txt=qtn_options_contacts;
       
   332             },
       
   333         MENU_ITEM
       
   334             {
       
   335             command=EFindItemCmdCopy;
       
   336             txt=qtn_find_copy;
       
   337             },
       
   338         MENU_ITEM
       
   339             {
       
   340             command=EFindItemCmdNextItem;
       
   341             txt=qtn_find_next_voip;
       
   342             },
       
   343         MENU_ITEM
       
   344             {
       
   345             command=EFindItemCmdPrevItem;
       
   346             txt=qtn_find_previous_voip;
       
   347             },
       
   348 #ifdef __SERIES60_HELP
       
   349         MENU_ITEM
       
   350             {
       
   351             command=EAknCmdHelp;
       
   352             txt=qtn_options_help;
       
   353             },
       
   354 #endif
       
   355       MENU_ITEM
       
   356             {
       
   357             command=EFindItemCmdExit;
       
   358             txt=qtn_options_exit ;
       
   359             }
       
   360         };
       
   361     }
       
   362 
       
   363 // -----------------------------------------------------------------------------
       
   364 //    r_finditem_bookmark_query_dialog
       
   365 //    Dialog for renaming a bookmark
       
   366 //
       
   367 // -----------------------------------------------------------------------------
       
   368 //
       
   369 RESOURCE DIALOG r_finditem_bookmark_query_dialog
       
   370     {
       
   371     flags=EGeneralQueryFlags;
       
   372     buttons=R_AVKON_SOFTKEYS_OK_CANCEL;
       
   373     items=
       
   374         {
       
   375         DLG_LINE
       
   376             {
       
   377             type=EAknCtQuery;
       
   378             id=EGeneralQuery;
       
   379             control=AVKON_DATA_QUERY
       
   380                 {
       
   381                 layout=EDataLayout;
       
   382                 label=qtn_wml_query_bookmark_title;
       
   383                 control=EDWIN
       
   384                     {
       
   385                     flags=EEikEdwinNoHorizScrolling |
       
   386                         EEikEdwinResizable;
       
   387                     default_case=EAknEditorLowerCase;
       
   388                     allowed_case_modes=EAknEditorLowerCase |
       
   389                         EAknEditorUpperCase;
       
   390                     default_input_mode=EAknEditorTextInputMode;
       
   391                     allowed_input_modes=EAknEditorTextInputMode |
       
   392                         EAknEditorNumericInputMode;
       
   393                     };
       
   394                 };
       
   395             }
       
   396         };
       
   397     }
       
   398 
       
   399 // NEW: RD_VIRTUAL_PHONEBOOK
       
   400 
       
   401 /* CallUi submenu */
       
   402 RESOURCE MENU_PANE r_finditem_callui_aiw_item
       
   403     {
       
   404     items=
       
   405         {
       
   406         MENU_ITEM
       
   407             {
       
   408             txt=qtn_options_call;
       
   409             cascade=r_finditem_callui_aiw_submenu;
       
   410             }
       
   411         };
       
   412     }
       
   413 
       
   414 RESOURCE MENU_PANE r_finditem_callui_aiw_submenu
       
   415     {
       
   416     items=
       
   417         {
       
   418         MENU_ITEM
       
   419             {
       
   420             command=EFindMenuPlaceHolderCallUI;
       
   421             txt="";
       
   422            }
       
   423     };
       
   424     }
       
   425 
       
   426 RESOURCE AIW_INTEREST r_finditem_callui_aiw_interest
       
   427     {
       
   428     items=
       
   429         {
       
   430         AIW_CRITERIA_ITEM
       
   431             {
       
   432             id=EFindMenuPlaceHolderCallUI;
       
   433             serviceCmd=KAiwCmdCall;
       
   434             serviceClass=KAiwClassMenu;
       
   435             contentType="*";
       
   436             defaultProvider=0x101F868E;
       
   437             maxProviders=1;
       
   438             }
       
   439         };
       
   440     }
       
   441 
       
   442 /* Contacts submenu */
       
   443 RESOURCE MENU_PANE r_finditem_contacts_aiw_item
       
   444     {
       
   445     items=
       
   446         {
       
   447         MENU_ITEM
       
   448             {
       
   449             txt=qtn_options_contacts;
       
   450             cascade=r_finditem_contacts_aiw_submenu;
       
   451             }
       
   452         };
       
   453     }
       
   454 
       
   455 RESOURCE MENU_PANE r_finditem_contacts_aiw_submenu
       
   456     {
       
   457     items=
       
   458         {
       
   459         MENU_ITEM
       
   460             {
       
   461             command=EFindMenuPlaceHolderContacts;
       
   462             txt="";
       
   463             }
       
   464         };
       
   465     }
       
   466 
       
   467 RESOURCE AIW_INTEREST r_finditem_contacts_aiw_interest
       
   468     {
       
   469     items=
       
   470         {
       
   471         AIW_CRITERIA_ITEM
       
   472             {
       
   473             id=EFindMenuPlaceHolderContacts;
       
   474             serviceCmd=KAiwCmdAssign;
       
   475             serviceClass=KAiwClassMenu;
       
   476             contentType="*";
       
   477             defaultProvider=0x1020728F; // KPbk2AiwCmdAssignImplementationUID
       
   478             maxProviders=1;
       
   479             }
       
   480         };
       
   481     }
       
   482 
       
   483 RESOURCE CBA r_finditem_softkeys_options_back__context
       
   484     {
       
   485     buttons =
       
   486         {
       
   487         CBA_BUTTON {id=EAknSoftkeyOptions; txt = text_softkey_option;},
       
   488         CBA_BUTTON {id=EAknSoftkeyBack; txt = text_softkey_back; },
       
   489         AVKON_CBA_BUTTON{id=EAknSoftkeyContextOptions; longpressid=0; txt= text_softkey_option; }
       
   490         };
       
   491     }
       
   492 
       
   493 // End of File