📄 logexample.rss
字号:
/*
* ============================================================================
* Name : LogExample.rss
* Part of : LogExample
* Created : 26.05.2005 by Forum Nokia
* Description:
* This file contains all the resources for the LogExample.
* Initial content was generated by Series 60 Application Wizard.
*
* Version : 1.0
* Copyright: Nokia Corporation
* ============================================================================
*/
// RESOURCE IDENTIFIER
NAME LOGE // 4 letter ID
// INCLUDE FILES
#include <eikon.rh>
#include "LogExample.hrh"
#include "LogExample.loc"
#include <avkon.rsg>
#include <avkon.rh>
#include <avkon.mbg>
#ifdef EKA2
#include <appinfo.rh>
#endif
// CONSTANTS
#define LOGEXFORM_EDWIN_WIDTH 1
#define LOGEXFORM_EDWIN_LINES 1
// RESOURCE DEFINITIONS
RESOURCE RSS_SIGNATURE { }
RESOURCE TBUF { buf = "LogExample"; }
RESOURCE EIK_APP_INFO
{
status_pane = r_logexample_status_pane;
}
#ifdef EKA2
//----------------------------------------------------
//
// r_internetemail_localisable_app_info
//
//----------------------------------------------------
RESOURCE LOCALISABLE_APP_INFO r_internetemail_localisable_app_info
{
short_caption = "LogExample";
caption_and_icon =
CAPTION_AND_ICON_INFO
{
caption = "LogExample";
};
}
#endif
//----------------------------------------------------
//
// r_logexample_hotkeys
//
//----------------------------------------------------
//
RESOURCE HOTKEYS r_logexample_hotkeys
{
control =
{
HOTKEY { command = EAknCmdExit; key = 'e'; }
};
}
//----------------------------------------------------
//
// r_logexample_view1
//
//----------------------------------------------------
//
RESOURCE AVKON_VIEW r_logexample_view1
{
hotkeys = r_logexample_hotkeys;
menubar = r_logexample_menubar_view1;
cba = R_AVKON_SOFTKEYS_OPTIONS_EXIT;
}
//----------------------------------------------------
//
// r_logexample_menubar_view1
//
//----------------------------------------------------
//
RESOURCE MENU_BAR r_logexample_menubar_view1
{
titles =
{
MENU_TITLE { menu_pane = r_logexample_app_menu; txt = "App"; },
MENU_TITLE { menu_pane = r_logexample_view1_menu; txt = "View"; }
};
}
//----------------------------------------------------
//
// r_logexample_view1_menu
//
//----------------------------------------------------
//
RESOURCE MENU_PANE r_logexample_view1_menu
{
items =
{
MENU_ITEM
{
command = ELogExampleCmdAppView;
txt = qtn_view1_option_item1;
cascade = r_logexample_submenu_view;
},
MENU_ITEM
{
command = ELogExampleCmdAppAddEvent;
txt = qtn_view1_option_item2;
cascade = r_logexample_submenu_add;
},
MENU_ITEM
{
command = ELogExampleCmdShowDetails;
txt = qtn_view1_option_item3;
},
MENU_ITEM
{
command = ELogExampleCmdDelete;
txt = qtn_view1_option_item4;
}
};
}
//----------------------------------------------------
//
// r_logexample_submenu_view
//
//----------------------------------------------------
//
RESOURCE MENU_PANE r_logexample_submenu_view
{
items =
{
MENU_ITEM
{
command = ELogExampleCmdViewAll;
txt = qtn_view1_submenu1_option_item1_all;
},
MENU_ITEM
{
command = ELogExampleCmdViewIncoming;
txt = qtn_view1_submenu1_option_item2_incoming;
},
MENU_ITEM
{
command = ELogExampleCmdViewOutgoing;
txt = qtn_view1_submenu1_option_item3_outgoing;
},
MENU_ITEM
{
command = ELogExampleCmdViewVoice;
txt = qtn_view1_submenu1_option_item4_voice;
},
MENU_ITEM
{
command = ELogExampleCmdViewSMS;
txt = qtn_view1_submenu1_option_item5_sms;
}
};
}
//----------------------------------------------------
//
// r_logexample_submenu_add
//
//----------------------------------------------------
//
RESOURCE MENU_PANE r_logexample_submenu_add
{
items =
{
MENU_ITEM
{
command = ELogExampleCmdAddRandom;
txt = qtn_view1_submenu2_option_item1_random;
},
MENU_ITEM
{
command = ELogExampleCmdAddOwnEvent;
txt = qtn_view1_submenu2_option_item2_own;
}
};
}
//----------------------------------------------------
//
// r_logexample_view2
//
//----------------------------------------------------
//
RESOURCE AVKON_VIEW r_logexample_view2
{
hotkeys = r_logexample_hotkeys;
menubar = r_logexample_menubar_view2;
cba = R_AVKON_SOFTKEYS_OPTIONS_EXIT;
}
//----------------------------------------------------
//
// r_logexample_menubar_view2
//
//----------------------------------------------------
//
RESOURCE MENU_BAR r_logexample_menubar_view2
{
titles =
{
MENU_TITLE { menu_pane = r_logexample_app_menu; txt = "App"; },
MENU_TITLE { menu_pane = r_logexample_view2_menu; txt = "View"; }
};
}
//----------------------------------------------------
//
// r_logexample_view2_menu
//
//----------------------------------------------------
//
RESOURCE MENU_PANE r_logexample_view2_menu
{
items =
{
MENU_ITEM { command = ELogExampleCmdShowDetails; txt = qtn_view2_option_item1; },
MENU_ITEM { command = ELogExampleCmdDelete; txt = qtn_view2_option_item2; }
};
}
//----------------------------------------------------
//
// r_logexample_app_menu
//
//----------------------------------------------------
//
RESOURCE MENU_PANE r_logexample_app_menu
{
items =
{
MENU_ITEM { command = EAknCmdExit; txt = qtn_appl_exit; }
};
}
RESOURCE STATUS_PANE_APP_MODEL r_logexample_status_pane
{
panes =
{
SPANE_PANE
{
id = EEikStatusPaneUidNavi;
type = EAknCtNaviPane;
resource = r_logexample_navi_decorator;
}
};
}
//----------------------------------------------------
//
// r_logexample_navi_decorator
//
// Resource for tabs
//
//----------------------------------------------------
//
RESOURCE NAVI_DECORATOR r_logexample_navi_decorator
{
type = ENaviDecoratorControlTabGroup;
control = TAB_GROUP
{
tab_width = EAknTabWidthWithTwoTabs; // two tabs
active = 0;
tabs = {
TAB
{
id = ELogExampleView1Tab; // from application hrh
txt = qtn_view1_tab;
},
TAB
{
id = ELogExampleView2Tab;
txt = qtn_view2_tab;
}
};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -