📄 testmtms.rss
字号:
/*
============================================================================
Name : TestMtms.rss
Author : Tomken
Copyright : (C) 2008-2009
Description : This file contains all the resources for the TestMtms.
============================================================================
*/
// RESOURCE IDENTIFIER
NAME TEST // 4 letter ID
CHARACTER_SET UTF8
// INCLUDES
#include <eikon.rh>
#include <avkon.rsg>
#include <avkon.rh>
#include "TestMtms.hrh"
#include "TestMtms.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="TEST";
}
// -----------------------------------------------------------------------------
//
// Define default menu and CBA key.
//
// -----------------------------------------------------------------------------
//
RESOURCE EIK_APP_INFO
{
menubar = r_menubar;
cba = R_AVKON_SOFTKEYS_OPTIONS_EXIT;
}
// -----------------------------------------------------------------------------
//
// r_menubar
// Main menubar
//
// -----------------------------------------------------------------------------
//
RESOURCE MENU_BAR r_menubar
{
titles =
{
MENU_TITLE { menu_pane = r_menu; }
};
}
// -----------------------------------------------------------------------------
//
// r_menu
// Menu for "Options"
//
// -----------------------------------------------------------------------------
//
RESOURCE MENU_PANE r_menu
{
items =
{
// added the new Options menu command here
MENU_ITEM
{
command = ECmdInitInbox;
txt = "View Inbox";
},
MENU_ITEM
{
command = ECmdInitOutbox;
txt = "View Outbox";
},
MENU_ITEM
{
command = ECmdUnreadIt;
txt = "Set Unread";
},
MENU_ITEM
{
command = ECmdSendState;
txt = "Create SMS";
},
MENU_ITEM
{
command = ECmdSimulateSendSms;
txt = "Simulate Send SMS";
},
MENU_ITEM
{
command = ECmdNotepadTest;
txt = "Notepad Test";
},
MENU_ITEM
{
command = ECmdCreateToInbox;
txt = "Create msg to inbox";
},
MENU_ITEM
{
command = ECmdCreateToSend;
txt = "Create msg to Send box";
},
MENU_ITEM
{
command = EHelp;
txt = qtn_help;
},
MENU_ITEM
{
command = EAbout;
txt = qtn_about;
},
MENU_ITEM
{
command = EAknSoftkeyExit;
txt = qtn_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
{
};
}
};
}
RESOURCE DIALOG r_query_sms_dialog
{
flags = EGeneralQueryFlags;
buttons = R_AVKON_SOFTKEYS_OK_CANCEL;
items =
{
DLG_LINE
{
type = EAknCtMultilineQuery;
id = EMultilineFirstLine;
control = AVKON_DATA_QUERY
{
layout = EMultiDataFirstEdwin;
label = "Name";
control = EDWIN
{
flags = EEikEdwinNoHorizScrolling | EEikEdwinResizable;
maxlength = 0;
};
};
},
DLG_LINE
{
type = EAknCtMultilineQuery;
id = EMultilineSecondLine;
control = AVKON_DATA_QUERY
{
layout = EMultiDataSecondEdwin;
label = "Mobile";
control = EDWIN
{
flags = EEikEdwinNoHorizScrolling | EEikEdwinResizable;
numeric_keymap=EAknEditorCalculatorNumberModeKeymap;
default_input_mode= EAknEditorNumericInputMode;
lines = 2;
maxlength = 0;
};
};
}
};
}
RESOURCE DIALOG r_message_query
{
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
{
};
}
};
}
RESOURCE ARRAY r_cl_web_default_contents
{
items =
{
LBUF { txt = "Show next time"; },
LBUF { txt = "Don't show next time"; }
};
}
// -----------------------------------------------------------------------------
//
// Resources for messages.
//
// -----------------------------------------------------------------------------
//
RESOURCE TBUF32 r_caption_string { buf=qtn_caption_string; }
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_command1_text { buf=qtn_command1_text; }
#ifdef EKA2
#include "TestMtms.reg"
#endif
// End of File
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -