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

📄 hello.rss

📁 从s60平台移植到UIQ平台的例子代码:In this code we shall consider taking a simple HelloWorld GUI application writte
💻 RSS
字号:
/*
* ============================================================================
*  Name     : Hello.rss
*  Part of  : Hello
*  Created  : 21/05/2002 by 
*  Description:
*     This file contains all the resources for the Hello.
*     Initial content was generated by Nokia Series 60 AppWizard.
*  Version  :
*  Copyright: 
* ============================================================================
*/

//  RESOURCE IDENTIFIER
NAME    AWIZ // 4 letter ID

//  INCLUDES

#include <eikon.rh>
#include "hello.hrh"
#include "hello.loc"
#include <qikon.rh>

//  CONSTANTS  
//#define ?constant   ?value


//  MACROS  
//#define ?macro


//  RESOURCE DEFINITIONS 

RESOURCE RSS_SIGNATURE { }

RESOURCE TBUF { buf="Hello"; }

RESOURCE EIK_APP_INFO
    {
    menubar=r_hello_menubar;
    toolbar=r_hello_toolbar;     
    }

//----------------------------------------------------

//----------------------------------------------------
//   
//    r_hello_menubar
//    ?description
//
//----------------------------------------------------
//
RESOURCE MENU_BAR r_hello_menubar
    {
    titles=
        {
        MENU_TITLE { menu_pane=r_hello_menu; txt="File"; }
        };
    }

//----------------------------------------------------
//   
//    r_hello_menu
//    ?description
//
//----------------------------------------------------
//
RESOURCE MENU_PANE r_hello_menu
    {
    items=
        {
        
        MENU_ITEM { command=EHelloCmdAppTest; txt="Say Hello"; },
        MENU_ITEM { command=EHelloCmdAppGoodbye; txt="Goodbye"; }
        };
    }



RESOURCE QIK_TOOLBAR r_hello_toolbar
    {  

    controls=
        {
        
        
        QIK_TBAR_BUTTON // Done image button aligned to the right side of bar.
            {
            id=EMyToolbarButtonOptions;
            txt="Options";
            }, 
        
        QIK_TBAR_BUTTON // Done image button aligned to the right side of bar.
            {
            id=EMyToolbarButtonDummy;
            txt="Dummy";
            }        
            
        };
    }
 
    
RESOURCE DIALOG r_hello_dialog
	{
	title="Options";	
	buttons = r_hello_dialog_buttons;		
	}


RESOURCE DLG_BUTTONS r_hello_dialog_buttons
	{
	buttons=
			{
		DLG_BUTTON
			{
			id = EHelloCmdAppTest;
			button = CMBUT {txt = "hello";};
			},
		
		DLG_BUTTON
			{
			id = EHelloCmdAppGoodbye;
			button = CMBUT {txt = "goodbye";};
			},				
		
		DLG_BUTTON
			{
			id = EEikBidCancel;
			button = CMBUT {txt = "Back";};
			}
		};			
	}

 
    

            
// End of File

⌨️ 快捷键说明

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