?? phonebkex.rss
字號:
/*
* ============================================================================
* Name : PhoneBkEx.rss
* Part of : PhoneBkEx
* Created : 13/06/2003 by
* Description:
* This file contains all the resources for the PhoneBkEx.
* Initial content was generated by Series 60 AppWizard.
* Version :
* Copyright: Forum Nokia
* ============================================================================
*/
// RESOURCE IDENTIFIER
NAME AWIZ // 4 letter ID
// INCLUDES
#include <eikon.rh>
#include <avkon.rsg>
#include <avkon.rh>
#include "phonebkex.hrh"
#include "phonebkex.loc"
// CONSTANTS
//#define ?constant ?value
#define AKNEXQUERY_EDWIN_WIDTH 5
#define AKNEXQUERY_EDWIN_MAXLENGTH 128
#define AKNEXQUERY_EDWIN_LINES 1
#define qtn_aknexquery_data_label_text "Enter Group :"
#define qtn_aknexquery_find_job_text "Enter Job :"
// RESOURCE DEFINITIONS
RESOURCE RSS_SIGNATURE { }
RESOURCE TBUF { buf="PhoneBkEx"; }
RESOURCE EIK_APP_INFO
{
status_pane = r_phonebkex_status_pane;
}
//----------------------------------------------------
//
// r_phonebkex_hotkeys
// ?description
//
//----------------------------------------------------
//
RESOURCE HOTKEYS r_phonebkex_hotkeys
{
control=
{
HOTKEY { command=EAknCmdExit; key='e'; }
};
}
//----------------------------------------------------
//
// r_phonebkex_view1
// ?description
//
//----------------------------------------------------
//
RESOURCE AVKON_VIEW r_phonebkex_view1
{
hotkeys=r_phonebkex_hotkeys;
menubar=r_phonebkex_menubar_view1;
cba=R_AVKON_SOFTKEYS_SELECTION_LIST;
}
//----------------------------------------------------
//
// r_phonebkex_menubar_view1
// ?description
//
//----------------------------------------------------
//
RESOURCE MENU_BAR r_phonebkex_menubar_view1
{
titles=
{
MENU_TITLE { menu_pane=r_phonebkex_app_menu; txt="App"; },
MENU_TITLE { menu_pane=r_phonebkex_view1_menu; txt="View"; }
};
}
//----------------------------------------------------
//
// r_phonebkex_view1_menu
// ?description
//
//----------------------------------------------------
//
RESOURCE MENU_PANE r_phonebkex_view1_menu
{
items=
{
MENU_ITEM { command=EPhoneBkExCmdCreateContact; txt = qtn_view1_option_item0; },
MENU_ITEM { command=EPhoneBkExCmdAppAddGroup; txt = qtn_view1_option_item1; },
MENU_ITEM { command=EPhoneBkExCmdFindAsync; txt = qtn_view1_option_item2;},
MENU_ITEM { command=EPhoneBkExCmdImportVCard; txt = qtn_view1_option_item3;},
MENU_ITEM { command=EPhoneBkExCmdModifyJob; txt = qtn_view1_option_item4;},
MENU_ITEM { command=EPhoneBkExCmdViewPhoneNumbers; txt = qtn_view1_option_item5;}
};
}
//----------------------------------------------------
//
// r_phonebkex_view2
// ?description
//
//----------------------------------------------------
//
RESOURCE AVKON_VIEW r_phonebkex_view2
{
hotkeys=r_phonebkex_hotkeys;
menubar=r_phonebkex_menubar_view2;
cba=R_AVKON_SOFTKEYS_SELECTION_LIST;
}
//----------------------------------------------------
//
// r_phonebkex_menubar_view2
// ?description
//
//----------------------------------------------------
//
RESOURCE MENU_BAR r_phonebkex_menubar_view2
{
titles=
{
MENU_TITLE { menu_pane=r_phonebkex_app_menu; txt="App"; },
MENU_TITLE { menu_pane=r_phonebkex_view2_menu; txt="View"; }
};
}
//----------------------------------------------------
//
// r_phonebkex_view2_menu
// ?description
//
//----------------------------------------------------
//
RESOURCE MENU_PANE r_phonebkex_view2_menu
{
items=
{
MENU_ITEM { command=EPhoneBkExCmdAppActivateCnt2; txt = qtn_view2_option_item; },
MENU_ITEM { command=EPhoneBkExCmdAppActivateCntGrp; txt= qtn_view2_option_grp; }
};
}
//----------------------------------------------------
//
// r_phonebkex_app_menu
// ?description
//
//----------------------------------------------------
//
RESOURCE MENU_PANE r_phonebkex_app_menu
{
items=
{
MENU_ITEM { command=EAknCmdExit; txt="Exit"; }
};
}
RESOURCE STATUS_PANE_APP_MODEL r_phonebkex_status_pane
{
panes=
{
SPANE_PANE
{
id = EEikStatusPaneUidNavi;
type = EAknCtNaviPane;
resource = r_phonebkex_navi_decorator;
}
};
}
//----------------------------------------------------
//
// r_phonebkex_navi_decorator
// ?description
//
//----------------------------------------------------
//
RESOURCE NAVI_DECORATOR r_phonebkex_navi_decorator
{
type = ENaviDecoratorControlTabGroup;
control = TAB_GROUP
{
tab_width = EAknTabWidthWithTwoTabs; // two tabs
active = 0;
tabs = {
TAB
{
id = EPhoneBkExView1Tab; // from application hrh
txt = qtn_view1_tab;
},
TAB
{
id = EPhoneBkExView2Tab;
txt = qtn_view2_tab;
}
};
};
}
//
RESOURCE DIALOG r_contactgroup_dlg
{
flags = EGeneralQueryFlags;
buttons = R_AVKON_SOFTKEYS_OK_CANCEL;
items =
{
DLG_LINE
{
type = EAknCtQuery;
id = EGeneralQuery;
control = AVKON_DATA_QUERY
{
layout = EDataLayout;
label = qtn_aknexquery_data_label_text;
control = EDWIN
{
flags = EEikEdwinNoHorizScrolling | EEikEdwinResizable;
width = AKNEXQUERY_EDWIN_WIDTH;
maxlength = AKNEXQUERY_EDWIN_MAXLENGTH;
// added to limit expanding in forms.
// If you want full screen use 6 here
max_view_height_in_lines = AKNEXQUERY_EDWIN_LINES;
// if you have the line above, you must have this.
// It's calculable from LAF
base_line_delta = 21;
};
};
}
};
}
RESOURCE DIALOG r_findjob_dlg
{
flags = EGeneralQueryFlags;
buttons = R_AVKON_SOFTKEYS_OK_CANCEL;
items =
{
DLG_LINE
{
type = EAknCtQuery;
id = EGeneralQuery;
control = AVKON_DATA_QUERY
{
layout = EDataLayout;
label = qtn_aknexquery_find_job_text;
control = EDWIN
{
flags = EEikEdwinNoHorizScrolling | EEikEdwinResizable;
width = AKNEXQUERY_EDWIN_WIDTH;
maxlength = AKNEXQUERY_EDWIN_MAXLENGTH;
// added to limit expanding in forms.
// If you want full screen use 6 here
max_view_height_in_lines = AKNEXQUERY_EDWIN_LINES;
// if you have the line above, you must have this.
// It's calculable from LAF
base_line_delta = 21;
};
};
}
};
}
RESOURCE TBUF R_MY_WARNINGNOTE_TEXT {buf = "Error in reading contact";}
RESOURCE TBUF R_VIEW2_TEXT {buf = view2_text;}
RESOURCE TBUF R_VCARDFILE_TEXT {buf = vCardFile_text;}
RESOURCE TBUF R_CONTACTADDED_TEXT {buf = contactAdded_text;}
RESOURCE TBUF R_NOCONTACTSFOUND_TEXT {buf = noContactsFound_text;}
RESOURCE TBUF R_INFO_TEXT {buf = info_text;}
RESOURCE TBUF R_CONTACTNUMBER1_TEXT {buf = contactNumber1_text;}
RESOURCE TBUF R_CONTACTNUMBER2_TEXT {buf = contactNumber2_text;}
RESOURCE TBUF R_CONTACTNUMBER3_TEXT {buf = contactNumber3_text;}
RESOURCE TBUF R_CONTACTNUMBER4_TEXT {buf = contactNumber4_text;}
RESOURCE TBUF R_CONTACTNUMBER5_TEXT {buf = contactNumber5_text;}
RESOURCE TBUF R_CONTACTNUMBER6_TEXT {buf = contactNumber6_text;}
RESOURCE TBUF R_CONTACTNUMBER7_TEXT {buf = contactNumber7_text;}
RESOURCE TBUF R_CONTACTNUMBER8_TEXT {buf = contactNumber8_text;}
RESOURCE TBUF R_CONTACTNUMBER9_TEXT {buf = contactNumber9_text;}
RESOURCE TBUF R_CONTACTNUMBER10_TEXT {buf = contactNumber10_text;}
RESOURCE TBUF R_CONTACTNAME1_TEXT {buf = contactName1_text;}
RESOURCE TBUF R_CONTACTNAME2_TEXT {buf = contactName2_text;}
RESOURCE TBUF R_CONTACTNAME3_TEXT {buf = contactName3_text;}
RESOURCE TBUF R_CONTACTNAME4_TEXT {buf = contactName4_text;}
RESOURCE TBUF R_CONTACTNAME5_TEXT {buf = contactName5_text;}
RESOURCE TBUF R_CONTACTNAME6_TEXT {buf = contactName6_text;}
RESOURCE TBUF R_CONTACTNAME7_TEXT {buf = contactName7_text;}
RESOURCE TBUF R_CONTACTNAME8_TEXT {buf = contactName8_text;}
RESOURCE TBUF R_CONTACTNAME9_TEXT {buf = contactName9_text;}
RESOURCE TBUF R_CONTACTNAME10_TEXT {buf = contactName10_text;}
RESOURCE TBUF R_JOB1_TEXT {buf = job1_text;}
RESOURCE TBUF R_JOB2_TEXT {buf = job2_text;}
RESOURCE TBUF R_CONTACTNUMBER11_TEXT {buf = contactNumber11_text;}
RESOURCE TBUF R_CONTACTNAME11_TEXT {buf = contactName11_text;}
RESOURCE TBUF R_JOB3_TEXT {buf = job3_text;}
RESOURCE TBUF R_OLDJOB_TEXT {buf = oldJob_text;}
RESOURCE TBUF R_NEWJOB_TEXT {buf = newJobtext;}
// End of File
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -