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