|
46
|
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 |
* %version: 14 %
|
|
|
20 |
*/
|
|
|
21 |
|
|
|
22 |
CHARACTER_SET UTF8
|
|
|
23 |
|
|
|
24 |
// RESOURCE IDENTIFIER
|
|
|
25 |
NAME EPGT
|
|
|
26 |
|
|
|
27 |
// INCLUDES
|
|
|
28 |
#include <eikon.rh>
|
|
|
29 |
#include "EapGtcUi.hrh" // Enums for these resources
|
|
|
30 |
#include <eapgtcui.loc> // Localisation file
|
|
|
31 |
#include <wlaneapsettingsui.loc>
|
|
|
32 |
#include <eikon.rsg>
|
|
|
33 |
#include <avkon.rsg>
|
|
|
34 |
#include <avkon.rh>
|
|
|
35 |
#include <avkon.mbg>
|
|
|
36 |
#include <avkon.loc>
|
|
|
37 |
|
|
|
38 |
|
|
|
39 |
// CONSTANTS
|
|
|
40 |
#define KUsernameMaxNameLength 255
|
|
|
41 |
|
|
|
42 |
|
|
|
43 |
// RESOURCE DEFINITIONS
|
|
|
44 |
|
|
|
45 |
RESOURCE RSS_SIGNATURE { }
|
|
|
46 |
|
|
|
47 |
|
|
|
48 |
RESOURCE TBUF16 { buf=""; }
|
|
|
49 |
|
|
|
50 |
RESOURCE CBA r_gtc_ui_softkeys_options_back_change
|
|
|
51 |
{
|
|
|
52 |
buttons =
|
|
|
53 |
{
|
|
|
54 |
CBA_BUTTON { id = EAknSoftkeyOptions; txt = text_softkey_option; },
|
|
|
55 |
CBA_BUTTON { id = EAknSoftkeyBack; txt = text_softkey_back; },
|
|
|
56 |
CBA_BUTTON { id = EGtcUiCmdChange; txt = qtn_msk_change; }
|
|
|
57 |
};
|
|
|
58 |
}
|
|
|
59 |
|
|
|
60 |
|
|
|
61 |
RESOURCE DIALOG r_gtc_setting_dialog
|
|
|
62 |
{
|
|
|
63 |
flags = EAknDialogSelectionList|EEikDialogFlagWait;
|
|
|
64 |
buttons = r_gtc_ui_softkeys_options_back_change;
|
|
|
65 |
items=
|
|
|
66 |
{
|
|
|
67 |
DLG_LINE
|
|
|
68 |
{
|
|
|
69 |
id = EGtcSettingsListBox;
|
|
|
70 |
type = EAknCtSettingListBox;
|
|
|
71 |
control = LISTBOX
|
|
|
72 |
{
|
|
|
73 |
flags = EAknListBoxMenuList;
|
|
|
74 |
};
|
|
|
75 |
}
|
|
|
76 |
};
|
|
|
77 |
}
|
|
|
78 |
|
|
|
79 |
|
|
|
80 |
RESOURCE AVKON_SETTING_PAGE r_gtc_username_page
|
|
|
81 |
{
|
|
|
82 |
softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK;
|
|
|
83 |
label = qtn_wlan_eap_sett_username;
|
|
|
84 |
type = EEikCtEdwin;
|
|
|
85 |
editor_resource_id = r_gtc_setting_edwin;
|
|
|
86 |
}
|
|
|
87 |
|
|
|
88 |
|
|
|
89 |
RESOURCE EDWIN r_gtc_setting_edwin
|
|
|
90 |
{
|
|
|
91 |
width = 9;
|
|
|
92 |
lines = 5;
|
|
|
93 |
maxlength = 255;
|
|
|
94 |
allowed_input_modes = EAknEditorTextInputMode | EAknEditorNumericInputMode;
|
|
|
95 |
default_input_mode = EAknEditorTextInputMode;
|
|
|
96 |
flags = EEikEdwinAutoSelection | EEikEdwinNoLineOrParaBreaks;
|
|
|
97 |
}
|
|
|
98 |
|
|
|
99 |
|
|
|
100 |
RESOURCE MENU_BAR r_gtc_menubar
|
|
|
101 |
{
|
|
|
102 |
titles =
|
|
|
103 |
{
|
|
|
104 |
MENU_TITLE { menu_pane = r_gtc_menu_pane; txt=""; }
|
|
|
105 |
};
|
|
|
106 |
}
|
|
|
107 |
|
|
|
108 |
|
|
|
109 |
RESOURCE MENU_PANE r_gtc_menu_pane
|
|
|
110 |
{
|
|
|
111 |
items =
|
|
|
112 |
{
|
|
|
113 |
MENU_ITEM
|
|
|
114 |
{
|
|
|
115 |
command = EGtcUiCmdChange;
|
|
|
116 |
txt = qtn_options_change;
|
|
|
117 |
flags = EEikMenuItemAction;
|
|
|
118 |
},
|
|
|
119 |
MENU_ITEM
|
|
|
120 |
{
|
|
|
121 |
command = EAknCmdHelp;
|
|
|
122 |
txt = qtn_options_help;
|
|
|
123 |
},
|
|
|
124 |
MENU_ITEM
|
|
|
125 |
{
|
|
|
126 |
command = EAknCmdExit;
|
|
|
127 |
txt = qtn_options_exit;
|
|
|
128 |
}
|
|
|
129 |
};
|
|
|
130 |
}
|
|
|
131 |
|
|
|
132 |
|
|
|
133 |
// Resource strings
|
|
|
134 |
RESOURCE TBUF r_gtc_settings_title { buf = qtn_wlan_eap_gtc_title; }
|
|
|
135 |
RESOURCE TBUF r_gtc_username_string { buf = qtn_wlan_eap_sett_username; }
|
|
|
136 |
|
|
|
137 |
|
|
|
138 |
// End of File
|