?? classschedule.rss
字號:
/*
* ============================================================================
* Name : ClassSchedule.rss
* Part of : ClassSchedule
* Created : 2005-8-30 by
* Description:
* This file contains all the resources for the ClassSchedule.
* Initial content was generated by Series 60 AppWizard.
* Version :
* Copyright:
* ============================================================================
*/
// RESOURCE IDENTIFIER
NAME AWIZ // 4 letter ID
// INCLUDES
#include "ClassSchedule.hrh"
#include "ClassSchedule.loc"
#include <eikon.rh>
#include <avkon.rsg>
#include <avkon.rh>
#include <avkon.mbg>
CHARACTER_SET UTF8
//是多語言支持,因為要支持中文字符,必須為utf8編碼,否則手機上會出現亂碼
// RESOURCE DEFINITIONS
RESOURCE RSS_SIGNATURE { }
RESOURCE TBUF { buf=""; }
RESOURCE EIK_APP_INFO
{
hotkeys=r_classshcedule_hotkeys; //熱鍵定義
menubar=r_classschedule_menubar; // menubar定義
status_pane = r_navitest_status_pane; // 狀態窗格
cba=R_AVKON_SOFTKEYS_OPTIONS_EXIT; // cba 定義
}
//------------------------------------------------------
//EIK_APP_INFO 中的 status_pane 的實現
//------------------------------------------------------
RESOURCE STATUS_PANE_APP_MODEL r_navitest_status_pane
{
panes=
{
SPANE_PANE
{
id = EEikStatusPaneUidNavi; //id
type = EAknCtNaviPane; // type
resource = r_navitest_navi_decorator; //resource
}
};
}
//----------------------------------------------------
// RESOURCE STATUS_PANE_APP_MODEL 中resource 的實現
// r_navitest_navi_decorator
//----------------------------------------------------
RESOURCE NAVI_DECORATOR r_navitest_navi_decorator
{
type = ENaviDecoratorControlTabGroup;
control = TAB_GROUP
{
tab_width = EAknTabWidthWithTwoTabs; // Two tabs (寬度)
active = 0;
tabs = {
TAB
{
id = EWeek1; // from ClassSchedule hrh
txt = str_week_1;
},
TAB
{
id = EWeek2;
txt = str_week_2;
},
TAB
{
id = EWeek3;
txt = str_week_3;
},
TAB
{
id = EWeek4;
txt = str_week_4;
},
TAB
{
id = EWeek5;
txt = str_week_5;
},
TAB
{
id = EWeek6;
txt = str_week_6;
},
TAB
{
id = EWeek7;
txt = str_week_7;
}
};
};
}
//----------------------------------------------------
// EIK_APP_INFO 中 hotkeys 的實現
// r_classshcedule_hotkeys
//----------------------------------------------------
RESOURCE HOTKEYS r_classshcedule_hotkeys
{
control=
{
HOTKEY { command=EAknCmdExit; key='e'; }
};
}
//----------------------------------------------------
// EIK_APP_INFO 中 menu_bar 的實現
// r_classschedule_menubar
//----------------------------------------------------
RESOURCE MENU_BAR r_classschedule_menubar
{
titles=
{
MENU_TITLE { menu_pane=r_classschedule_menu; txt="File"; }
};
}
//----------------------------------------------------
// MENU_BAR 中MENU_PANE 的實現
// r_classschedule_menu
//----------------------------------------------------
RESOURCE MENU_PANE r_classschedule_menu
{
items=
{
MENU_ITEM { command=EClassScheduleCmdAppDetail; txt=str_detail; },
MENU_ITEM { command=EClassScheduleCmdAppModify; txt=str_modify; },
MENU_ITEM { command=EClassScheduleCmdAppSearch; txt=str_search_for; cascade = r_classschedule_search_for;},
MENU_ITEM { command=EClassScheduleCmdAppDelete; txt=str_delete; },
MENU_ITEM { command=EClassScheduleCmdAppDeleteAll; txt=str_delete_all; },
MENU_ITEM { command=EAknCmdExit; txt=str_exit; }
};
}
RESOURCE MENU_PANE r_classschedule_search_for
{
items=
{
MENU_ITEM { command=EClassScheduleCmdAppSearchForName; txt = str_course_name; },
MENU_ITEM { command=EClassScheduleCmdAppSearchForAddr; txt = str_course_classroom; },
MENU_ITEM { command=EClassScheduleCmdAppSearchForTime; txt = str_course_time; },
MENU_ITEM { command=EClassScheduleCmdAppSearchForTeacher; txt = str_course_teacher; },
MENU_ITEM { command=EClassScheduleCmdAppSearchForRemark; txt = str_course_remark; }
};
}
//------------------------------------------------------
//輸入對話框
//------------------------------------------------------
RESOURCE DIALOG r_dialog_input
{
flags = EGeneralQueryFlags; //控制對話框的屬性,默認為0,但幾乎所有對話框都 指定為EEikDialogFlagsWait
buttons = R_AVKON_SOFTKEYS_OK_CANCEL; //定義用在對話框中的按鈕的資源,默認為無按鈕
items = // 逗號分隔對話框列表項
{
DLG_LINE //構建輸入框
{
type = EAknCtQuery; // 構造的控件的數字ID
id = EGeneralQuery; //用來獲取控件數字ID, 使用在應用程序的.hrh 文件中定義的常量
control= AVKON_DATA_QUERY // 進一步初始化數據,由適合特殊控件類型的結構映射
{
layout = EDataLayout; //控件布局
control = EDWIN //EDWIN 簡單編輯器,資源結構EDWIN 類型EEikCtEdwin C++類CEikEdwin
{
maxlength = 128; //最大長度
};
};
}
};
}
//------------------------------------------------------
//時間對話框
//------------------------------------------------------
RESOURCE DIALOG r_dialog_time_query
{
flags = EGeneralQueryFlags;
buttons = R_AVKON_SOFTKEYS_OK_CANCEL;
items =
{
DLG_LINE
{
type = EAknCtQuery;
id = EGeneralQuery;
control = AVKON_DATA_QUERY
{
layout = ETimeLayout;
control = TIME_EDITOR
{
minTime = TIME
{
second = 0;
minute = 0;
hour = 0;
};
maxTime = TIME
{
second = 59;
minute = 59;
hour = 23;
};
flags = EEikTimeWithoutSecondsField; //modify
};
};
}
};
}
//------------------------------------------------------
//刪除對話框
//------------------------------------------------------
RESOURCE DIALOG r_dialog_delete_query
{
flags = EGeneralQueryFlags;
buttons = R_AVKON_SOFTKEYS_YES_NO;
items =
{
DLG_LINE
{
type = EAknCtQuery;
id = EGeneralQuery;
control = AVKON_CONFIRMATION_QUERY
{
layout = EConfirmationQueryLayout;
};
}
};
}
//------------------------------------------------------
//信息查詢對話框
//------------------------------------------------------
RESOURCE DIALOG r_message_query
{
flags = EGeneralQueryFlags;
buttons = R_AVKON_SOFTKEYS_OK_EMPTY;
items=
{
DLG_LINE
{
type = EAknCtPopupHeadingPane;
id = EAknMessageQueryHeaderId;
control = AVKON_HEADING
{
};
},
DLG_LINE
{
type = EAknCtMessageQuery;
id = EAknMessageQueryContentId;
control = AVKON_MESSAGE_QUERY
{
};
}
};
}
//------------------------------------------------------
//字符串定義
//------------------------------------------------------
RESOURCE TBUF r_qtn_app_caption_string { buf = qtn_app_caption_string;}
RESOURCE TBUF r_str_detail { buf = str_detail ;}
RESOURCE TBUF r_str_search_for { buf = str_search_for ;}
RESOURCE TBUF r_str_modify { buf = str_modify ;}
RESOURCE TBUF r_str_delete { buf = str_delete ;}
RESOURCE TBUF r_str_delete_all { buf = str_delete_all ;}
RESOURCE TBUF r_str_exit { buf = str_exit ;}
RESOURCE TBUF r_str_delete_ok { buf = str_delete_ok ;}
RESOURCE TBUF r_str_modify_ok { buf = str_modify_ok ;}
RESOURCE TBUF r_str_delete_tips { buf = str_delete_tips ;}
RESOURCE TBUF r_str_delete_all_tips { buf = str_delete_all_tips ;}
RESOURCE TBUF r_str_none { buf = str_none ;}
RESOURCE TBUF r_str_search_for_result { buf = str_search_for_result ;}
RESOURCE TBUF r_str_no_course_tips { buf = str_no_course_tips ;}
RESOURCE TBUF r_str_has_course_tips { buf = str_has_course_tips ;}
RESOURCE TBUF r_str_lesson_01 { buf = str_lesson_01 ;}
RESOURCE TBUF r_str_lesson_02 { buf = str_lesson_02 ;}
RESOURCE TBUF r_str_lesson_03 { buf = str_lesson_03 ;}
RESOURCE TBUF r_str_lesson_04 { buf = str_lesson_04 ;}
RESOURCE TBUF r_str_lesson_05 { buf = str_lesson_05 ;}
RESOURCE TBUF r_str_lesson_06 { buf = str_lesson_06 ;}
RESOURCE TBUF r_str_lesson_07 { buf = str_lesson_07 ;}
RESOURCE TBUF r_str_lesson_08 { buf = str_lesson_08 ;}
RESOURCE TBUF r_str_lesson_09 { buf = str_lesson_09 ;}
RESOURCE TBUF r_str_lesson_10 { buf = str_lesson_10 ;}
RESOURCE TBUF r_str_week_1 { buf = str_week_1 ;}
RESOURCE TBUF r_str_week_2 { buf = str_week_2 ;}
RESOURCE TBUF r_str_week_3 { buf = str_week_3 ;}
RESOURCE TBUF r_str_week_4 { buf = str_week_4 ;}
RESOURCE TBUF r_str_week_5 { buf = str_week_5 ;}
RESOURCE TBUF r_str_week_6 { buf = str_week_6 ;}
RESOURCE TBUF r_str_week_7 { buf = str_week_7 ;}
RESOURCE TBUF r_str_course_name { buf = str_course_name ;}
RESOURCE TBUF r_str_course_time { buf = str_course_time ;}
RESOURCE TBUF r_str_course_classroom { buf = str_course_classroom ;}
RESOURCE TBUF r_str_course_teacher { buf = str_course_teacher ;}
RESOURCE TBUF r_str_course_remark { buf = str_course_remark ;}
//RESOURCE TBUF r_ { buf = ;}
// End of File
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -