⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 myclock.rss

📁 Symbian 平台上活动对象的一个实例。
💻 RSS
字号:
/*
============================================================================
 Name		: MyClock.rss
 Author	  : 
 Copyright   : Your copyright notice
 Description : This file contains all the resources for the MyClock.
============================================================================
*/

//  RESOURCE IDENTIFIER
NAME	MYCL // 4 letter ID

//  INCLUDES

#include <eikon.rh>
#include "MyClock.hrh"
#include "MyClock.loc"
#include <avkon.rsg>
#include <avkon.rh>
#include <avkon.mbg>



//  RESOURCE DEFINITIONS 

RESOURCE RSS_SIGNATURE { }

RESOURCE TBUF { buf = "MyClock"; }

RESOURCE EIK_APP_INFO
	{
	hotkeys = r_MyClock_hotkeys;
//	menubar = r_MyClock_menubar;
	cba = r_timer_softkey_set_exit;	 
	}

//----------------------------------------------------
//   
//	r_MyClock_hotkeys
//
//----------------------------------------------------
//
RESOURCE HOTKEYS r_MyClock_hotkeys
	{
	control =
		{
		HOTKEY { command = EAknCmdExit; key='e'; }
		};
	}
RESOURCE CBA r_timer_softkey_set_exit
{
buttons =
    {
    CBA_BUTTON 
        {
        id = ETimerCmdSet;
        txt = qtn_appl_set;
        },
    CBA_BUTTON 
        {
        id = EEikCmdExit; 
        txt = qtn_appl_exit;
        }
    };
}

RESOURCE CBA r_timer_softkey_empty_cancel
{
buttons =
    {
    CBA_BUTTON 
        {
        id = ETimerCmdEmpty;
        txt = qtn_appl_empty;
        },
    CBA_BUTTON 
        {
        id = ETimerCmdCancel; 
        txt = qtn_appl_cancel;
        }
    };
}
//----------------------------------------------------
//   
//	r_MyClock_menubar
//
//----------------------------------------------------
//
/*RESOURCE MENU_BAR r_MyClock_menubar
	{
	titles =
		{
		MENU_TITLE { menu_pane = r_MyClock_menu; txt = "File"; }
		};
	}*/

//----------------------------------------------------
//   
//	r_MyClock_menu
//
//----------------------------------------------------
//
RESOURCE MENU_PANE r_MyClock_menu
	{
	items =
		{
		MENU_ITEM { command = EMyClockCmdAppTest; txt = qtn_appl_test; },
		MENU_ITEM { command = EAknCmdExit; txt = qtn_appl_exit; }
		};
	}
RESOURCE DIALOG r_timer_query
{
flags = EGeneralQueryFlags;
buttons = R_AVKON_SOFTKEYS_OK_CANCEL;
items =
    {
    DLG_LINE
        {
        type = EAknCtQuery;
        id = EGeneralQuery;
        control = AVKON_DATA_QUERY
            {
            layout = EDurationLayout;
            label = qtn_appl_query;
            control = DURATION_EDITOR
                {
                minDuration = DURATION
                    {
                    seconds = 0;
                    };
                maxDuration = DURATION
                    {
                    seconds = 3599;
                    };
                flags = EEikTimeWithoutHoursField;
                };
            };
        }
    };
}

RESOURCE TBUF r_timer_confirmation { buf = qtn_appl_confirmation;}


⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -