📄 contacts.rss
字号:
/* Copyright (c) 2003, Nokia. All rights reserved */
// RESOURCE IDENTIFIER
NAME EXDB // 4 letter ID
// INCLUDES
#include <eikon.rh>
#include <avkon.rsg>
#include <avkon.rh>
#include <avkon.mbg>
#include "contacts.hrh"
#include "contacts.loc"
// RESOURCE DEFINITIONS
RESOURCE RSS_SIGNATURE { }
RESOURCE TBUF { buf="Contacts"; }
RESOURCE EIK_APP_INFO
{
hotkeys=r_contacts_hotkeys;
menubar=r_contacts_contacts_menubar;
cba=R_AVKON_SOFTKEYS_OPTIONS_EXIT;
}
//----------------------------------------------------
//
// r_contacts_hotkeys
// The hot keys for Contacts example
//
//----------------------------------------------------
//
RESOURCE HOTKEYS r_contacts_hotkeys
{
control=
{
HOTKEY { command=EAknCmdExit; key='e'; }
};
}
//----------------------------------------------------
//
// r_contacts_contacts_menubar
// The menu bar for the Contacts example
// Show Contacts has been seleted
//
//----------------------------------------------------
//
RESOURCE MENU_BAR r_contacts_contacts_menubar
{
titles=
{
MENU_TITLE { menu_pane=r_contacts_contacts_menu; txt=qtn_contacts_file; }
};
}
//----------------------------------------------------
//
// r_contacts_groups_menubar
// The menu bar for the Contacts example.
// Show Contact groups has been seleted
//
//----------------------------------------------------
//
RESOURCE MENU_BAR r_contacts_groups_menubar
{
titles=
{
MENU_TITLE { menu_pane=r_contacts_groups_menu; txt=qtn_contacts_file; }
};
}
//----------------------------------------------------
//
// r_contacts_select_grp_menubar
// The menu bar for the Contacts example.
// Add contact to grp has been selected
//
//----------------------------------------------------
//
RESOURCE MENU_BAR r_contacts_select_grp_menubar
{
titles=
{
MENU_TITLE { menu_pane=r_contacts_select_grp_menu; txt=qtn_contacts_file; }
};
}
//----------------------------------------------------
//
// r_contacts_show_contactorgroups_sub_menu
// The sub menu options for the Contacts application
//
//----------------------------------------------------
//
RESOURCE MENU_PANE r_contacts_show_contactorgroups_sub_menu
{
items=
{
MENU_ITEM { command=EContactsShowContacts; txt=qtn_contacts_show_contacts;},
MENU_ITEM { command=EContactsShowGroups; txt=qtn_contacts_show_groups;}
};
}
//----------------------------------------------------
//
// r_contacts_open_sub_menu
// The sub menu options for the Contacts application
//
//----------------------------------------------------
//
RESOURCE MENU_PANE r_contacts_open_sub_menu
{
items=
{
MENU_ITEM { command=EContactsSelectDB; txt=qtn_contacts_select_db; },
MENU_ITEM { command=EContactsDefaultDB; txt=qtn_contacts_open_default_db; }
};
}
//----------------------------------------------------
//
// r_contacts_create_sub_menu
// The sub menu options for the Contacts application
//
//----------------------------------------------------
//
RESOURCE MENU_PANE r_contacts_create_sub_menu
{
items=
{
MENU_ITEM { command=EContactsCreateDB; txt=qtn_contacts_create_db; },
MENU_ITEM { command=EContactsCreateTemplate; txt=qtn_contacts_create_template;}
};
}
//----------------------------------------------------
//
// r_contacts_delete_sub_menu
// The sub menu options for the Contacts application
//
//----------------------------------------------------
//
RESOURCE MENU_PANE r_contacts_delete_sub_menu
{
items=
{
MENU_ITEM { command=EContactsDeleteDB; txt=qtn_contacts_delete_db; }
};
}
//----------------------------------------------------
//
// r_contacts_groups_sub_menu
// The sub menu options for the Contacts application
//
//----------------------------------------------------
//
RESOURCE MENU_PANE r_contacts_groups_sub_menu
{
items=
{
MENU_ITEM { command=EContactsCreateContactGroup; txt=qtn_contacts_create_group; },
MENU_ITEM { command=EContactsDeleteContactGroup; txt=qtn_contacts_delete_group; }
};
}
//----------------------------------------------------
//
// r_contacts_contact_sub_menu
// The sub menu options for the Contacts application
//
//----------------------------------------------------
//
RESOURCE MENU_PANE r_contacts_contact_sub_menu
{
items=
{
MENU_ITEM { command=EContactsEditContact; txt=qtn_contacts_edit_contact; },
MENU_ITEM { command=EContactsCreateContact; txt=qtn_contacts_create_contact; },
MENU_ITEM { command=EContactsSelectGrp; txt=qtn_contacts_add_to_group; },
MENU_ITEM { command=EContactsDeleteContact; txt=qtn_contacts_delete_contact; }
};
}
//----------------------------------------------------
//
// r_contacts_contact_group_sub_menu
// The sub menu options for the Contacts application
//
//----------------------------------------------------
//
RESOURCE MENU_PANE r_contacts_contact_group_sub_menu
{
items=
{
MENU_ITEM { command=EContactsCreateContactGroup; txt=qtn_contacts_create_group; },
MENU_ITEM { command=EContactsDeleteContactGroup; txt=qtn_contacts_delete_group; }
};
}
//----------------------------------------------------
//
// r_contacts_contacts_menu
// The menu options for the Contacts application
//
//----------------------------------------------------
//
RESOURCE MENU_PANE r_contacts_contacts_menu
{
items=
{
MENU_ITEM { cascade=r_contacts_open_sub_menu; txt=qtn_contacts_open;},
MENU_ITEM { cascade=r_contacts_create_sub_menu; txt=qtn_contacts_create;},
MENU_ITEM { cascade=r_contacts_delete_sub_menu; txt=qtn_contacts_delete;},
MENU_ITEM { cascade=r_contacts_contact_sub_menu; txt=qtn_contacts_contacts;},
MENU_ITEM { cascade=r_contacts_show_contactorgroups_sub_menu; txt=qtn_contacts_show;},
MENU_ITEM { command=EAknCmdExit; txt=qtn_contacts_exit; }
};
}
//----------------------------------------------------
//
// r_contacts_groups_menu
// The menu options for the Contacts application
//
//----------------------------------------------------
//
RESOURCE MENU_PANE r_contacts_groups_menu
{
items=
{
MENU_ITEM { cascade = r_contacts_open_sub_menu; txt=qtn_contacts_open;},
MENU_ITEM { cascade = r_contacts_create_sub_menu; txt=qtn_contacts_create;},
MENU_ITEM { cascade = r_contacts_delete_sub_menu; txt=qtn_contacts_delete;},
MENU_ITEM { cascade = r_contacts_groups_sub_menu; txt=qtn_contacts_edit_group;},
MENU_ITEM { cascade = r_contacts_show_contactorgroups_sub_menu; txt=qtn_contacts_show;},
MENU_ITEM { command = EAknCmdExit; txt=qtn_contacts_exit; }
};
}
//----------------------------------------------------
//
// r_contacts_select_grp_menu
// The menu options for the Contacts application
//
//----------------------------------------------------
//
RESOURCE MENU_PANE r_contacts_select_grp_menu
{
items=
{
MENU_ITEM { command=EContactsAddContactToGrp; txt=qtn_contacts_add_to_group; },
MENU_ITEM { command=EContactsCancelSelectGrp; txt=qtn_contacts_back; }
};
}
//-----------------------------------------------------------------------------
//
// r_contacts_confirmation_query
// Resource of Confirmation Query.
//
//-----------------------------------------------------------------------------
//
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -