wvuing/wvuiave/AppRss/CAIBoxViewNG.rss
changeset 0 094583676ce7
equal deleted inserted replaced
-1:000000000000 0:094583676ce7
       
     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 of i-box view
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 //----------------------------------------------------
       
    20 //
       
    21 //    r_chatclient_chat_view
       
    22 //    View-resource definition for chatlist-view
       
    23 //
       
    24 //----------------------------------------------------
       
    25 //
       
    26 RESOURCE AVKON_VIEW r_chatclient_p2p_view
       
    27     {
       
    28     hotkeys=r_chatclient_hotkeys;
       
    29     menubar=r_chatclient_menubar_ibox_view;
       
    30     cba=R_AVKON_SOFTKEYS_SELECTION_LIST;
       
    31     }
       
    32 
       
    33 //----------------------------------------------------
       
    34 //
       
    35 //    r_chatclient_ibox_view_menu
       
    36 //    Items for menupane in ibox view
       
    37 //
       
    38 //----------------------------------------------------
       
    39 //
       
    40 RESOURCE MENU_BAR r_chatclient_menubar_ibox_view
       
    41     {
       
    42     titles=
       
    43         {
       
    44         MENU_TITLE { menu_pane=r_chatclient_general_menu; },
       
    45         
       
    46         MENU_TITLE { menu_pane=r_chatclient_ibox_view_menu; }
       
    47         };
       
    48     }
       
    49 
       
    50 RESOURCE MENU_PANE r_chatclient_ibox_view_menu
       
    51     {
       
    52     items =
       
    53         {
       
    54         MENU_ITEM
       
    55             {
       
    56             command = EChatClientIboxViewSend;
       
    57             txt = qtn_im_ibox_om_send;
       
    58             },
       
    59 
       
    60         MENU_ITEM
       
    61             {
       
    62             command=EChatClientChatViewInsertSmiley;
       
    63             txt = qtn_chat_conv_insert_smiley;
       
    64             },
       
    65                      
       
    66 	MENU_ITEM
       
    67             {
       
    68             command=EChatClientIboxInsertTemplate;
       
    69             txt = qtn_chat_conv_insert_Template;
       
    70             },
       
    71             
       
    72         MENU_ITEM
       
    73             {
       
    74             command = EChatClientOpenObject;
       
    75             txt = qtn_chat_open_object;
       
    76             },
       
    77 
       
    78         MENU_ITEM
       
    79             {
       
    80             command = EChatClientSaveObject;
       
    81             txt = qtn_chat_save_object;
       
    82             },
       
    83 
       
    84         MENU_ITEM
       
    85             {
       
    86             command = EChatClientFindMenuPlaceHolder;
       
    87             txt = "";
       
    88             },
       
    89 
       
    90         MENU_ITEM
       
    91             {
       
    92             command = EChatClientSendImage;
       
    93             txt = qtn_chat_send_image;
       
    94             },
       
    95         MENU_ITEM
       
    96             {
       
    97             command = EChatClientSendImageCascade;
       
    98             cascade = r_chatclient_send_image_submenu;
       
    99             txt = qtn_chat_send_image;
       
   100             },
       
   101 
       
   102         MENU_ITEM
       
   103             {
       
   104             command = EChatClientIboxForward;
       
   105             cascade = r_chatclient_ibox_forward_submenu;
       
   106             txt = qtn_chat_om_forward;
       
   107             },
       
   108 
       
   109         MENU_ITEM
       
   110             {
       
   111             command = EChatClientSearchAddFriends;
       
   112             txt = qtn_chat_om_addfriends;
       
   113             },
       
   114 
       
   115         MENU_ITEM
       
   116             {
       
   117             command = EChatClientIboxRecord;
       
   118             txt = qtn_chat_options_save;
       
   119             },
       
   120         
       
   121 
       
   122         MENU_ITEM
       
   123             {
       
   124             command = EChatClientIboxBlockOpt;
       
   125             cascade = r_chatclient_ibox_block_submenu;
       
   126             txt = qtn_chat_friend_om_imsg_set;
       
   127             },
       
   128 
       
   129         MENU_ITEM 
       
   130             { 
       
   131             command = EChatClientMainViewCmdChangeStatus; 
       
   132             txt = qtn_chat_friend_change_status; 
       
   133             },
       
   134 
       
   135         MENU_ITEM
       
   136             {
       
   137             command = EChatClientIboxClose;
       
   138             txt = qtn_chat_om_close_conv;
       
   139             }
       
   140 
       
   141         };
       
   142 
       
   143     }
       
   144 
       
   145 
       
   146 RESOURCE MENU_PANE r_chatclient_ibox_forward_submenu
       
   147     {
       
   148     items=
       
   149         {
       
   150         MENU_ITEM { command=EChatClientIboxForwardToContact; txt = qtn_chat_om_forward_friend; },
       
   151         MENU_ITEM { command=EChatClientIboxForwardToGroup; txt = qtn_chat_om_forward_group; }        
       
   152         };
       
   153     }
       
   154 
       
   155 
       
   156 RESOURCE MENU_PANE r_chatclient_ibox_block_submenu
       
   157     {
       
   158     items=
       
   159         {
       
   160         MENU_ITEM { command=EChatClientIboxBlock; txt = qtn_chat_friend_om_block;},
       
   161         MENU_ITEM { command=EChatClientIboxBlockEnter; txt = qtn_chat_friend_block_enter; },
       
   162         MENU_ITEM { command=EChatClientIboxBlockShow; txt = qtn_chat_friend_block_showl; }
       
   163         };
       
   164     }
       
   165 
       
   166 RESOURCE TBUF r_chatclient_block_enter_prompt { buf = qtn_chat_blcok_manual_dquery; }
       
   167 RESOURCE DIALOG r_chatclient_block_enter
       
   168     {
       
   169     flags = EEikDialogFlagWait|EEikDialogFlagNoDrag | EEikDialogFlagNoTitleBar | EEikDialogFlagCbaButtons | EEikDialogFlagNoShadow;
       
   170     buttons = R_AVKON_SOFTKEYS_OK_CANCEL__OK;
       
   171     items=
       
   172         {
       
   173         DLG_LINE
       
   174             {
       
   175             type=EAknCtQuery;
       
   176             id=EGeneralQuery;
       
   177             //itemflags=EEikDlgItemTakesEnterKey;
       
   178             control= AVKON_DATA_QUERY
       
   179                 {
       
   180                     layout = EDataLayout;
       
   181                     label = qtn_chat_blcok_manual_dquery;
       
   182                     control=EDWIN
       
   183                         {
       
   184                         flags= EEikEdwinNoHorizScrolling | EEikEdwinResizable;
       
   185                         maxlength=50;
       
   186                         width=16;
       
   187                         lines=1;
       
   188                         default_case = EAknEditorLowerCase;
       
   189                         avkon_flags = EAknEditorFlagLatinInputModesOnly;
       
   190                         };
       
   191                 };
       
   192             }
       
   193         };
       
   194     }
       
   195 
       
   196 // numeric-input enabled r_chatclient_block_enter dialog
       
   197 RESOURCE DIALOG r_chatclient_block_enter2
       
   198     {
       
   199     flags = EEikDialogFlagWait|EEikDialogFlagNoDrag | EEikDialogFlagNoTitleBar | EEikDialogFlagCbaButtons | EEikDialogFlagNoShadow;
       
   200     buttons = R_AVKON_SOFTKEYS_OK_CANCEL__OK;
       
   201     items=
       
   202         {
       
   203         DLG_LINE
       
   204             {
       
   205             type=EAknCtQuery;
       
   206             id=EGeneralQuery;
       
   207             //itemflags=EEikDlgItemTakesEnterKey;
       
   208             control= AVKON_DATA_QUERY
       
   209                 {
       
   210                     layout = EDataLayout;
       
   211                     label = qtn_chat_blcok_manual_dquery;
       
   212                     control=EDWIN
       
   213                         {
       
   214                         flags= EEikEdwinNoHorizScrolling | EEikEdwinResizable;
       
   215                         maxlength=50;
       
   216                         width=16;
       
   217                         lines=1;
       
   218                         default_case = EAknEditorLowerCase;
       
   219                         default_input_mode = EAknEditorNumericInputMode;
       
   220                         avkon_flags = EAknEditorFlagLatinInputModesOnly;
       
   221                         };
       
   222                 };
       
   223             }
       
   224         };
       
   225     }
       
   226 //----------------------------------------------------
       
   227 //
       
   228 //    r_chatclient_menubar_finditemui
       
   229 //    Menubar definition for find item menu
       
   230 //
       
   231 //----------------------------------------------------
       
   232 //
       
   233 RESOURCE MENU_BAR r_chatclient_menubar_finditemui
       
   234     {
       
   235     titles=
       
   236         {
       
   237         MENU_TITLE { menu_pane = r_chatclient_finditemui_menu; }
       
   238         };
       
   239     }
       
   240 
       
   241 //----------------------------------------------------
       
   242 //
       
   243 //    r_chatclient_finditemui_menu
       
   244 //    Items for menupane in find item menu
       
   245 //
       
   246 //----------------------------------------------------
       
   247 //
       
   248 RESOURCE MENU_PANE r_chatclient_finditemui_menu
       
   249     {
       
   250     items =
       
   251         {
       
   252         MENU_ITEM
       
   253             {
       
   254             command = EFindItemContextMenuPlaceHolder;
       
   255             txt = "";
       
   256             }
       
   257         };
       
   258     }
       
   259 
       
   260 //----------------------------------------------------
       
   261 //
       
   262 //    r_chatclient_menubar_addandreply
       
   263 //    Menubar definition for add and reply menu
       
   264 //
       
   265 //----------------------------------------------------
       
   266 //
       
   267 RESOURCE MENU_BAR r_chatclient_menubar_addandreply
       
   268     {
       
   269     titles=
       
   270         {
       
   271         MENU_TITLE { menu_pane=r_chatclient_addandreply_menu; }
       
   272         };
       
   273     }
       
   274 
       
   275 //----------------------------------------------------
       
   276 //
       
   277 //    r_chatclient_addandreply_menu
       
   278 //    Items for menupane in add and reply menu
       
   279 //
       
   280 //----------------------------------------------------
       
   281 //
       
   282 RESOURCE MENU_PANE r_chatclient_addandreply_menu
       
   283     {
       
   284     items =
       
   285         {
       
   286         MENU_ITEM
       
   287             {
       
   288             /* cascade = r_chatclient_addtocontacts_menu; */
       
   289             command = EChatClientSearchAddFriends;
       
   290             txt = qtn_chat_om_addfriends;
       
   291             },
       
   292         MENU_ITEM
       
   293             {
       
   294             command = EChatClientIboxReply;
       
   295             txt = qtn_chat_om_reply;
       
   296             }
       
   297         };
       
   298     }
       
   299 
       
   300 //Prompt for ending conversation
       
   301 RESOURCE TBUF r_close_conversation_prompt       { buf = qtn_chat_cquery_close_conv; }
       
   302 
       
   303 RESOURCE DIALOG r_close_coversation_query
       
   304     {
       
   305     flags=EGeneralQueryFlags;
       
   306     buttons=R_AVKON_SOFTKEYS_YES_NO__YES;
       
   307     items=
       
   308         {
       
   309         DLG_LINE
       
   310             {
       
   311             type=EAknCtQuery;
       
   312             id=EGeneralQuery;
       
   313             control= AVKON_CONFIRMATION_QUERY
       
   314                 {
       
   315                     layout = EConfirmationQueryLayout;
       
   316                 };
       
   317             }
       
   318         };
       
   319     }
       
   320 
       
   321 RESOURCE TBUF r_qtn_chat_media_unsupported { buf = qtn_chat_media_unsupported; }
       
   322 RESOURCE TBUF r_qtn_chat_media_corrupted { buf = qtn_chat_media_corrupted; }
       
   323 RESOURCE TBUF r_qtn_chat_scaling_error { buf = qtn_chat_scaling_error; }
       
   324 RESOURCE TBUF r_qtn_chat_scaling_image_too_big { buf = qtn_chat_scaling_image_too_big; }
       
   325 RESOURCE TBUF r_qtn_chat_mem_low_image_open_saved {buf = qtn_chat_mem_low_image_open_saved; }
       
   326 RESOURCE TBUF r_qtn_chat_mem_low_image_open {buf = qtn_chat_mem_low_image_open; }
       
   327 
       
   328 RESOURCE DIALOG r_qtn_mms_upload_info_corrupted
       
   329     {
       
   330     flags=EGeneralQueryFlags;
       
   331     buttons=R_AVKON_SOFTKEYS_OK_EMPTY__OK;
       
   332     items=
       
   333         {
       
   334         DLG_LINE
       
   335             {
       
   336             type=EAknCtQuery;
       
   337             id=EGeneralQuery;
       
   338             control= AVKON_CONFIRMATION_QUERY
       
   339                 {
       
   340                     layout = EConfirmationQueryLayout;
       
   341                     label=qtn_mms_upload_info_corrupted;
       
   342                     animation = R_QGN_NOTE_INFO_ANIM;
       
   343                 };
       
   344             }
       
   345         };
       
   346     }
       
   347 
       
   348 RESOURCE DIALOG r_qtn_mms_info_obj_not_supp_send
       
   349     {
       
   350     flags=EGeneralQueryFlags;
       
   351     buttons=R_AVKON_SOFTKEYS_OK_EMPTY__OK;
       
   352     items=
       
   353         {
       
   354         DLG_LINE
       
   355             {
       
   356             type=EAknCtQuery;
       
   357             id=EGeneralQuery;
       
   358             control= AVKON_CONFIRMATION_QUERY
       
   359                 {
       
   360                     layout = EConfirmationQueryLayout;
       
   361                     label=qtn_mms_info_obj_not_supp_send;
       
   362                     animation = R_QGN_NOTE_INFO_ANIM;
       
   363                 };
       
   364             }
       
   365         };
       
   366     }
       
   367     
       
   368 RESOURCE DIALOG r_qtn_drm_info_send_forbid_one
       
   369     {
       
   370     flags=EGeneralQueryFlags;
       
   371     buttons=R_AVKON_SOFTKEYS_OK_EMPTY__OK;
       
   372     items=
       
   373         {
       
   374         DLG_LINE
       
   375             {
       
   376             type=EAknCtQuery;
       
   377             id=EGeneralQuery;
       
   378             control= AVKON_CONFIRMATION_QUERY
       
   379                 {
       
   380                     layout = EConfirmationQueryLayout;
       
   381                     label=qtn_drm_info_send_forbid_one;
       
   382                     animation = R_QGN_NOTE_INFO_ANIM;
       
   383                 };
       
   384             }
       
   385         };
       
   386     }
       
   387     
       
   388 RESOURCE DIALOG r_qtn_drm_info_send_forbid_some
       
   389     {
       
   390     flags=EGeneralQueryFlags;
       
   391     buttons=R_AVKON_SOFTKEYS_OK_EMPTY__OK;
       
   392     items=
       
   393         {
       
   394         DLG_LINE
       
   395             {
       
   396             type=EAknCtQuery;
       
   397             id=EGeneralQuery;
       
   398             control= AVKON_CONFIRMATION_QUERY
       
   399                 {
       
   400                     layout = EConfirmationQueryLayout;
       
   401                     label=qtn_drm_info_send_forbid_some;
       
   402                     animation = R_QGN_NOTE_INFO_ANIM;
       
   403                 };
       
   404             }
       
   405         };
       
   406     }        
       
   407 
       
   408 // softkey for select image
       
   409 RESOURCE TBUF r_text_softkey_select { buf = text_softkey_select; }
       
   410 
       
   411 RESOURCE TBUF r_text_softkey_back   { buf = text_softkey_back; }
       
   412 
       
   413 RESOURCE TBUF r_qtn_chat_unnamed_file { buf = qtn_chat_unnamed_file; }
       
   414 
       
   415 RESOURCE TBUF r_qtn_drm_not_allowed { buf = qtn_drm_not_allowed; }