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

📄 numericeditor.rss

📁 一个基于SYMBIAN的editor程序
💻 RSS
字号:
/**
* 
* @brief Resource file for NumericEditor application
*
* Copyright (c) EMCC Software Ltd 2003
* @version 1.0
*/

//	RESOURCE IDENTIFIER
NAME	NUED // 4 letter ID

//	INCLUDES

#include <avkon.rsg>
#include <avkon.rh>
#include <avkon.mbg>
#include <eikon.rh>

#include "numericeditor.hrh"
#include "numericeditor.loc"

//	RESOURCE DEFINITIONS 

RESOURCE RSS_SIGNATURE { }

RESOURCE TBUF { buf = "NumericEditor"; }

RESOURCE EIK_APP_INFO
	{
	menubar = r_numericeditor_menu_bar;
	cba = R_AVKON_SOFTKEYS_OPTIONS_BACK;
	}

// ---------------------------------------------------------
//	r_numericeditor_menu_bar
//	The menu bar for the container
//
// ---------------------------------------------------------
//
RESOURCE MENU_BAR r_numericeditor_menu_bar
	{
	titles =
		{
		MENU_TITLE 
			{
			txt = ""; // the text is not used in Series 60
			menu_pane = r_numericeditor_menu_pane;
			}
		};
	}

// ---------------------------------------------------------
//	r_numericeditor_menu_pane
//	The menu pane for the container
//
// ---------------------------------------------------------
//
RESOURCE MENU_PANE r_numericeditor_menu_pane
	{
	items =
		{
		MENU_ITEM
			{
			command = ENumericEditorCmdNew;
			txt = NEW_TEXT;
			},
		MENU_ITEM
			{
			command = ENumericEditorCmdOpen;
			txt = OPEN_TEXT;
			},
		MENU_ITEM
			{
			command = ENumericEditorCmdDelete;
			txt = DELETE_TEXT;
			},
		MENU_ITEM
			{
			command = EAknCmdExit;
			txt = EXIT_TEXT;
			}
		};
	}


// ---------------------------------------------------------
//	r_numericeditor_employees_listbox
//	The list for the container
//
// ---------------------------------------------------------
//
RESOURCE LISTBOX r_numericeditor_employees_listbox
	{
	flags = EAknListBoxSelectionList;
	}


// ---------------------------------------------------------
//	r_numericeditor_form_dialog
//	The form dialog
//
// ---------------------------------------------------------
//
RESOURCE DIALOG r_numericeditor_form_dialog
	{
	flags = EEikDialogFlagNoDrag | 
			EEikDialogFlagFillAppClientRect |
			EEikDialogFlagNoTitleBar |
			EEikDialogFlagWait |
			EEikDialogFlagCbaButtons;
	buttons = R_AVKON_SOFTKEYS_OPTIONS_BACK;
	form = r_numericeditor_form;
	}


// ---------------------------------------------------------
//	r_numericeditor_form
//	The form
//
// ---------------------------------------------------------
//
RESOURCE FORM r_numericeditor_form
	{
	flags = EEikFormEditModeOnly;
	items =
		{
		DLG_LINE
			{
			type = EEikCtEdwin;
			prompt = NAME_TEXT;
			id = ENumericEditorDlgCIdEdwin;
			control = EDWIN 
				{
				width = KMaxNameLength; 
				maxlength = KMaxNameLength;
				};
			},
		DLG_LINE
			{
			type = EAknCtIntegerEdwin;
			prompt = AGE_TEXT;
			id = ENumericEditorDlgCIdIntegerEdwin;
			control = AVKON_INTEGER_EDWIN 
				{
				maxlength = 2;
				min = 18;
				max = 70;
				unset_value = 18;
				};
			},
		DLG_LINE
			{
			type = EEikCtFxPtEd;
			prompt = SALARY_TEXT;
			id = ENumericEditorDlgCIdFxPtEd;
			control = FIXPTED 
				{
				decimalplaces = 2;
				min = 0;
				max = 10000000;	// 100000.00 with the decimal point shifted 2 decimal places.
				default = 0;
				};
			}
		};
	}

// ---------------------------------------------------------
//	Warning strings
//
// ---------------------------------------------------------
//
RESOURCE TBUF r_numericeditor_age_too_small_text
	{
	buf = AGE_TOO_SMALL;
	}

RESOURCE TBUF r_numericeditor_age_too_large_text
	{
	buf = AGE_TOO_LARGE;
	}

RESOURCE TBUF r_numericeditor_age_not_parsed_text
	{
	buf = AGE_NOT_PARSED;
	}

RESOURCE TBUF r_numericeditor_age_empty_text
	{
	buf = AGE_EMPTY;
	}

RESOURCE TBUF r_numericeditor_salary_too_small_text
	{
	buf = SALARY_TOO_SMALL;
	}

RESOURCE TBUF r_numericeditor_salary_too_large_text
	{
	buf = SALARY_TOO_LARGE;
	}

RESOURCE TBUF r_numericeditor_salary_not_parsed_text
	{
	buf = SALARY_NOT_PARSED;
	}

RESOURCE TBUF r_numericeditor_salary_empty_text
	{
	buf = SALARY_EMPTY;
	}

// End of File

⌨️ 快捷键说明

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