📄 controls.rss
字号:
/**
*
* @brief Resource file for Controls application
*
* © EMCC Software Ltd
* @version 1.0
*/
// RESOURCE IDENTIFIER
NAME CONT // 4 letter ID
// INCLUDES
#include <avkon.rh>
#include <avkon.rsg>
#include <eikon.rh>
#include <eikon.rsg>
#include "Controls.hrh"
#include "Controls.loc"
// RESOURCE DEFINITIONS
RESOURCE RSS_SIGNATURE { }
RESOURCE TBUF { buf = qtn_app_short_caption_string; }
RESOURCE EIK_APP_INFO
{
status_pane = r_controls_status_pane;
}
// ---------------------------------------------------------
//
// r_controls_status_pane
// Define the status pane
//
// ---------------------------------------------------------
//
RESOURCE STATUS_PANE_APP_MODEL r_controls_status_pane
{
panes=
{
SPANE_PANE
{
id = EEikStatusPaneUidNavi;
type = EAknCtNaviPane;
resource = r_controls_navi_decorator;
}
};
}
//----------------------------------------------------
//
// r_controls_navi_decorator
// Define the navi decorator
//
//----------------------------------------------------
//
RESOURCE NAVI_DECORATOR r_controls_navi_decorator
{
type = ENaviDecoratorControlTabGroup;
control = TAB_GROUP
{
tab_width = EAknTabWidthWithTwoTabs; // two tabs
active = 0;
tabs = {
TAB
{
id = ESimpleControlViewId; // from application hrh
txt = qtn_view1_tab;
},
TAB
{
id = ECompoundControlViewId;
txt = qtn_view2_tab;
}
};
};
}
// ---------------------------------------------------------
//
// r_controls_view1
// Define view 1
//
// ---------------------------------------------------------
//
RESOURCE AVKON_VIEW r_controls_view1
{
cba = R_AVKON_SOFTKEYS_EXIT;
}
// ---------------------------------------------------------
//
// r_controls_view2
// Define view 2
//
// ---------------------------------------------------------
//
RESOURCE AVKON_VIEW r_controls_view2
{
cba = R_AVKON_SOFTKEYS_EXIT;
}
// End of File
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -