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

📄 timer.rss

📁 symbian s60 源代码学习 关于时间和闹钟方面的例子
💻 RSS
字号:
/*
* ============================================================================
*  Name     : Timer.rss
*  Part of  : Timer
*  Created  : 05.02.2006 by ToBeReplacedByAuthor
*  Description:
*     This file contains all the resources for the Timer.
*     Initial content was generated by Series 60 Application Wizard.
*  Version  :
*  Copyright: ToBeReplacedByCopyright
* ============================================================================
*/

//  RESOURCE IDENTIFIER
NAME    AWIZ // 4 letter ID

//  INCLUDES

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

//  RESOURCE DEFINITIONS 

RESOURCE RSS_SIGNATURE { }

RESOURCE TBUF { buf = "Timer"; }

RESOURCE EIK_APP_INFO
    {
    hotkeys = r_timer_hotkeys;
    cba = r_timer_softkey_set_exit; 
    }

//----------------------------------------------------
//   
//    r_timer_hotkeys
//
//----------------------------------------------------
//
RESOURCE HOTKEYS r_timer_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_timer_query
//    Resource of Duration Query.
//
//-----------------------------------------------------------------------------
//
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;}
// End of File

⌨️ 快捷键说明

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