idlehomescreen/widgetmanager/data/widgetmanagerview.rss
branchRCL_3
changeset 83 5456b4e8b3a8
child 93 b01126ce0bec
equal deleted inserted replaced
82:5f0182e07bfb 83:5456b4e8b3a8
       
     1 /*
       
     2 * Copyright (c) 2009 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:
       
    15 * 
       
    16 *
       
    17 */
       
    18 
       
    19 //  INCLUDES
       
    20 #include <eikon.rh>
       
    21 #include <avkon.rsg>
       
    22 #include <avkon.rh>
       
    23 #include <avkon.loc>
       
    24 #include <appinfo.rh>
       
    25 #include <avkon.mbg>
       
    26 #include <widgetmanagerview.loc>
       
    27 
       
    28 #include "widgetmanager.hrh"
       
    29 
       
    30 
       
    31 //  RESOURCE IDENTIFIER
       
    32 NAME    WIGZ // 4 letter ID
       
    33 
       
    34 RESOURCE RSS_SIGNATURE
       
    35 	{
       
    36 	}
       
    37 
       
    38 // ----------------------------------------------------
       
    39 // MAIN VIEW AND ITS PARTS
       
    40 // ----------------------------------------------------
       
    41 
       
    42 RESOURCE AVKON_VIEW r_wm_main_container_view
       
    43     {
       
    44     cba = R_AVKON_SOFTKEYS_OPTIONS_BACK;
       
    45     menubar = r_wm_main_container_options_menu;
       
    46     toolbar = 0;
       
    47     }
       
    48 
       
    49 RESOURCE TITLE_PANE r_wm_main_container_title_resource
       
    50     {
       
    51     txt = qtn_wm_title_text;
       
    52     }
       
    53 
       
    54 // ----------------------------------------------------
       
    55 // MENU
       
    56 // ----------------------------------------------------
       
    57 
       
    58 RESOURCE MENU_BAR r_wm_main_container_options_menu
       
    59     {
       
    60     titles =
       
    61         {
       
    62         MENU_TITLE
       
    63             {
       
    64             menu_pane = r_wm_main_container_menu_pane;
       
    65             }
       
    66         };
       
    67     }
       
    68 
       
    69 RESOURCE MENU_PANE r_wm_main_container_menu_pane
       
    70     {
       
    71     items =
       
    72         {
       
    73         MENU_ITEM
       
    74             {
       
    75             command = EWmMainContainerViewOpenPortalMenuItemCommand;
       
    76             txt = qtn_options_wm_open;
       
    77             flags = EEikMenuItemAction;
       
    78             },
       
    79         MENU_ITEM
       
    80             {
       
    81             command = EWmMainContainerViewAddMenuItemCommand;
       
    82             txt = qtn_options_wm_add;
       
    83             flags = EEikMenuItemAction;
       
    84             },
       
    85         MENU_ITEM
       
    86             {
       
    87             command = EWmMainContainerViewWiddetDetailsMenuItemCommand;
       
    88             txt = qtn_options_wm_show_details;
       
    89             flags = EEikMenuItemSpecific;
       
    90             },    
       
    91         MENU_ITEM
       
    92             {
       
    93             command = EWmMainContainerViewLaunchMenuItemCommand;
       
    94             txt = qtn_options_wm_launch_widget;
       
    95             flags = EEikMenuItemSpecific;
       
    96             },
       
    97         MENU_ITEM
       
    98             {
       
    99             command = EWmMainContainerViewSearchMenuItemCommand;
       
   100             txt = qtn_options_wm_search;
       
   101             },
       
   102         MENU_ITEM
       
   103             {
       
   104             command = EWmMainContainerViewSortAlphaMenuItemCommand;
       
   105             txt = qtn_options_wm_sort_alpha;
       
   106             },
       
   107         MENU_ITEM
       
   108             {
       
   109             command = EWmMainContainerViewUninstallMenuItemCommand;
       
   110             txt = qtn_options_wm_uninstall;
       
   111             flags = EEikMenuItemSpecific;
       
   112             },
       
   113         MENU_ITEM
       
   114             {
       
   115             command = EWmMainContainerViewHelpMenuItemCommand;
       
   116             txt = qtn_options_help;
       
   117             },
       
   118         MENU_ITEM
       
   119             {
       
   120             command = EWmMainContainerViewBackMenuItemCommand;
       
   121             txt = qtn_options_exit;
       
   122             }
       
   123         };
       
   124     }
       
   125 
       
   126 // ----------------------------------------------------
       
   127 // OVI STORE BUTTON
       
   128 // ----------------------------------------------------
       
   129 
       
   130 RESOURCE AVKON_BUTTON r_wm_portal_button
       
   131     {
       
   132     flags = 0;
       
   133     states =
       
   134         {
       
   135         AVKON_BUTTON_STATE
       
   136             {
       
   137             flags = 0;
       
   138             txt = qtn_wm_ovi_store_title;
       
   139             }
       
   140         };
       
   141     }
       
   142 
       
   143 RESOURCE TBUF r_qtn_wm_go_to_ovi_store
       
   144     {
       
   145     buf = qtn_wm_ovi_store_title;
       
   146     }
       
   147 
       
   148 // ----------------------------------------------------
       
   149 // MISCELLANEOUS INFO MESSAGES
       
   150 // ----------------------------------------------------
       
   151 
       
   152 RESOURCE TBUF r_qtn_hs_add_widget_no_space_note
       
   153     {
       
   154     buf = qtn_hs_add_widget_no_space_note;
       
   155     }
       
   156 
       
   157 RESOURCE TBUF r_qtn_hs_add_widget_max_count_note
       
   158     {
       
   159     buf = qtn_hs_add_widget_max_count_note;
       
   160     }
       
   161 
       
   162 RESOURCE TBUF r_qtn_hs_hs_memory_full
       
   163     {
       
   164     buf = qtn_hs_hs_memory_full;
       
   165     }
       
   166 
       
   167 RESOURCE TBUF r_qtn_wm_details_no_description
       
   168     {
       
   169     buf = qtn_wm_details_no_description;
       
   170     }
       
   171 
       
   172 RESOURCE TBUF r_qtn_wm_widget_details_wrt
       
   173     {
       
   174     buf = qtn_wm_widget_details_wrt;
       
   175     }
       
   176 
       
   177 RESOURCE TBUF r_qtn_wm_uninst_not_allowed
       
   178     {
       
   179     buf = qtn_wm_uninst_not_allowed;
       
   180     }
       
   181     
       
   182 RESOURCE TBUF r_qtn_wm_uninstall_widget_query
       
   183     {
       
   184     buf = qtn_wm_uninstall_widget_query;
       
   185     }
       
   186 
       
   187 RESOURCE TBUF r_qtn_wm_uninst_process_busy
       
   188     {
       
   189     buf = qtn_wm_uninst_process_busy;
       
   190     }
       
   191 
       
   192 RESOURCE TBUF r_qtn_hs_add_widget_max_reached
       
   193     {
       
   194     buf = qtn_hs_add_widget_max_reached;
       
   195     }
       
   196     
       
   197 RESOURCE TBUF r_qtn_wm_uninstall_text
       
   198     {
       
   199     buf = qtn_wm_uninstall_text;
       
   200     }
       
   201 
       
   202 // ----------------------------------------------------
       
   203 // Wm Details dialog
       
   204 // ----------------------------------------------------
       
   205 
       
   206 STRUCT WMDLGCONTROL
       
   207     {
       
   208     STRUCT control;
       
   209     }
       
   210 	
       
   211 RESOURCE DIALOG r_wm_details_add_dialog
       
   212     {
       
   213     flags = EEikDialogFlagNoDrag |
       
   214             EEikDialogFlagCbaButtons |
       
   215             EEikDialogFlagWait |
       
   216             EEikDialogFlagNoTitleBar;
       
   217     buttons = r_wm_details_add_close_cba;
       
   218     }
       
   219 
       
   220 RESOURCE CBA r_wm_details_add_close_cba
       
   221     {
       
   222     buttons =
       
   223         {
       
   224         CBA_BUTTON // add
       
   225             {
       
   226             id = ECbaAddToHs; 
       
   227             txt = qtn_wm_details_add_to_hs; 
       
   228             },
       
   229         CBA_BUTTON // close
       
   230             {
       
   231             id = EAknSoftkeyClose; 
       
   232             txt = text_softkey_close;
       
   233             }
       
   234         };
       
   235     }
       
   236 
       
   237 RESOURCE DIALOG r_wm_details_only_dialog
       
   238     {
       
   239     flags = EEikDialogFlagNoDrag |
       
   240             EEikDialogFlagCbaButtons |
       
   241             EEikDialogFlagWait |
       
   242             EEikDialogFlagNoTitleBar;
       
   243     buttons = r_wm_details_empty_close_cba;
       
   244     }
       
   245 
       
   246 RESOURCE CBA r_wm_details_empty_close_cba
       
   247     {
       
   248     buttons =
       
   249         {
       
   250         CBA_BUTTON // empty
       
   251             {
       
   252             id = 0; 
       
   253             txt = text_softkey_empty; 
       
   254             },
       
   255         CBA_BUTTON // close
       
   256             {
       
   257             id = EAknSoftkeyClose; 
       
   258             txt = text_softkey_close;
       
   259             }
       
   260         };
       
   261     }