📄 deletefiles.rss
字号:
/*
============================================================================
Name : DeleteFiles.rss
Author :
Version :
Copyright : Your copyright notice
Description : Application resource file
============================================================================
*/
// RESOURCE IDENTIFIER
NAME HEWB // 4 letter ID
// INCLUDES
#include <eikon.rh>
#include <avkon.rh>
#include <avkon.rsg>
#include <appinfo.rh>
#include "DeleteFiles.hrh"
#include "DeleteFiles.rls"
// RESOURCE DEFINITIONS
// -----------------------------------------------------------------------------
//
// Define the resource file signature
// This resource should be empty.
//
// -----------------------------------------------------------------------------
//
RESOURCE RSS_SIGNATURE
{
}
// -----------------------------------------------------------------------------
//
// Default Document Name
//
// -----------------------------------------------------------------------------
//
RESOURCE TBUF r_default_document_name
{
buf="HEWB";
}
// -----------------------------------------------------------------------------
//
// Define default menu and CBA key.
//
// -----------------------------------------------------------------------------
//
RESOURCE EIK_APP_INFO
{
menubar = r_deletefiles_menubar;
cba = R_AVKON_SOFTKEYS_OPTIONS_EXIT;
}
// -----------------------------------------------------------------------------
//
// Localizable application information
//
// -----------------------------------------------------------------------------
//
RESOURCE LOCALISABLE_APP_INFO r_deletefiles_localisable_app_info
{
short_caption = qtn_hewb_short_caption_string;
caption_and_icon =
CAPTION_AND_ICON_INFO
{
caption = qtn_hewb_caption_string;
number_of_icons = 1;
icon_file = "\\resource\\apps\\DeleteFiles_reg.mif";
};
}
// -----------------------------------------------------------------------------
//
// r_deletefiles_menubar
// Menubar for DeleteFiles example
//
// -----------------------------------------------------------------------------
//
RESOURCE MENU_BAR r_deletefiles_menubar
{
titles =
{
MENU_TITLE { menu_pane = r_deletefiles_menu; }
};
}
// -----------------------------------------------------------------------------
//
// r_deletefiles_menu
// Menu for "Options"
//
// -----------------------------------------------------------------------------
//
RESOURCE MENU_PANE r_deletefiles_menu
{
items =
{
// added the new Options menu command here
MENU_ITEM
{
command = EDeleteFilesCommand1;
txt = qtn_hewb_command1;
},
MENU_ITEM
{
command = EDeleteFilesCommand2;
txt = qtn_hewb_command2;
cascade = r_deletefiles_menu1;
},
MENU_ITEM
{
command = EAknSoftkeyExit;
txt = qtn_hewb_exit;
}
};
}
RESOURCE MENU_PANE r_deletefiles_menu1
{
items =
{
// added the new Options menu command here
MENU_ITEM
{
command = EDeleteFilesCommand3;
txt = "Extend Name";
},
MENU_ITEM
{
command = EDeleteFilesCommand4;
txt = "File Name";
}
};
}
//----------------------------------------------------
//
// r_delete_data_query
// Recource of Data query
//
//----------------------------------------------------
//
RESOURCE DIALOG r_delete_data_query
{
flags = EGeneralQueryFlags;
buttons = R_AVKON_SOFTKEYS_OK_CANCEL;
items =
{
DLG_LINE
{
type = EAknCtQuery;
id = EGeneralQuery;
control = AVKON_DATA_QUERY
{
layout = EDataLayout;
label = STRING_delete_data_text;
control = EDWIN
{
flags = EEikEdwinNoHorizScrolling | EEikEdwinResizable;
width = 5;
// lines = AKNEXQUERY_EDWIN_LINES;
maxlength = 128;
// added to limit expanding in forms.
// If you want full screen use 6 here
max_view_height_in_lines = 5;
// if you have the line above, you must have this.
// It's calculable from LAF
base_line_delta = 21;
};
};
}
};
}
//----------------------------------------------------
//
// r_delete_filedata_query
// Recource of Data query
//
//----------------------------------------------------
//
RESOURCE DIALOG r_delete_filedata_query
{
flags = EGeneralQueryFlags;
buttons = R_AVKON_SOFTKEYS_OK_CANCEL;
items =
{
DLG_LINE
{
type = EAknCtQuery;
id = EGeneralQuery;
control = AVKON_DATA_QUERY
{
layout = EDataLayout;
label = STRING_delete_filedata_text;
control = EDWIN
{
flags = EEikEdwinNoHorizScrolling | EEikEdwinResizable;
width = 5;
// lines = AKNEXQUERY_EDWIN_LINES;
maxlength = 128;
// added to limit expanding in forms.
// If you want full screen use 6 here
max_view_height_in_lines = 5;
// if you have the line above, you must have this.
// It's calculable from LAF
base_line_delta = 21;
};
};
}
};
}
RESOURCE AVKON_SETTING_ITEM_LIST r_settingslist_setting_item_list
{
flags = EAknSettingItemNumberedStyle;
title = SETTING_ITEM_LIST_TITLE;
items =
{
AVKON_SETTING_ITEM
{
identifer = ESettingsListDifficultySettingItem;
setting_page_resource = rettinglist_difficulty_setting_page;
name = DIFFICULTY_SETTING_ITEM_TITLE;
},
AVKON_SETTING_ITEM
{
identifier = ESettingListPlayerNameSettingItem;
name = PLAYER_NAME_SETTING_ITEM_TITLE;
compulsory_ind_setting = "*";
},
AVKON_SETTING_ITEM
{
identifier = ESettingsListHintsSettingItem;
setting_page_resource = r_settinglist_hints_setting_page;
associated_resouce = r_settinglist_hints_popup_setting_texts;
name = HINTS_SETTING_ITEM_TITLE;
}
};
}
RESOURCE AVKON_SETTING_PAGE r_settinglist_difficulty_setting_page
{
number = 1;
hint_text = DIFFICULTY_HINT_TEXT;
label = DIFFICULTY_SETTING_ITEM_TITLE;
type = EAknCtSlider;
editor_resource_id = r_settinglist_difficulty_slider;
}
// -----------------------------------------------------------------------------
//
// Resources for messages.
//
// -----------------------------------------------------------------------------
//
RESOURCE TBUF32 r_hewb_command1_text { buf=qtn_hewb_command1_text; }
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -