|
1 /* |
|
2 * Copyright (c) 2002 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 "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: |
|
15 * This file contains all the resources for the CMuiuSettingsArray. |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 |
|
21 // CONSTANTS |
|
22 #define MuiuEdwinNumberMinValue 1 |
|
23 #define MuiuEdwinNumberMaxValue 999 |
|
24 #define MuiuPaswordNumLetters 32 |
|
25 |
|
26 |
|
27 // RESOURCE DEFINITIONS |
|
28 // --------------------------------------------------------- |
|
29 // |
|
30 // r_muiu_settings_dialog_listbox |
|
31 // For radiobutton settings lists |
|
32 // |
|
33 // --------------------------------------------------------- |
|
34 // |
|
35 RESOURCE AVKON_SETTING_PAGE r_muiu_settings_dialog_listbox |
|
36 { |
|
37 softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK; |
|
38 type = EAknSetListBox; |
|
39 editor_resource_id = r_muiu_setting_page_listbox; |
|
40 menubar = R_AVKON_MENUPANE_EMPTY; |
|
41 } |
|
42 |
|
43 // --------------------------------------------------------- |
|
44 // |
|
45 // r_muiu_setting_page_listbox |
|
46 // |
|
47 // |
|
48 // --------------------------------------------------------- |
|
49 // |
|
50 RESOURCE LISTBOX r_muiu_setting_page_listbox |
|
51 { |
|
52 flags = EEikListBoxMultipleSelection; |
|
53 } |
|
54 |
|
55 // --------------------------------------------------------- |
|
56 // |
|
57 // r_muiu_settings_dialog_checklistbox |
|
58 // For check box settings lists |
|
59 // |
|
60 // --------------------------------------------------------- |
|
61 // |
|
62 RESOURCE AVKON_SETTING_PAGE r_muiu_settings_dialog_checklistbox |
|
63 { |
|
64 softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__MARK; |
|
65 type = EAknSetListBox; |
|
66 editor_resource_id = r_muiu_setting_page_checklistbox; |
|
67 menubar = R_AVKON_MENUPANE_EMPTY; |
|
68 } |
|
69 |
|
70 // --------------------------------------------------------- |
|
71 // |
|
72 // r_muiu_setting_page_checklistbox |
|
73 // |
|
74 // |
|
75 // --------------------------------------------------------- |
|
76 // |
|
77 RESOURCE LISTBOX r_muiu_setting_page_checklistbox |
|
78 { |
|
79 flags = EEikListBoxMultipleSelection; |
|
80 } |
|
81 |
|
82 // --------------------------------------------------------- |
|
83 // |
|
84 // r_muiu_settings_dialog_text |
|
85 // |
|
86 // |
|
87 // --------------------------------------------------------- |
|
88 // |
|
89 RESOURCE AVKON_SETTING_PAGE r_muiu_settings_dialog_text |
|
90 { |
|
91 softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK; |
|
92 type = EEikCtEdwin; |
|
93 editor_resource_id = r_muiu_setting_page_edwin_text; |
|
94 menubar = R_AVKON_MENUPANE_EMPTY; |
|
95 } |
|
96 |
|
97 // --------------------------------------------------------- |
|
98 // |
|
99 // r_muiu_setting_page_edwin |
|
100 // |
|
101 // |
|
102 // --------------------------------------------------------- |
|
103 // |
|
104 RESOURCE EDWIN r_muiu_setting_page_edwin_text |
|
105 { |
|
106 flags = EEikEdwinNoHorizScrolling | EEikEdwinResizable; |
|
107 width = 25; |
|
108 lines = 6; |
|
109 maxlength = 25; |
|
110 } |
|
111 |
|
112 // --------------------------------------------------------- |
|
113 // |
|
114 // r_muiu_settings_dialog_number |
|
115 // |
|
116 // |
|
117 // --------------------------------------------------------- |
|
118 // |
|
119 RESOURCE AVKON_SETTING_PAGE r_muiu_settings_dialog_number |
|
120 { |
|
121 softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK; |
|
122 type = EAknCtIntegerEdwin; |
|
123 editor_resource_id = r_muiu_setting_page_edwin_number; |
|
124 menubar = R_AVKON_MENUPANE_EMPTY; |
|
125 } |
|
126 |
|
127 // --------------------------------------------------------- |
|
128 // |
|
129 // r_muiu_setting_page_edwin_number |
|
130 // |
|
131 // |
|
132 // --------------------------------------------------------- |
|
133 // |
|
134 RESOURCE AVKON_INTEGER_EDWIN r_muiu_setting_page_edwin_number |
|
135 { |
|
136 min = MuiuEdwinNumberMinValue; |
|
137 max = MuiuEdwinNumberMaxValue; |
|
138 maxlength = 3; |
|
139 } |
|
140 |
|
141 // --------------------------------------------------------- |
|
142 // |
|
143 // r_muiu_settings_dialog_sc_number |
|
144 // |
|
145 // |
|
146 // --------------------------------------------------------- |
|
147 // |
|
148 RESOURCE AVKON_SETTING_PAGE r_muiu_settings_dialog_sc_number |
|
149 { |
|
150 softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK; |
|
151 type = EEikCtEdwin; |
|
152 editor_resource_id = r_muiu_setting_page_edwin_sc_number; |
|
153 menubar = R_AVKON_MENUPANE_EMPTY; |
|
154 } |
|
155 |
|
156 // --------------------------------------------------------- |
|
157 // |
|
158 // r_muiu_setting_page_edwin_sc_number |
|
159 // |
|
160 // |
|
161 // --------------------------------------------------------- |
|
162 // |
|
163 RESOURCE EDWIN r_muiu_setting_page_edwin_sc_number |
|
164 { |
|
165 flags = EEikEdwinNoHorizScrolling | EEikEdwinResizable; |
|
166 width = 25; |
|
167 lines = 6; |
|
168 maxlength = 21; // length of maximum allowed Sc number |
|
169 default_input_mode = EAknEditorNumericInputMode; |
|
170 allowed_input_modes = EAknEditorNumericInputMode; |
|
171 numeric_keymap = EAknEditorToFieldNumberModeKeymap; |
|
172 } |
|
173 |
|
174 // --------------------------------------------------------- |
|
175 // |
|
176 // r_muiu_settings_dialog_password |
|
177 // |
|
178 // |
|
179 // --------------------------------------------------------- |
|
180 // |
|
181 RESOURCE AVKON_SETTING_PAGE r_muiu_settings_dialog_password |
|
182 { |
|
183 softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK; |
|
184 menubar = R_AVKON_MENUPANE_EMPTY; |
|
185 type = EEikCtSecretEd; |
|
186 editor_resource_id = r_muiu_setting_page_password; |
|
187 } |
|
188 |
|
189 // --------------------------------------------------------- |
|
190 // |
|
191 // r_muiu_setting_page_password |
|
192 // |
|
193 // |
|
194 // --------------------------------------------------------- |
|
195 // |
|
196 RESOURCE SECRETED r_muiu_setting_page_password |
|
197 { |
|
198 num_letters = MuiuPaswordNumLetters; |
|
199 } |
|
200 |
|
201 // --------------------------------------------------------- |
|
202 // |
|
203 // r_muiu_settings_dialog_password_fill |
|
204 // |
|
205 // |
|
206 // --------------------------------------------------------- |
|
207 // |
|
208 RESOURCE NUMBER_INT16 r_muiu_settings_dialog_password_fill |
|
209 { |
|
210 value = '*'; |
|
211 } |
|
212 |
|
213 RESOURCE TBUF r_muiu_settings_dialog_compulsory_fill |
|
214 { |
|
215 buf = qtn_mce_settings_compulsory; |
|
216 } |
|
217 |
|
218 // End of File |