idlehomescreen/widgetmanager/data/widgetmanagerview.rss
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Tue, 02 Feb 2010 00:04:13 +0200
changeset 5 c743ef5928ba
parent 4 4d54b72983ae
child 9 f966699dea19
permissions -rw-r--r--
Revision: 201003 Kit: 201005

/*
* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies)..
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description:
* 
*
*/

//  INCLUDES
#include <eikon.rh>
#include <avkon.rsg>
#include <avkon.rh>
#include <avkon.loc>
#include <appinfo.rh>
#include <avkon.mbg>
#include <activeidle3.loc>
#include <widgetmanagerview.loc>

#include "widgetmanager.hrh"


//  RESOURCE IDENTIFIER
NAME    WIGZ // 4 letter ID

RESOURCE RSS_SIGNATURE
	{
	}

// ----------------------------------------------------
// MAIN VIEW AND ITS PARTS
// ----------------------------------------------------

RESOURCE AVKON_VIEW r_wm_main_container_view
    {
    cba = R_AVKON_SOFTKEYS_OPTIONS_BACK__SELECT;
    menubar = r_wm_main_container_options_menu;
    toolbar = 0;
    }

RESOURCE TITLE_PANE r_wm_main_container_title_resource
    {
    txt = qtn_wm_title_text;
    }

// ----------------------------------------------------
// MENU
// ----------------------------------------------------

RESOURCE MENU_BAR r_wm_main_container_options_menu
    {
    titles =
        {
        MENU_TITLE
            {
            menu_pane = r_wm_main_container_menu_pane;
            }
        };
    }

RESOURCE MENU_PANE r_wm_main_container_menu_pane
    {
    items =
        {
        MENU_ITEM
            {
            command = EWmMainContainerViewOpenPortalMenuItemCommand;
            txt = qtn_options_wm_open;
            flags = EEikMenuItemAction;
            },
        MENU_ITEM
            {
            command = EWmMainContainerViewAddMenuItemCommand;
            txt = qtn_options_wm_add;
            flags = EEikMenuItemAction;
            },
        MENU_ITEM
            {
            command = EWmMainContainerViewWiddetDetailsMenuItemCommand;
            txt = qtn_options_wm_show_details;
            flags = EEikMenuItemSpecific;
            },    
        MENU_ITEM
            {
            command = EWmMainContainerViewLaunchMenuItemCommand;
            txt = qtn_options_wm_launch_widget;
            flags = EEikMenuItemSpecific;
            },
        MENU_ITEM
            {
            command = EWmMainContainerViewSearchMenuItemCommand;
            txt = qtn_options_wm_search;
            },
        MENU_ITEM
            {
            command = EWmMainContainerViewSortAlphaMenuItemCommand;
            txt = qtn_options_wm_sort_alpha;
            },
        MENU_ITEM
            {
            command = EWmMainContainerViewUninstallMenuItemCommand;
            txt = qtn_options_wm_uninstall;
            flags = EEikMenuItemSpecific;
            },
        MENU_ITEM
            {
            command = EWmMainContainerViewHelpMenuItemCommand;
            txt = qtn_options_help;
            },
        MENU_ITEM
            {
            command = EWmMainContainerViewBackMenuItemCommand;
            txt = qtn_options_exit;
            }
        };
    }

// ----------------------------------------------------
// OVI STORE BUTTON
// ----------------------------------------------------

RESOURCE AVKON_BUTTON r_wm_portal_button
    {
    flags = 0;
    states =
        {
        AVKON_BUTTON_STATE
            {
            flags = 0;
            txt = qtn_wm_ovi_store_title;
            }
        };
    }

RESOURCE TBUF r_qtn_wm_go_to_ovi_store
    {
    buf = qtn_wm_ovi_store_title;
    }

// ----------------------------------------------------
// MISCELLANEOUS INFO MESSAGES
// ----------------------------------------------------

RESOURCE TBUF r_qtn_hs_add_widget_no_space_note
    {
    buf = qtn_hs_add_widget_no_space_note;
    }

RESOURCE TBUF r_qtn_hs_add_widget_max_count_note
    {
    buf = qtn_hs_add_widget_max_count_note;
    }

RESOURCE TBUF r_qtn_hs_hs_memory_full
    {
    buf = qtn_hs_hs_memory_full;
    }

RESOURCE TBUF r_qtn_wm_details_no_description
    {
    buf = qtn_wm_details_no_description;
    }

RESOURCE TBUF r_qtn_wm_widget_details_wrt
    {
    buf = qtn_wm_widget_details_wrt;
    }

RESOURCE TBUF r_qtn_wm_uninst_not_allowed
    {
    buf = qtn_wm_uninst_not_allowed;
    }
    
RESOURCE TBUF r_qtn_wm_uninstall_widget_query
    {
    buf = qtn_wm_uninstall_widget_query;
    }

RESOURCE TBUF r_qtn_wm_uninst_process_busy
    {
    buf = qtn_wm_uninst_process_busy;
    }

RESOURCE TBUF r_qtn_wm_uninstall_text
    {
    buf = qtn_wm_uninstall_text;
    }

// ----------------------------------------------------
// Wm Details dialog
// ----------------------------------------------------

STRUCT WMDLGCONTROL
    {
    STRUCT control;
    }
	
RESOURCE DIALOG r_wm_details_add_dialog
    {
    flags = EEikDialogFlagNoDrag |
            EEikDialogFlagCbaButtons |
            EEikDialogFlagWait |
            EEikDialogFlagNoTitleBar;
    buttons = r_wm_details_add_close_cba;
    }

RESOURCE CBA r_wm_details_add_close_cba
    {
    buttons =
        {
        CBA_BUTTON // add
            {
            id = ECbaAddToHs; 
            txt = qtn_wm_details_add_to_hs; 
            },
        CBA_BUTTON // close
            {
            id = EAknSoftkeyClose; 
            txt = text_softkey_close;
            }
        };
    }

RESOURCE DIALOG r_wm_details_only_dialog
    {
    flags = EEikDialogFlagNoDrag |
            EEikDialogFlagCbaButtons |
            EEikDialogFlagWait |
            EEikDialogFlagNoTitleBar;
    buttons = r_wm_details_empty_close_cba;
    }

RESOURCE CBA r_wm_details_empty_close_cba
    {
    buttons =
        {
        CBA_BUTTON // empty
            {
            id = 0; 
            txt = text_softkey_empty; 
            },
        CBA_BUTTON // close
            {
            id = EAknSoftkeyClose; 
            txt = text_softkey_close;
            }
        };
    }