📄 richtexteditor.rss
字号:
/*
* ============================================================================
* Name : RichTextEditor.rss
* Part of : RichTextEditor
* Created : 05/08/2006 by Forum Nokia
* Description:
* This file contains all the resources for the RichTextEditor.
*
* Version : 2.0
*
* Copyright (c) 2006 - 2007 Nokia Corporation.
* This material, including documentation and any related
* computer programs, is protected by copyright controlled by
* Nokia Corporation.
* ============================================================================
*/
// RESOURCE IDENTIFIER
CHARACTER_SET UTF8
NAME BWIZ // 4 letter ID
// INCLUDES
#include <eikon.rh>
#include "richtexteditor.loc"
#include "RichTextEditor.hrh"
#include <avkon.rsg>
#include <avkon.rh>
#include <avkon.mbg>
#ifdef EKA2
#include <appinfo.rh>
#endif
// RESOURCE DEFINITIONS
RESOURCE RSS_SIGNATURE { }
RESOURCE TBUF { buf=""; }
RESOURCE EIK_APP_INFO
{
menubar=r_main_menubar;
cba=R_AVKON_SOFTKEYS_OPTIONS_BACK;
}
RESOURCE TBUF256 r_type_ii_dialog_tbuf_demo_text
{
buf = qtn_app_demo_text ;
}
//----------------------------------------------------
//
// r_main_menubar
//
//----------------------------------------------------
//
RESOURCE MENU_BAR r_main_menubar
{
titles=
{
MENU_TITLE { menu_pane=r_main_menu; txt="File"; }
};
}
//----------------------------------------------------
//
// r_main_menu
//
//----------------------------------------------------
//
RESOURCE TBUF ERROR1 { buf = "请输入操作数"; }
RESOURCE TBUF ERROR2 { buf = "输入超过24位数";}
RESOURCE TBUF ERROR3 { buf = "请输入合法数字!";}
RESOURCE TBUF ERROR4 { buf = "不能被零除!";}
RESOURCE MENU_PANE r_main_menu
{
items=
{
MENU_ITEM
{
command = EEqual;
txt = "等于";
},
MENU_ITEM
{
command = EAdd;
txt = "加号";
},
MENU_ITEM
{
command = ESub;
txt = "减号";
},
MENU_ITEM
{
command = EMult;
txt = "乘号";
},
MENU_ITEM
{
command = EDiv;
txt = "除号";
},
MENU_ITEM
{
command = ERichTextCmdAppAbout;
txt = "关于";
}
};
}
RESOURCE TBUF256 r_type_dialog_tbuf_intro_text
{
buf = qtn_app_demo_intro;
}
RESOURCE TBUF256 r_type_dialog_tbuf_intro_help_text
{
buf = qtn_app_demo_intro_help;
}
//
/// Statusline Texts:
//
RESOURCE TBUF32 r_type_dialog_tbuf_indicator_alignment
{
buf = qtn_app_indicator_alignment;
}
RESOURCE TBUF32 r_type_dialog_tbuf_indicator_character_format
{
buf = qtn_app_indicator_character_format;
}
RESOURCE TBUF32 r_type_dialog_tbuf_indicator_font
{
buf = qtn_app_indicator_font;
}
RESOURCE TBUF32 r_type_dialog_tbuf_indicator_strike_on
{
buf = qtn_app_indicator_strike_on;
}
RESOURCE TBUF32 r_type_dialog_tbuf_indicator_strike_off
{
buf = qtn_app_indicator_strike_off;
}
RESOURCE TBUF32 r_type_dialog_tbuf_indicator_color
{
buf = qtn_app_indicator_color;
}
RESOURCE TBUF32 r_type_dialog_tbuf_indicator_demo
{
buf = qtn_app_indicator_demo;
}
RESOURCE LOCALISABLE_APP_INFO r_messaging_localisable_app_info
{
short_caption = qtn_app_caption_string;
caption_and_icon =
CAPTION_AND_ICON_INFO
{
caption = qtn_app_caption_string;
number_of_icons = 1;
icon_file = "\\resource\\apps\\RichTextEditor.mif";
};
}
// End of File
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -