--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/photosgallery/viewframework/plugins/gridviewplugin/data/glxgridviewdata.rss Thu Dec 17 08:45:44 2009 +0200
@@ -0,0 +1,610 @@
+/*
+* Copyright (c) 2008-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: Resource definitions for Grid View plugin
+*
+*/
+
+
+
+
+// RESOURCE IDENTIFIER
+NAME MPXC
+
+// INCLUDES
+
+#include "glxcommandhandlers.hrh"
+#include "glxcontainercommonresources.rh"
+#include <eikon.rsg>
+#include <avkon.rsg>
+#include <avkon.rh>
+#include <avkon.loc>
+#include <avkon.mbg>
+#include <glxicons.mbg>
+#include <eikon.rh>
+#include <AiwCommon.hrh>
+#include <drmcommon.loc>
+#include <photos.loc>
+
+// RESOURCE DEFINITIONS
+
+RESOURCE RSS_SIGNATURE { }
+
+RESOURCE TBUF { buf="GLTV"; }
+
+// -----------------------------------------------------------------------------------
+// Resource Definitions
+// -----------------------------------------------------------------------------------
+
+// Downloads Grid View
+RESOURCE AVKON_VIEW r_grid_view
+ {
+ menubar = r_grid_menubar;
+ cba = r_grid_softkeys;
+ toolbar = r_glx_grid_view_toolbar;
+ }
+
+// Captured Grid View
+RESOURCE AVKON_VIEW r_glx_captured_grid_view
+ {
+ menubar = r_grid_menubar;
+ cba = r_grid_softkeys;
+ toolbar = r_glx_grid_view_toolbar;
+ }
+
+// Months Grid View
+RESOURCE AVKON_VIEW r_glx_months_grid_view
+ {
+ menubar = r_grid_menubar;
+ cba = r_grid_softkeys;
+ toolbar = r_glx_grid_view_toolbar;
+ }
+
+// Albums Grid View
+RESOURCE AVKON_VIEW r_glx_album_grid_view
+ {
+ menubar = r_glx_album_grid_menubar;
+ cba = r_grid_softkeys;
+ toolbar = r_glx_grid_view_toolbar;
+ }
+
+// Tag Grid View
+RESOURCE AVKON_VIEW r_taggrid_view
+ {
+ menubar = r_taggrid_menubar;
+ cba = r_grid_softkeys;
+ toolbar = r_glx_grid_view_toolbar;
+ }
+
+
+// ------------------------------------------------------------------------------------
+// Menu Bar Resources
+// ------------------------------------------------------------------------------------
+
+// Basic Grid Views
+RESOURCE MENU_BAR r_grid_menubar
+ {
+ titles=
+ {
+ MENU_TITLE { menu_pane=r_glx_grid_menu; txt=""; }
+ };
+ }
+
+// Albums Grid View
+RESOURCE MENU_BAR r_glx_album_grid_menubar
+ {
+ titles=
+ {
+ MENU_TITLE { menu_pane=r_glx_album_grid_menu; txt=""; }
+ };
+ }
+
+// Tags Grid View
+RESOURCE MENU_BAR r_taggrid_menubar
+ {
+ titles=
+ {
+ MENU_TITLE { menu_pane=r_taggrid_menu; txt=""; }
+ };
+ }
+
+
+// ------------------------------------------------------------------------------------
+// Menu Contents for Grid views
+// ------------------------------------------------------------------------------------
+
+// Basic grid views
+RESOURCE MENU_PANE r_glx_grid_menu
+ {
+ items=
+ {
+ MENU_ITEM { command = EAknCmdOpen;
+ txt = qtn_msk_open; },
+ MENU_ITEM { command = EGlxCmdPlay;
+ txt = qtn_lgal_options_play; },
+ MENU_ITEM { command = EGlxCmdSend;
+ txt = qtn_options_send_via;
+ flags = EEikMenuItemSpecific; },
+ MENU_ITEM { command = EGlxCmdAiwShareOnOvi;
+ /* txt comes from ShareOnline 4.3 */
+ flags = EEikMenuItemSpecific;},
+ MENU_ITEM { command = EGlxCmdDelete;
+ txt = qtn_lgal_options_delete;
+ flags = EEikMenuItemSpecific; },
+ MENU_ITEM { command = EGlxCmdSlideshowPlay;
+ txt = qtn_lgal_options_slideshow;
+ flags = EEikMenuItemSpecific;},
+ MENU_ITEM { command = EGlxCmdSlideshow;
+ txt = qtn_lgal_options_slideshow;
+ cascade = r_grid_shw_menu; },
+ MENU_ITEM { command = EGlxCmdAiwEdit;
+ txt = qtn_lgal_options_edit;
+ cascade = AIW_INTELLIGENT_CASCADE_ID|AIW_LOCK_SUBMENU_TITLE;
+ flags = EEikMenuItemSpecificListQuery;},
+ MENU_ITEM { command = EGlxCmdDetails;
+ txt = qtn_lgal_options_details; },
+ MENU_ITEM { command = EGlxCmdMarkingSubmenu;
+ txt = qtn_options_list;
+ cascade = r_viu_editlist_menu; },
+ MENU_ITEM { command = EGlxCmdAddToAlbum;
+ txt = qtn_lgal_options_add_to_album;
+ flags = EEikMenuItemSpecific; },
+ MENU_ITEM { command = EGlxCmdAddTag;
+ txt = qtn_lgal_options_properties_add_tag;
+ flags = EEikMenuItemSpecific; },
+ MENU_ITEM { command = EGlxCmdAiwAssign;
+ txt = qtn_lgal_options_use_items;
+ cascade = AIW_INTELLIGENT_CASCADE_ID|AIW_LOCK_SUBMENU_TITLE; },
+ MENU_ITEM { command = EGlxCmdAiwShowMap;
+ txt = qtn_lgal_option_show_on_map;
+ cascade = AIW_INTELLIGENT_CASCADE_ID|AIW_LOCK_SUBMENU_TITLE; },
+ MENU_ITEM { command = EGlxCmdDrmMoreInfoOnline;
+ txt=qtn_drm_options_more_info; },
+ MENU_ITEM { command = EGlxCmdAiwPrint;
+ txt = qtn_lgal_options_print_menu;
+ cascade = AIW_INTELLIGENT_CASCADE_ID|AIW_LOCK_SUBMENU_TITLE; },
+ MENU_ITEM { command = EGlxHomeNetworkSubmenu;
+ txt = qtn_lgal_options_home_network;
+ cascade = r_home_network_menu; },
+ MENU_ITEM { command = EAknCmdHelp;
+ txt = qtn_options_help; },
+ MENU_ITEM { command = EAknCmdExit;
+ txt = qtn_options_exit; }
+ };
+ }
+
+// Albums Grid
+RESOURCE MENU_PANE r_glx_album_grid_menu
+ {
+ items=
+ {
+ MENU_ITEM { command = EAknCmdOpen;
+ txt = qtn_msk_open; },
+ MENU_ITEM { command = EGlxCmdPlay;
+ txt = qtn_lgal_options_play; },
+ MENU_ITEM { command = EGlxCmdSend;
+ txt = qtn_options_send_via;
+ flags = EEikMenuItemSpecific; },
+ MENU_ITEM { command = EGlxCmdAiwShareOnOvi;
+ /* txt comes from ShareOnline 4.3 */
+ flags = EEikMenuItemSpecific;},
+ MENU_ITEM { command = EGlxCmdRemoveFrom;
+ txt = qtn_lgal_options_remove_from_album;
+ flags = EEikMenuItemSpecific; },
+ MENU_ITEM { command = EGlxCmdDelete;
+ txt = qtn_lgal_options_delete;
+ flags = EEikMenuItemSpecific; },
+ MENU_ITEM { command = EGlxCmdSlideshowPlay;
+ txt = qtn_lgal_options_slideshow;
+ flags = EEikMenuItemSpecific;},
+ MENU_ITEM { command = EGlxCmdSlideshow;
+ txt = qtn_lgal_options_slideshow;
+ cascade = r_grid_shw_menu; },
+ MENU_ITEM { command = EGlxCmdAiwEdit;
+ txt = qtn_lgal_options_edit;
+ cascade = AIW_INTELLIGENT_CASCADE_ID|AIW_LOCK_SUBMENU_TITLE;
+ flags = EEikMenuItemSpecificListQuery;},
+ MENU_ITEM { command = EGlxCmdDetails;
+ txt = qtn_lgal_options_details; },
+ MENU_ITEM { command = EGlxCmdMarkingSubmenu;
+ txt = qtn_options_list;
+ cascade = r_viu_editlist_menu; },
+ MENU_ITEM { command = EGlxCmdAddToAlbum;
+ txt = qtn_lgal_options_add_to_album;
+ flags = EEikMenuItemSpecific; },
+ MENU_ITEM { command = EGlxCmdAddTag;
+ txt = qtn_lgal_options_properties_add_tag; },
+ MENU_ITEM { command = EGlxCmdAiwAssign;
+ txt = qtn_lgal_options_use_items;
+ cascade = AIW_INTELLIGENT_CASCADE_ID|AIW_LOCK_SUBMENU_TITLE; },
+ MENU_ITEM { command = EGlxCmdAiwShowMap;
+ txt = qtn_lgal_option_show_on_map;
+ cascade = AIW_INTELLIGENT_CASCADE_ID|AIW_LOCK_SUBMENU_TITLE; },
+ MENU_ITEM { command = EGlxCmdDrmMoreInfoOnline;
+ txt=qtn_drm_options_more_info; },
+ MENU_ITEM { command = EGlxCmdAiwPrint;
+ txt = qtn_lgal_options_print_menu;
+ cascade = AIW_INTELLIGENT_CASCADE_ID|AIW_LOCK_SUBMENU_TITLE; },
+ MENU_ITEM { command = EGlxHomeNetworkSubmenu;
+ txt = qtn_lgal_options_home_network;
+ cascade = r_home_network_menu; },
+ MENU_ITEM { command = EAknCmdHelp;
+ txt = qtn_options_help; },
+ MENU_ITEM { command = EAknCmdExit;
+ txt = qtn_options_exit; }
+ };
+ }
+
+// Tags Grid
+RESOURCE MENU_PANE r_taggrid_menu
+ {
+ items=
+ {
+ MENU_ITEM { command = EAknCmdOpen;
+ txt = qtn_msk_open; },
+ MENU_ITEM { command = EGlxCmdPlay;
+ txt = qtn_lgal_options_play; },
+ MENU_ITEM { command = EGlxCmdSend;
+ txt = qtn_options_send_via;
+ flags = EEikMenuItemSpecific; },
+ MENU_ITEM { command = EGlxCmdAiwShareOnOvi;
+ /* txt comes from ShareOnline 4.3 */
+ flags = EEikMenuItemSpecific;},
+ MENU_ITEM { command=EGlxCmdRemoveFrom;
+ txt = qtn_lgal_options_remove_from_tag;
+ flags = EEikMenuItemSpecific; },
+ MENU_ITEM { command = EGlxCmdDelete;
+ txt = qtn_lgal_options_delete;
+ flags = EEikMenuItemSpecific; },
+ MENU_ITEM { command = EGlxCmdSlideshowPlay;
+ txt = qtn_lgal_options_slideshow;
+ flags = EEikMenuItemSpecific;},
+ MENU_ITEM { command = EGlxCmdAiwEdit;
+ txt = qtn_lgal_options_edit;
+ cascade = AIW_INTELLIGENT_CASCADE_ID|AIW_LOCK_SUBMENU_TITLE;
+ flags = EEikMenuItemSpecific;},
+ MENU_ITEM { command = EGlxCmdDetails;
+ txt = qtn_lgal_options_details; },
+ MENU_ITEM { command = EGlxCmdMarkingSubmenu;
+ txt = qtn_options_list;
+ cascade = r_viu_editlist_menu; },
+ MENU_ITEM { command = EGlxCmdAddToAlbum;
+ txt = qtn_lgal_options_add_to_album; },
+ MENU_ITEM { command = EGlxCmdAddTag;
+ txt = qtn_lgal_options_properties_add_tag;
+ flags = EEikMenuItemSpecific; },
+ MENU_ITEM { command = EGlxCmdAiwAssign;
+ txt = qtn_lgal_options_use_items;
+ cascade = AIW_INTELLIGENT_CASCADE_ID|AIW_LOCK_SUBMENU_TITLE; },
+ MENU_ITEM { command = EGlxCmdAiwShowMap;
+ txt = qtn_lgal_option_show_on_map;
+ cascade = AIW_INTELLIGENT_CASCADE_ID|AIW_LOCK_SUBMENU_TITLE; },
+ MENU_ITEM { command = EGlxCmdDrmMoreInfoOnline;
+ txt=qtn_drm_options_more_info; },
+ MENU_ITEM { command = EGlxCmdAiwPrint;
+ txt = qtn_lgal_options_print_menu;
+ cascade = AIW_INTELLIGENT_CASCADE_ID|AIW_LOCK_SUBMENU_TITLE; },
+ MENU_ITEM { command = EGlxHomeNetworkSubmenu;
+ txt = qtn_lgal_options_home_network;
+ cascade = r_home_network_menu; },
+ MENU_ITEM { command = EAknCmdHelp;
+ txt = qtn_options_help; },
+ MENU_ITEM { command = EAknCmdExit;
+ txt = qtn_options_exit; }
+ };
+ }
+
+
+
+
+// ------------------------------------------------------------------------------------
+// Submenu contents
+// ------------------------------------------------------------------------------------
+
+// Slideshow submenu
+RESOURCE MENU_PANE r_grid_shw_menu
+ {
+ items=
+ {
+ MENU_ITEM { command=EGlxCmdSlideshowPlay; txt=qtn_lgal_options_slideshow_play; },
+ MENU_ITEM { command=EGlxCmdSlideshowSettings; txt=qtn_lgal_options_slideshow_settings_general; }
+ };
+ }
+
+
+// EditList sub menu for Marking
+RESOURCE MENU_PANE r_viu_editlist_menu
+ {
+ items =
+ {
+ /*MENU_ITEM
+ {
+ command = EAknCmdMark;
+ txt = qtn_options_list_mark_one;
+ },*/
+ MENU_ITEM
+ {
+ command = EAknMarkAll;
+ txt = qtn_options_list_mark_all;
+ },
+ /*MENU_ITEM
+ {
+ command = EAknCmdUnmark;
+ txt = qtn_options_list_unmark_one;
+ },*/
+ MENU_ITEM
+ {
+ command = EAknUnmarkAll;
+ txt = qtn_options_list_unmark_all;
+ }
+ };
+ }
+
+// Rotate Sub menu
+//RESOURCE MENU_PANE r_rotate_sub_menu
+// {
+// items =
+// {
+// MENU_ITEM
+// {
+// command = EGlxCmdRotateLeft;
+// txt = qtn_lgal_options_rotate_left;
+// },
+// MENU_ITEM
+// {
+// command = EGlxCmdRotateRight;
+// txt = qtn_lgal_options_rotate_right;
+// }
+// };
+// }
+
+// Home Network sub menu
+RESOURCE MENU_PANE r_home_network_menu
+ {
+ items=
+ {
+ MENU_ITEM { command=EGlxShowViaUpnpSubmenuVersion; txt=qtn_lgal_options_sub_show_ext; },
+ MENU_ITEM { command=EGlxStopShowingSubmenuVersion; txt=qtn_lgal_options_sub_stop_show; },
+ MENU_ITEM { command=EGlxCopyToHomeNetwork; txt=qtn_lgal_options_copy_to_home_net; }
+ };
+ }
+
+
+// ------------------------------------------------------------------------------------
+// Other Menubars
+// ------------------------------------------------------------------------------------
+
+RESOURCE MENU_BAR r_grid_ok_menubar
+ {
+ titles=
+ {
+ MENU_TITLE { menu_pane=r_grid_ok_menu; txt=""; }
+ };
+ }
+
+RESOURCE MENU_BAR r_grid_ok_menubar_album_gridview
+ {
+ titles=
+ {
+ MENU_TITLE { menu_pane=r_grid_ok_menu_album_gridview; txt=""; }
+ };
+ }
+
+RESOURCE MENU_BAR r_grid_ok_menubar_tag_gridview
+ {
+ titles=
+ {
+ MENU_TITLE { menu_pane=r_grid_ok_menu_tag_gridview; txt=""; }
+ };
+ }
+
+RESOURCE MENU_PANE r_grid_ok_menu
+ {
+ items=
+ {
+ MENU_ITEM { command = EGlxCmdDelete;
+ txt = qtn_lgal_options_delete; },
+ MENU_ITEM { command = EAknUnmarkAll;
+ txt = qtn_options_list_unmark_all; },
+ MENU_ITEM { command = EGlxCmdAddToAlbum;
+ txt = qtn_lgal_options_add_to_album; },
+ MENU_ITEM { command = EGlxCmdAddTag;
+ txt = qtn_lgal_options_properties_add_tag; }
+ };
+ }
+
+RESOURCE MENU_PANE r_grid_ok_menu_album_gridview
+ {
+ items=
+ {
+ MENU_ITEM { command = EGlxCmdDelete;
+ txt = qtn_lgal_options_delete; },
+ MENU_ITEM { command = EAknUnmarkAll;
+ txt = qtn_options_list_unmark_all; },
+ MENU_ITEM { command = EGlxCmdAddToAlbum;
+ txt = qtn_lgal_options_add_to_album; },
+ MENU_ITEM { command = EGlxCmdAddTag;
+ txt = qtn_lgal_options_properties_add_tag; },
+ MENU_ITEM { command = EGlxCmdRemoveFrom;
+ txt = qtn_lgal_options_remove_from_album; }
+ };
+ }
+
+RESOURCE MENU_PANE r_grid_ok_menu_tag_gridview
+ {
+ items=
+ {
+ MENU_ITEM { command = EGlxCmdDelete;
+ txt = qtn_lgal_options_delete; },
+ MENU_ITEM { command = EAknUnmarkAll;
+ txt = qtn_options_list_unmark_all; },
+ MENU_ITEM { command = EGlxCmdAddToAlbum;
+ txt = qtn_lgal_options_add_to_album; },
+ MENU_ITEM { command = EGlxCmdAddTag;
+ txt = qtn_lgal_options_properties_add_tag; },
+ MENU_ITEM { command=EGlxCmdRemoveFrom;
+ txt=qtn_lgal_options_remove_from_tag; }
+ };
+ }
+
+// ------------------------------------------------------------------------------------
+// Softkey resources
+// ------------------------------------------------------------------------------------
+
+RESOURCE CBA r_grid_softkeys
+ {
+ buttons =
+ {
+ CBA_BUTTON
+ {
+ id = EGlxCmdOptions;
+ txt = text_softkey_option;
+ },
+ CBA_BUTTON
+ {
+ id = EAknSoftkeyBack;
+ txt = text_softkey_back;
+ },
+ CBA_BUTTON
+ {
+ id = EAknCmdOpen;
+ txt = qtn_msk_open;
+ }
+ };
+ }
+
+
+RESOURCE CBA r_grid_softkeys_fullscreen
+ {
+ buttons =
+ {
+ CBA_BUTTON
+ {
+ id = EGlxCmdOptions;
+ txt = text_softkey_option;
+ },
+ CBA_BUTTON
+ {
+ id = EGlxCmdFullScreenBack;
+ txt = text_softkey_back;
+ },
+ CBA_BUTTON
+ {
+ id = EAknSoftkeySelect;
+ txt = qtn_msk_select;
+ }
+ };
+ }
+
+// ------------------------------------------------------------------------------------
+// Empty text resource
+// ------------------------------------------------------------------------------------
+RESOURCE TBUF r_grid_empty_view_text
+ {
+ buf = qtn_lgal_empty_grid_no_items;
+ }
+
+RESOURCE TBUF r_grid_view_text_download_header
+ {
+ buf = qtn_lgal_info_download_header;
+ }
+
+RESOURCE TBUF r_grid_marking_mode
+ {
+ buf = qtn_lgal_title_marking_mode;
+ }
+
+// ---------------------------------------------------------------------------
+// Toolbar Resource
+// ---------------------------------------------------------------------------
+//
+RESOURCE AVKON_TOOLBAR r_glx_grid_view_toolbar
+ {
+ flags = KAknToolbarFixed;
+ items =
+ {
+ TBAR_CTRL
+ {
+ type = EAknCtButton;
+ id = EGlxCmdSlideshowPlay;
+ control = AVKON_BUTTON
+ {
+ flags = 0;
+ states =
+ {
+ AVKON_BUTTON_STATE
+ {
+ bmpfile = "z:\\Resource\\apps\\glxicons.mif";
+ bmpid = EMbmGlxiconsQgn_indi_tb_slideshow;
+ bmpmask = EMbmGlxiconsQgn_indi_tb_slideshow_mask;
+ press_bmpid = EMbmGlxiconsQgn_indi_tb_slideshow;
+ press_bmpmask = EMbmGlxiconsQgn_indi_tb_slideshow_mask;
+ helptxt = qtn_lgal_options_slideshow;
+ }
+ };
+ };
+ },
+ TBAR_CTRL
+ {
+ type = EAknCtButton;
+ id = EGlxCmdStartMultipleMarking;
+ control = AVKON_BUTTON
+ {
+ flags = 0;
+ states =
+ {
+ AVKON_BUTTON_STATE
+ {
+ bmpfile = "z:\\Resource\\apps\\glxicons.mif";
+ bmpid = EMbmGlxiconsQgn_indi_cam4_tb_mark;
+ bmpmask = EMbmGlxiconsQgn_indi_cam4_tb_mark_mask;
+ press_bmpid = EMbmGlxiconsQgn_indi_cam4_tb_mark;
+ press_bmpmask = EMbmGlxiconsQgn_indi_cam4_tb_mark_mask;
+ helptxt = qtn_lgal_tooltip_mark_items;
+ },
+ AVKON_BUTTON_STATE
+ {
+ flags = KAknButtonStateHasLatchedFrame;
+ bmpfile = "z:\\Resource\\apps\\glxicons.mif";
+ bmpid = EMbmGlxiconsQgn_indi_tb_unmark;
+ bmpmask = EMbmGlxiconsQgn_indi_tb_unmark_mask;
+ press_bmpid = EMbmGlxiconsQgn_indi_tb_unmark;
+ press_bmpmask = EMbmGlxiconsQgn_indi_tb_unmark_mask;
+ helptxt = qtn_lgal_tooltip_unmark_all;
+ }
+ };
+ };
+ },
+
+ TBAR_CTRL
+ {
+ type = EAknCtButton;
+ id = EGlxCmdUpload;
+ control = AVKON_BUTTON
+ {
+ flags = 0;
+ states =
+ {
+ AVKON_BUTTON_STATE
+ {
+ bmpfile = "z:\\Resource\\apps\\glxicons.mif";
+ bmpid = EMbmGlxiconsQgn_indi_cam4_tb_upload;
+ bmpmask = EMbmGlxiconsQgn_indi_cam4_tb_upload_mask;
+ press_bmpid = EMbmGlxiconsQgn_indi_cam4_tb_upload;
+ press_bmpmask = EMbmGlxiconsQgn_indi_cam4_tb_upload_mask;
+ }
+ };
+ };
+ }
+ };
+ }