|
1 /* |
|
2 * Copyright (c) 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 "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 * |
|
16 */ |
|
17 |
|
18 #include "atconfigurationappguisettingitemlist.hrh" |
|
19 #include "atconfigurationappgui.loc.hrh" |
|
20 |
|
21 RESOURCE AVKON_VIEW r_atconfiguration_app_gui_setting_item_list_view |
|
22 { |
|
23 cba = R_AVKON_SOFTKEYS_OPTIONS_BACK; |
|
24 menubar = r_atconfiguration_app_gui_settings_options_menu; |
|
25 toolbar = 0; |
|
26 } |
|
27 RESOURCE MENU_BAR r_atconfiguration_app_gui_settings_options_menu |
|
28 { |
|
29 titles = |
|
30 { |
|
31 MENU_TITLE |
|
32 { |
|
33 menu_pane = r_atconfiguration_app_gui_settings_menu_pane; |
|
34 } |
|
35 }; |
|
36 } |
|
37 RESOURCE MENU_PANE r_atconfiguration_app_gui_settings_menu_pane |
|
38 { |
|
39 items = |
|
40 { |
|
41 MENU_ITEM |
|
42 { |
|
43 command = EATConfigurationAppGuiSettingItemListViewMenuItem1Command; |
|
44 txt = STR_ATConfigurationAppGuiSettingItemListView_7; |
|
45 }, |
|
46 MENU_ITEM |
|
47 { |
|
48 command = EATConfigurationAppGuiSettingItemListViewHelpMenuItemCommand; |
|
49 txt = STR_ATConfigurationAppGuiSettingItemListView_98; |
|
50 }, |
|
51 MENU_ITEM |
|
52 { |
|
53 command = EATConfigurationAppGuiSettingItemListViewExitMenuItemCommand; |
|
54 txt = STR_ATConfigurationAppGuiSettingItemListView_99; |
|
55 } |
|
56 }; |
|
57 } |
|
58 RESOURCE STATUS_PANE_APP_MODEL r_atconfiguration_app_gui_settings_status_pane |
|
59 { |
|
60 panes = |
|
61 { |
|
62 SPANE_PANE |
|
63 { |
|
64 id = EEikStatusPaneUidTitle; |
|
65 type = EAknCtTitlePane; |
|
66 resource = r_atconfiguration_app_gui_title_resource; |
|
67 } |
|
68 }; |
|
69 } |
|
70 RESOURCE TITLE_PANE r_atconfiguration_app_gui_settings_title_resource |
|
71 { |
|
72 txt = STR_ATConfigurationAppGuiSettingItemListView_5; |
|
73 } |
|
74 RESOURCE AVKON_SETTING_ITEM_LIST r_atconfiguration_app_gui_setting_item_list |
|
75 { |
|
76 flags = EAknSettingItemNumberedStyle; |
|
77 items = |
|
78 { |
|
79 AVKON_SETTING_ITEM |
|
80 { |
|
81 name = STR_ATConfigurationAppGuiSettingItemListView_16; |
|
82 identifier = EATConfigurationAppGuiSettingItemListViewBinarySetting1; |
|
83 setting_page_resource = r_atconfiguration_app_gui_binary_setting1_setting_page_resource; |
|
84 associated_resource = r_atconfiguration_app_gui_binary_setting1; |
|
85 }, |
|
86 AVKON_SETTING_ITEM |
|
87 { |
|
88 name = STR_ATConfigurationAppGuiSettingItemListView_147; |
|
89 identifier = EATConfigurationAppGuiSettingItemListViewEnumeratedTextPopup1; |
|
90 //setting_page_resource = r_atconfiguration_app_gui_enumerated_text_popup1_setting_page_resource; |
|
91 //associated_resource = r_atconfiguration_app_gui_enumerated_text_popup1; |
|
92 setting_page_resource = r_text_setting_page; |
|
93 } |
|
94 }; |
|
95 } |
|
96 RESOURCE AVKON_SETTING_PAGE r_text_setting_page |
|
97 { |
|
98 number = 1; |
|
99 label = STR_ATConfigurationAppGuiSettingItemListView_147; |
|
100 type = EEikCtEdwin; |
|
101 editor_resource_id = r_settinglist_edwin; |
|
102 } |
|
103 |
|
104 RESOURCE EDWIN r_settinglist_edwin |
|
105 { |
|
106 maxlength = 30; |
|
107 } |
|
108 |
|
109 |
|
110 RESOURCE AVKON_SETTING_PAGE r_atconfiguration_app_gui_binary_setting1_setting_page_resource |
|
111 { |
|
112 label = STR_ATConfigurationAppGuiSettingItemListView_16; |
|
113 type = EAknCtPopupSettingList; |
|
114 editor_resource_id = r_atconfiguration_app_gui_binary_setting1_editor_resource_id; |
|
115 } |
|
116 RESOURCE POPUP_SETTING_LIST r_atconfiguration_app_gui_binary_setting1_editor_resource_id |
|
117 { |
|
118 } |
|
119 RESOURCE AVKON_POPUP_SETTING_TEXTS r_atconfiguration_app_gui_binary_setting1 |
|
120 { |
|
121 setting_texts_resource = r_atconfiguration_app_gui_binary_setting1_setting_texts_resource; |
|
122 popped_up_texts_resource = r_atconfiguration_app_gui_binary_setting1_popped_up_texts_resource; |
|
123 } |
|
124 RESOURCE ARRAY r_atconfiguration_app_gui_binary_setting1_setting_texts_resource |
|
125 { |
|
126 items = |
|
127 { |
|
128 AVKON_ENUMERATED_TEXT |
|
129 { |
|
130 text = STR_ATConfigurationAppGuiSettingItemListView_12; |
|
131 value = 1; |
|
132 }, |
|
133 AVKON_ENUMERATED_TEXT |
|
134 { |
|
135 text = STR_ATConfigurationAppGuiSettingItemListView_14; |
|
136 } |
|
137 }; |
|
138 } |
|
139 RESOURCE ARRAY r_atconfiguration_app_gui_binary_setting1_popped_up_texts_resource |
|
140 { |
|
141 items = |
|
142 { |
|
143 LBUF |
|
144 { |
|
145 txt = STR_ATConfigurationAppGuiSettingItemListView_13; |
|
146 }, |
|
147 LBUF |
|
148 { |
|
149 txt = STR_ATConfigurationAppGuiSettingItemListView_15; |
|
150 } |
|
151 }; |
|
152 } |
|
153 RESOURCE AVKON_SETTING_PAGE r_atconfiguration_app_gui_enumerated_text_popup1_setting_page_resource |
|
154 { |
|
155 label = STR_ATConfigurationAppGuiSettingItemListView_147; |
|
156 type = EAknCtPopupSettingList; |
|
157 editor_resource_id = r_atconfiguration_app_gui_enumerated_text_popup1_editor_resource_id; |
|
158 } |
|
159 RESOURCE POPUP_SETTING_LIST r_atconfiguration_app_gui_enumerated_text_popup1_editor_resource_id |
|
160 { |
|
161 } |
|
162 RESOURCE AVKON_POPUP_SETTING_TEXTS r_atconfiguration_app_gui_enumerated_text_popup1 |
|
163 { |
|
164 setting_texts_resource = r_atconfiguration_app_gui_enumerated_text_popup1_setting_texts_resource; |
|
165 popped_up_texts_resource = r_atconfiguration_app_gui_enumerated_text_popup1_popped_up_texts_resource; |
|
166 } |
|
167 RESOURCE ARRAY r_atconfiguration_app_gui_enumerated_text_popup1_setting_texts_resource |
|
168 { |
|
169 items = |
|
170 { |
|
171 AVKON_ENUMERATED_TEXT |
|
172 { |
|
173 text = STR_ATConfigurationAppGuiSettingItemListView_152; |
|
174 } |
|
175 }; |
|
176 } |
|
177 RESOURCE ARRAY r_atconfiguration_app_gui_enumerated_text_popup1_popped_up_texts_resource |
|
178 { |
|
179 items = |
|
180 { |
|
181 LBUF |
|
182 { |
|
183 txt = STR_ATConfigurationAppGuiSettingItemListView_153; |
|
184 } |
|
185 }; |
|
186 } |
|
187 |
|
188 RESOURCE AVKON_SETTING_PAGE r_atconfiguration_app_gui_slider_setting_page |
|
189 { |
|
190 number = 2; |
|
191 label = STR_ATConfigurationAppGuiSettingItemListView_153; |
|
192 type = EAknCtSlider; |
|
193 editor_resource_id = r_atconfiguration_app_gui_settinglist_slider; |
|
194 } |
|
195 |
|
196 RESOURCE SLIDER r_atconfiguration_app_gui_settinglist_slider |
|
197 { |
|
198 layout = EAknSettingsItemSliderLayout; |
|
199 minvalue = 0; |
|
200 maxvalue = 90; |
|
201 step = 5; |
|
202 valuetype = EAknSliderValueDecimal; |
|
203 minlabel = STR_ATConfigurationAppGuiSettingItemListView_154; |
|
204 maxlabel = STR_ATConfigurationAppGuiSettingItemListView_155; |
|
205 } |
|
206 |
|
207 RESOURCE TBUF r_atconfiguration_app_gui_setting_item_minute |
|
208 { |
|
209 buf = STR_ATConfigurationAppGuiSettingItemListView_156; |
|
210 } |
|
211 |
|
212 RESOURCE TBUF r_atconfiguration_app_gui_setting_item_minutes |
|
213 { |
|
214 buf = STR_ATConfigurationAppGuiSettingItemListView_157; |
|
215 } |
|
216 |
|
217 RESOURCE TBUF r_atconfiguration_app_gui_setting_item_off |
|
218 { |
|
219 buf = STR_ATConfigurationAppGuiSettingItemListView_154; |
|
220 } |
|
221 |
|
222 RESOURCE TBUF r_atconfiguration_app_gui_setting_item_seconds |
|
223 { |
|
224 buf = STR_ATConfigurationAppGuiSettingItemListView_158; |
|
225 } |