?? dbms.rss
字號:
/*
* ============================================================================
* Name : DBMS.rss
* Part of : DBMS
* Created : 04.11.2006 by Forum Nokia
* Version : 2.0
* Copyright: Nokia Corporation
* ============================================================================
*/
NAME DBMS// Can be any four letter ID.
// INCLUDES
#include <eikon.rh>
#include <avkon.rh>
#include <avkon.rsg>
#include "DBMS.hrh"
// ---------------------------------------------------------
//
// Define the resource file signature
// This resource should be empty.
//
// ---------------------------------------------------------
//
RESOURCE RSS_SIGNATURE
{
}
// ---------------------------------------------------------
//
// Default Document Name
//
// ---------------------------------------------------------
//
RESOURCE TBUF
{
buf="";
}
// ---------------------------------------------------------
//
// Define default menu and CBA key.
//
// ---------------------------------------------------------
//
RESOURCE EIK_APP_INFO
{
menubar = r_main_menubar;
cba = R_AVKON_SOFTKEYS_OPTIONS_EXIT;
}
// ---------------------------------------------------------
//
// r_main_menubar
// Main menubar
//
// ---------------------------------------------------------
//
RESOURCE MENU_BAR r_main_menubar
{
titles =
{
MENU_TITLE
{
menu_pane = r_main_menu;
}
};
}
// ---------------------------------------------------------
//
// r_main_menu
// Menu for "Options"
// See BookstoreDb.hrh for commands
//
// ---------------------------------------------------------
//
RESOURCE MENU_PANE r_main_menu
{
items =
{
MENU_ITEM { command = EOpenCmd; txt = "Open"; },
MENU_ITEM { command = ECreateCmd; txt = "New database"; },
MENU_ITEM { command = ERemoveDbCmd; txt = "Remove database"; },
MENU_ITEM { command = EAddBookCmd; txt = "Add a book"; },
MENU_ITEM { command = EBackCmd; txt = "Back"; },
MENU_ITEM { command = EAddBookAPICmd; txt = "Add using API"; },
MENU_ITEM { command = EAddBookSQLCmd; txt = "Add with SQL"; },
MENU_ITEM { command = ERemoveBookCmd; txt = "Remove"; },
MENU_ITEM { command = ERemoveAllBooksCmd; txt = "Remove all books"; },
MENU_ITEM { command = EChangeTitleCmd; txt = "Change title"; },
MENU_ITEM { command = EGetAllBooksCmd; txt = "Get All books"; },
MENU_ITEM { command = ESearchBooksCmd; txt = "Multiple search"; },
MENU_ITEM { command = EQuickFindCmd; txt = "Details"; },
MENU_ITEM { command = EAddDateCmd; txt = "Add a date column"; },
MENU_ITEM { command = ERemoveDateCmd; txt = "Remove date column"; },
MENU_ITEM { command = EColumnNamesCmd; txt = "Get columns"; },
MENU_ITEM { command = ECloseCmd; txt = "Close database"; }
};
}
//----------------------------------------------------
// r_simple_edwin
// Resource for editing book properties in BookEditorView
//----------------------------------------------------
//
RESOURCE EDWIN r_simple_edwin
{
flags = EAknEditorFlagDefault;
width = 10;
lines= 1;
maxlength = 15; // Max number of characters
allowed_input_modes = EAknEditorAllInputModes;
default_input_mode = EAknEditorTextInputMode;
}
// ---------------------------------------------------------
//
// ITEM LIST
//
// ---------------------------------------------------------
//
RESOURCE AVKON_SETTING_ITEM_LIST r_entry_settings_list
{
title = "Example";
}
//----------------------------------------------------
// r_simple_text_query
// Resource for querying simple text
//----------------------------------------------------
//
RESOURCE DIALOG R_SIMPLE_TEXT_QUERY
{
flags=EAknGeneralQueryFlags;
buttons=R_AVKON_SOFTKEYS_OK_CANCEL;
items=
{
DLG_LINE
{
type=EAknCtQuery;
id=EGeneralQuery;
control=AVKON_DATA_QUERY
{
layout=EDataLayout;
control=EDWIN
{
maxlength = 256;
};
};
}
};
}
// ---------------------------------------------------------
//
// TEXT SETTING PAGE
//
// ---------------------------------------------------------
//
RESOURCE AVKON_SETTING_PAGE r_text_setting_page
{
type = EEikCtEdwin;
editor_resource_id = r_name_edwin;
}
RESOURCE EDWIN r_name_edwin
{
width = 10;
maxlength = 15;
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -