?? camdecode_3rd.rss
字號:
/*
============================================================================
Name : CamDecode_3rd.rss
Author :
Version :
Copyright : Your copyright notice
Description : Application resource file
============================================================================
*/
// RESOURCE IDENTIFIER
NAME HEWB // 4 letter ID
// INCLUDES
#include <eikon.rh>
#include <avkon.rsg>
#include <avkon.rh>
#include <appinfo.rh>
#include "CamDecode_3rd.hrh"
#include "CamDecode_3rd.rls"
CHARACTER_SET UTF8
// 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_camdecode_3rd_menubar;
cba = R_AVKON_SOFTKEYS_OPTIONS_EXIT;
}
// -----------------------------------------------------------------------------
//
// Localizable application information
//
// -----------------------------------------------------------------------------
//
RESOURCE LOCALISABLE_APP_INFO r_camdecode_3rd_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\\CamDecode_3rd_reg.mif";
};
}
// -----------------------------------------------------------------------------
//
// r_camdecode_3rd_menubar
// Menubar for CamDecode_3rd example
//
// -----------------------------------------------------------------------------
//
RESOURCE MENU_BAR r_camdecode_3rd_menubar
{
titles =
{
MENU_TITLE { menu_pane = r_camdecode_3rd_menu; }
};
}
// -----------------------------------------------------------------------------
//
// r_camdecode_3rd_menu
// Menu for "Options"
//
// -----------------------------------------------------------------------------
//
RESOURCE MENU_PANE r_camdecode_3rd_menu
{
items =
{
// added the new Options menu command here
MENU_ITEM
{
command = ECamDecode_3rdCommand1;
txt = qtn_hewb_command1;
},
/* MENU_ITEM
{
command = EHelp;
txt = qtn_help;
},
MENU_ITEM
{
command = EAbout;
txt = qtn_about;
}, */
MENU_ITEM
{
command = EAknSoftkeyExit;
txt = qtn_hewb_exit;
}
};
}
// -----------------------------------------------------------------------------
//
// About dialog resource.
//
// -----------------------------------------------------------------------------
//
RESOURCE DIALOG r_about_query_dialog
{
flags = EGeneralQueryFlags | EEikDialogFlagNoBorder | EEikDialogFlagNoShadow;
buttons = R_AVKON_SOFTKEYS_OK_EMPTY;
items=
{
DLG_LINE
{
type = EAknCtPopupHeadingPane;
id = EAknMessageQueryHeaderId;
itemflags = EEikDlgItemNonFocusing;
control = AVKON_HEADING
{
};
},
DLG_LINE
{
type = EAknCtMessageQuery;
id = EAknMessageQueryContentId;
control = AVKON_MESSAGE_QUERY
{
};
}
};
}
// -----------------------------------------------------------------------------
//
// Privacy statement dialog resource.
//
// -----------------------------------------------------------------------------
//
RESOURCE DIALOG r_privstmt_dialog {
flags = EAknDialogGenericQueryFlags;
buttons = R_AVKON_SOFTKEYS_YES_NO;
items = {
DLG_LINE {
type = EAknCtPopupHeadingPane;
id = EAknMessageQueryHeaderId;
itemflags = EEikDlgItemNonFocusing;
control = AVKON_HEADING {
label = qtn_privacy_statement_header;
};
},
DLG_LINE {
type = EAknCtMessageQuery;
id = EAknMessageQueryContentId;
control = AVKON_MESSAGE_QUERY {
};
}
};
}
//----------------------------------------------------
//
// r_camdecode_dlg
//
//----------------------------------------------------
//
RESOURCE DIALOG r_camdecode_dlg
{
flags = EEikDialogFlagNoDrag | EEikDialogFlagCbaButtons |
EEikDialogFlagWait | EEikDialogFlagFillAppClientRect ;
buttons = R_AVKON_SOFTKEYS_CANCEL;
items =
{
DLG_LINE
{
type = EEikCtLabel;
id = EInfomation;
control = LABEL
{
};
}
};
}
//----------------------------------------------------
//
// r_camdecode_listbox
//
//----------------------------------------------------
//
RESOURCE LISTBOX r_camdecode_listbox
{
array_id = r_camdecode_listbox_items;
flags = EAknListBoxSelectionList|EAknListBoxLoopScrolling;
}
//----------------------------------------------------
//
// r_camdecode_array
//
//----------------------------------------------------
//
RESOURCE ARRAY r_camdecode_listbox_items
{
items =
{
LBUF
{
txt = "\tData Matrix";
},
LBUF
{
txt = "\tQR Code";
}
};
}
// -----------------------------------------------------------------------------
//
// Resources for messages.
//
// -----------------------------------------------------------------------------
//
RESOURCE TBUF32 r_hewb_command1_text { buf=qtn_hewb_command1_text; }
RESOURCE TBUF32 r_about_dialog_title { buf=qtn_about_dialog_title; }
RESOURCE TBUF r_about_dialog_text { buf=qtn_about_dialog_text; }
RESOURCE TBUF r_privacy_statement_filename { buf=qtn_privacy_statement_filename; }
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -