📄 password.rss
字号:
// ====================================================================
// File: Password.rss
// Created: 11/06/07
// Author:
// Copyright (c): , All rights reserved
// ==================================================================== */
NAME HELL
#include <eikon.rh>
#include <eikon.rsg>
#include <avkon.rh>
#include <avkon.rsg>
#include "Password.hrh"
#ifdef LANGUAGE_01
#include "en.loc"
#elif defined LANGUAGE_29
#include "tc.loc"
#elif defined LANGUAGE_30
#include "tc.loc"
#elif defined LANGUAGE_31
#include "sc.loc"
#endif
// ---------------------------------------------------------
//
// Define the resource file signature
// This resource should be empty.
//
// ---------------------------------------------------------
//
RESOURCE RSS_SIGNATURE { }
// ---------------------------------------------------------
//
// Default Document Name
//
// ---------------------------------------------------------
//
RESOURCE TBUF r_default_document_name { buf=""; }
// ---------------------------------------------------------
//
// Define default menu and CBA key.
//
// ---------------------------------------------------------
//
RESOURCE EIK_APP_INFO
{
menubar = r_Password_menubar;
cba = R_AVKON_SOFTKEYS_OPTIONS_EXIT;
}
// ---------------------------------------------------------
//
// r_Password_menubar
// Menubar for Password example
//
// ---------------------------------------------------------
//
RESOURCE MENU_BAR r_Password_menubar
{
titles =
{
MENU_TITLE {menu_pane = r_Password_menu;}
};
}
// ---------------------------------------------------------
//
// r_Password_menu
// Menu for "Options"
//
// ---------------------------------------------------------
//
RESOURCE MENU_PANE r_Password_menu
{
items =
{
MENU_ITEM {command = EcmdNew; txt = qtn_menu_new;},
MENU_ITEM {command = EcmdEdit; txt = qtn_menu_edit;},
MENU_ITEM {command = EcmdDelete; txt = qtn_menu_delete;},
MENU_ITEM {command = EcmdSave; txt = qtn_menu_save;},
MENU_ITEM {command = EcmdUpdate; txt = qtn_menu_update;},
MENU_ITEM {command = EPasswordCommand1; txt = qtn_menu_about;},
MENU_ITEM {command = EAknSoftkeyExit; txt = qtn_menu_exit;}
};
}
RESOURCE DIALOG r_demo_data_query
{
flags = EGeneralQueryFlags;
buttons = R_AVKON_SOFTKEYS_OK_CANCEL;
items =
{
DLG_LINE
{
type = EAknCtQuery;
id = EGeneralQuery;
control = AVKON_DATA_QUERY
{
layout = EDataLayout;
label = ""; // prompt text
control = EDWIN
{
width = 5;
lines = 1;
maxlength = 15;
};
};
}
};
}
RESOURCE DIALOG r_aknexquery_confirmation_query
{
flags = EGeneralQueryFlags;
buttons = R_AVKON_SOFTKEYS_YES_NO;
items =
{
DLG_LINE
{
type = EAknCtQuery;
id = EGeneralQuery;
control = AVKON_CONFIRMATION_QUERY
{
layout = EConfirmationQueryLayout;
label = "Are you sure?";
// bmpfile = AKNEXQUERY_BMPFILE_NAME;
// bmpid = EMbmAknexqueryLshellicon;
// bmpmask = AKNEXQUERY_BITMAP_MASK_FLAG;
};
}
};
}
//--------------------------------------------------
// String Resources
//--------------------------------------------------
RESOURCE TBUF256 l_ui_about_f { buf = L_UI_about_f; }
RESOURCE TBUF256 l_ui_save_f { buf = L_UI_save_f; }
RESOURCE TBUF256 l_ui_update_f { buf = L_UI_update_f; }
RESOURCE TBUF256 l_ui_delete_f { buf = L_UI_delete_f; }
RESOURCE TBUF256 l_title { buf = L_Title; }
RESOURCE TBUF256 l_back { buf = L_Back; }
RESOURCE TBUF256 l_username { buf = L_Username; }
RESOURCE TBUF256 l_password { buf = L_Password; }
RESOURCE TBUF256 l_description { buf = L_Description; }
RESOURCE TBUF256 l_createdate { buf = L_CreateDate; }
RESOURCE TBUF256 l_modifydate { buf = L_ModifyDate; }
RESOURCE TBUF256 l_enterdata { buf = L_EnterData; }
RESOURCE TBUF256 l_ui_abouttitle_f { buf = L_UI_abouttitle_f; }
RESOURCE TBUF256 l_checkitem_f { buf = L_CheckItem_f; }
RESOURCE TBUF256 l_ui_checksave_f { buf = L_UI_CheckSave_f; }
RESOURCE TBUF256 l_ui_checkupdate_f { buf = L_UI_CheckUpdate_f; }
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -