|
1 /* |
|
2 * Copyright (c) 2006-2007 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: multiselectionui resource description |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 |
|
22 |
|
23 |
|
24 // RESOURCE IDENTIFIER |
|
25 NAME VORO // 4 letter ID |
|
26 |
|
27 // INCLUDES |
|
28 #include <eikon.rh> |
|
29 #include <avkon.rsg> |
|
30 #include <avkon.rh> |
|
31 #include <avkon.mbg> |
|
32 #include <avkon.loc> |
|
33 #include <data_caging_paths_strings.hrh> |
|
34 #include <appinfo.rh> |
|
35 #include <upnpsettings.loc> |
|
36 |
|
37 #include "cupnpmultiselectionui.hrh" |
|
38 |
|
39 // RESOURCE DEFINITIONS |
|
40 |
|
41 // -------------------------------------------------------------------------- |
|
42 // RSS_SIGNATURE |
|
43 // -------------------------------------------------------------------------- |
|
44 RESOURCE RSS_SIGNATURE |
|
45 { |
|
46 } |
|
47 |
|
48 // -------------------------------------------------------------------------- |
|
49 // TBUF |
|
50 // -------------------------------------------------------------------------- |
|
51 RESOURCE TBUF |
|
52 { |
|
53 buf = ""; |
|
54 } |
|
55 |
|
56 //---------------------------------------------------------------------------- |
|
57 // |
|
58 // r_upnp_softkeys_ok_back__ok |
|
59 // |
|
60 //---------------------------------------------------------------------------- |
|
61 // |
|
62 RESOURCE CBA r_upnp_softkeys_ok_back__ok |
|
63 { |
|
64 flags = 0; |
|
65 buttons = |
|
66 { |
|
67 CBA_BUTTON {id = EAknSoftkeyOk; txt = qtn_iupnp_softkey_next;}, |
|
68 CBA_BUTTON {id = EAknSoftkeyBack; txt = text_softkey_back;}, |
|
69 CBA_BUTTON {id = EAknSoftkeyForwardKeyEvent;} |
|
70 }; |
|
71 } |
|
72 |
|
73 //---------------------------------------------------------------------------- |
|
74 // |
|
75 // r_upnp_softkeys_ok_back__ok_dialog |
|
76 // |
|
77 //---------------------------------------------------------------------------- |
|
78 // |
|
79 RESOURCE CBA r_upnp_softkeys_ok_back__ok_dialog |
|
80 { |
|
81 flags = 0; |
|
82 buttons = |
|
83 { |
|
84 CBA_BUTTON {id = EAknSoftkeyOk; txt = text_softkey_ok;}, |
|
85 CBA_BUTTON {id = EAknSoftkeyBack; txt = text_softkey_back;}, |
|
86 CBA_BUTTON {id = EAknSoftkeySelect;} |
|
87 }; |
|
88 } |
|
89 |
|
90 //--------------------------------------------------------------------------- |
|
91 // |
|
92 // r_upnp_multiselection_dialog |
|
93 // |
|
94 //--------------------------------------------------------------------------- |
|
95 RESOURCE DIALOG r_upnp_multiselection_dialog |
|
96 { |
|
97 flags = EAknDialogMultiselectionList; |
|
98 buttons = r_upnp_softkeys_ok_back__ok_dialog; |
|
99 items = |
|
100 { |
|
101 DLG_LINE |
|
102 { |
|
103 type = EAknCtSingleGraphicListBox; |
|
104 id = EMultiSelectionListBoxId; |
|
105 control = LISTBOX |
|
106 { |
|
107 flags = EAknListBoxMultiselectionList; |
|
108 }; |
|
109 }, |
|
110 DLG_LINE |
|
111 { |
|
112 itemflags = EEikDlgItemNonFocusing; |
|
113 id = EFindControl; |
|
114 type = EAknCtSelectionListPopupFind; |
|
115 } |
|
116 }; |
|
117 } |
|
118 |
|
119 //--------------------------------------------------------------------------- |
|
120 // |
|
121 // r_upnp_multiselection_popup |
|
122 // |
|
123 //--------------------------------------------------------------------------- |
|
124 RESOURCE AVKON_MULTISELECTION_LIST_QUERY r_upnp_multiselection_popup |
|
125 { |
|
126 flags = EGeneralQueryFlags; |
|
127 softkeys = r_upnp_softkeys_ok_back__ok; |
|
128 items = |
|
129 { |
|
130 AVKON_MULTISELECTION_LIST_QUERY_DLG_LINE |
|
131 { |
|
132 control = AVKON_LIST_QUERY_CONTROL |
|
133 { |
|
134 listtype = EAknCtSingleGraphicPopupMenuListBox; |
|
135 listbox = AVKON_MULTISELECTION_LIST_QUERY_LIST |
|
136 { |
|
137 }; |
|
138 heading = "Select items:"; |
|
139 }; |
|
140 }, |
|
141 DLG_LINE |
|
142 { |
|
143 itemflags = EEikDlgItemNonFocusing; |
|
144 id = EFindControl; |
|
145 type = EAknCtListQuerySearchControl; |
|
146 } |
|
147 }; |
|
148 } |
|
149 |
|
150 //--------------------------------------------------------------------------- |
|
151 // |
|
152 // r_upnp_multiselection_collecting_files_note |
|
153 // |
|
154 //--------------------------------------------------------------------------- |
|
155 // |
|
156 RESOURCE DIALOG r_upnp_multiselection_collecting_files_note |
|
157 { |
|
158 flags = EAknWaitNoteFlags; |
|
159 buttons = R_AVKON_SOFTKEYS_EMPTY; |
|
160 items = |
|
161 { |
|
162 DLG_LINE |
|
163 { |
|
164 type = EAknCtNote; |
|
165 id = EGeneralNote; |
|
166 control = AVKON_NOTE |
|
167 { |
|
168 layout = EProgressLayout; |
|
169 singular_label = qtn_iupnp_saving_changes_note; |
|
170 imageid = EMbmAvkonQgn_note_progress; |
|
171 imagemask = EMbmAvkonQgn_note_progress_mask; |
|
172 animation = R_QGN_GRAF_WAIT_BAR_ANIM; |
|
173 }; |
|
174 } |
|
175 }; |
|
176 } |
|
177 |
|
178 //--------------------------------------------------------------------------- |
|
179 // |
|
180 // r_upnp_multiselection_searching_files_note |
|
181 // |
|
182 //--------------------------------------------------------------------------- |
|
183 // |
|
184 RESOURCE DIALOG r_upnp_multiselection_searching_files_note |
|
185 { |
|
186 flags = EAknWaitNoteFlags; |
|
187 buttons = R_AVKON_SOFTKEYS_EMPTY; |
|
188 items = |
|
189 { |
|
190 DLG_LINE |
|
191 { |
|
192 type = EAknCtNote; |
|
193 id = EGeneralNote; |
|
194 control = AVKON_NOTE |
|
195 { |
|
196 layout = EProgressLayout; |
|
197 singular_label = qtn_iupnp_searching_files_note; |
|
198 imageid = EMbmAvkonQgn_note_progress; |
|
199 imagemask = EMbmAvkonQgn_note_progress_mask; |
|
200 animation = R_QGN_GRAF_WAIT_BAR_ANIM; |
|
201 }; |
|
202 } |
|
203 }; |
|
204 } |
|
205 |
|
206 |
|
207 //--------------------------------------------------------------------------- |
|
208 // |
|
209 // r_upnp_multiselection_sharing_visual_title_text |
|
210 // |
|
211 //--------------------------------------------------------------------------- |
|
212 // |
|
213 RESOURCE TBUF r_upnp_multiselection_sharing_visual_title_text |
|
214 { |
|
215 buf = qtn_iupnp_title_visual; |
|
216 } |
|
217 |
|
218 //--------------------------------------------------------------------------- |
|
219 // |
|
220 // r_upnp_multiselection_sharing_music_title_text |
|
221 // |
|
222 //--------------------------------------------------------------------------- |
|
223 // |
|
224 RESOURCE TBUF r_upnp_multiselection_sharing_music_title_text |
|
225 { |
|
226 buf = qtn_iupnp_title_music; |
|
227 } |
|
228 |
|
229 //--------------------------------------------------------------------------- |
|
230 // |
|
231 // r_upnp_multiselection_share_all_text |
|
232 // |
|
233 //--------------------------------------------------------------------------- |
|
234 // |
|
235 RESOURCE TBUF r_upnp_multiselection_share_all_text |
|
236 { |
|
237 buf = qtn_iupnp_set_share_all; |
|
238 } |
|
239 |
|
240 //--------------------------------------------------------------------------- |
|
241 // |
|
242 // r_upnp_multiselection_do_not_share_text |
|
243 // |
|
244 //--------------------------------------------------------------------------- |
|
245 // |
|
246 RESOURCE TBUF r_upnp_multiselection_do_not_share_text |
|
247 { |
|
248 buf = qtn_iupnp_set_do_not_share; |
|
249 } |
|
250 |
|
251 //--------------------------------------------------------------------------- |
|
252 // |
|
253 // r_upnp_multiselection_select_text |
|
254 // |
|
255 //--------------------------------------------------------------------------- |
|
256 // |
|
257 RESOURCE TBUF r_upnp_multiselection_select_text |
|
258 { |
|
259 buf = qtn_msk_select; |
|
260 } |
|
261 |
|
262 //--------------------------------------------------------------------------- |
|
263 // |
|
264 // r_upnp_multiselection_unselect_text |
|
265 // |
|
266 //--------------------------------------------------------------------------- |
|
267 // |
|
268 RESOURCE TBUF r_upnp_multiselection_unselect_text |
|
269 { |
|
270 buf = qtn_iupnp_msk_unselect; |
|
271 } |