|
1 /* |
|
2 * Copyright (c) 2001-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of the License "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: EAP GTC UI resource file |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 CHARACTER_SET UTF8 |
|
21 |
|
22 // RESOURCE IDENTIFIER |
|
23 NAME EPGT |
|
24 |
|
25 // INCLUDES |
|
26 #include <eikon.rh> |
|
27 #include "EapGtcUi.hrh" // Enums for these resources |
|
28 #include <eapgtcui.loc> // Localisation file |
|
29 #include <wlaneapsettingsui.loc> |
|
30 #include <eikon.rsg> |
|
31 #include <avkon.rsg> |
|
32 #include <avkon.rh> |
|
33 #include <avkon.mbg> |
|
34 #include <avkon.loc> |
|
35 |
|
36 |
|
37 // CONSTANTS |
|
38 #define KUsernameMaxNameLength 255 |
|
39 |
|
40 |
|
41 // RESOURCE DEFINITIONS |
|
42 |
|
43 RESOURCE RSS_SIGNATURE { } |
|
44 |
|
45 |
|
46 RESOURCE TBUF16 { buf=""; } |
|
47 |
|
48 RESOURCE CBA r_gtc_ui_softkeys_options_back_change |
|
49 { |
|
50 buttons = |
|
51 { |
|
52 CBA_BUTTON { id = EAknSoftkeyOptions; txt = text_softkey_option; }, |
|
53 CBA_BUTTON { id = EAknSoftkeyBack; txt = text_softkey_back; }, |
|
54 CBA_BUTTON { id = EGtcUiCmdChange; txt = qtn_msk_change; } |
|
55 }; |
|
56 } |
|
57 |
|
58 |
|
59 RESOURCE DIALOG r_gtc_setting_dialog |
|
60 { |
|
61 flags = EAknDialogSelectionList|EEikDialogFlagWait; |
|
62 buttons = r_gtc_ui_softkeys_options_back_change; |
|
63 items= |
|
64 { |
|
65 DLG_LINE |
|
66 { |
|
67 id = EGtcSettingsListBox; |
|
68 type = EAknCtSettingListBox; |
|
69 control = LISTBOX |
|
70 { |
|
71 flags = EAknListBoxMenuList; |
|
72 }; |
|
73 } |
|
74 }; |
|
75 } |
|
76 |
|
77 |
|
78 RESOURCE AVKON_SETTING_PAGE r_gtc_username_page |
|
79 { |
|
80 softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK; |
|
81 label = qtn_wlan_eap_sett_username; |
|
82 type = EEikCtEdwin; |
|
83 editor_resource_id = r_gtc_setting_edwin; |
|
84 } |
|
85 |
|
86 |
|
87 RESOURCE EDWIN r_gtc_setting_edwin |
|
88 { |
|
89 width = 9; |
|
90 lines = 5; |
|
91 maxlength = 255; |
|
92 allowed_input_modes = EAknEditorTextInputMode | EAknEditorNumericInputMode; |
|
93 default_input_mode = EAknEditorTextInputMode; |
|
94 flags = EEikEdwinAutoSelection | EEikEdwinNoLineOrParaBreaks; |
|
95 } |
|
96 |
|
97 |
|
98 RESOURCE MENU_BAR r_gtc_menubar |
|
99 { |
|
100 titles = |
|
101 { |
|
102 MENU_TITLE { menu_pane = r_gtc_menu_pane; txt=""; } |
|
103 }; |
|
104 } |
|
105 |
|
106 |
|
107 RESOURCE MENU_PANE r_gtc_menu_pane |
|
108 { |
|
109 items = |
|
110 { |
|
111 MENU_ITEM |
|
112 { |
|
113 command = EGtcUiCmdChange; |
|
114 txt = qtn_options_change; |
|
115 flags = EEikMenuItemAction; |
|
116 }, |
|
117 MENU_ITEM |
|
118 { |
|
119 command = EAknCmdHelp; |
|
120 txt = qtn_options_help; |
|
121 }, |
|
122 MENU_ITEM |
|
123 { |
|
124 command = EAknCmdExit; |
|
125 txt = qtn_options_exit; |
|
126 } |
|
127 }; |
|
128 } |
|
129 |
|
130 |
|
131 // Resource strings |
|
132 RESOURCE TBUF r_gtc_settings_title { buf = qtn_wlan_eap_gtc_title; } |
|
133 RESOURCE TBUF r_gtc_username_string { buf = qtn_wlan_eap_sett_username; } |
|
134 |
|
135 |
|
136 // End of File |