|
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: This file contains all the resources for the BCTestLauncher. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 NAME AUTO |
|
20 |
|
21 #include <eikon.rh> |
|
22 #include <avkon.rh> |
|
23 #include <avkon.rsg> |
|
24 #include <avkon.mbg> |
|
25 #include <appinfo.rh> |
|
26 |
|
27 #include <eikon.rsg> |
|
28 |
|
29 #include "BCTestLauncher.hrh" |
|
30 #include "BCTestLauncher.loc" |
|
31 |
|
32 #define APP_BITMAP_DIR "\\resource\\apps" |
|
33 #define AVKON_BMP_FILENAME AVKON_ICON_FILE |
|
34 #define BCTESTLAUNCHER_BMP_FNAME APP_BITMAP_DIR"\\bctestlauncher.mbm" |
|
35 |
|
36 #define BCTESTLAUNCHER_LISTBOX_HEIGHT 3 |
|
37 #define BCTESTLAUNCHER_LISTBOX_WIDTH 3 |
|
38 |
|
39 // RESOURCE DEFINITIONS |
|
40 //---------------------------------------------------------------------------- |
|
41 // |
|
42 // RSS_SIGNATURE |
|
43 // Symbian OS requirement |
|
44 // |
|
45 //---------------------------------------------------------------------------- |
|
46 // |
|
47 RESOURCE RSS_SIGNATURE |
|
48 { |
|
49 } |
|
50 |
|
51 //---------------------------------------------------------------------------- |
|
52 // |
|
53 // TBUF |
|
54 // Symbian OS requirement |
|
55 // |
|
56 //---------------------------------------------------------------------------- |
|
57 // |
|
58 RESOURCE TBUF |
|
59 { |
|
60 buf = qtn_bctestlauncher_caption; |
|
61 } |
|
62 |
|
63 //---------------------------------------------------------------------------- |
|
64 // |
|
65 // EIK_APP_INFO |
|
66 // Symbian OS requirement |
|
67 // |
|
68 //---------------------------------------------------------------------------- |
|
69 // |
|
70 RESOURCE EIK_APP_INFO |
|
71 { |
|
72 status_pane = r_bctestlauncher_status_pane; |
|
73 } |
|
74 |
|
75 // --------------------------------------------------------------------------- |
|
76 // Provide Caption and Icon Info for Scalable UI |
|
77 // |
|
78 // --------------------------------------------------------------------------- |
|
79 // |
|
80 RESOURCE LOCALISABLE_APP_INFO r_bctestlauncher_localisable_app_info |
|
81 { |
|
82 short_caption = qtn_apps_tapb_grid; |
|
83 |
|
84 caption_and_icon = |
|
85 CAPTION_AND_ICON_INFO |
|
86 { |
|
87 caption = qtn_apps_tapb_list; |
|
88 }; |
|
89 } |
|
90 |
|
91 //---------------------------------------------------------------------------- |
|
92 // |
|
93 // r_bctestlauncher_view |
|
94 // View definition |
|
95 // |
|
96 //----------------------------------------------------------------------------- |
|
97 // |
|
98 RESOURCE AVKON_VIEW r_bctestlauncher_view |
|
99 { |
|
100 menubar = r_bctestlauncher_menubar_view; |
|
101 cba = r_bctestlauncher_softkeys_run_exit; |
|
102 } |
|
103 |
|
104 // --------------------------------------------------------------------------- |
|
105 // |
|
106 // r_bctestlauncher_menubar |
|
107 // Menu bar (dummy) |
|
108 // |
|
109 // --------------------------------------------------------------------------- |
|
110 // |
|
111 RESOURCE MENU_BAR r_bctestlauncher_menubar_view |
|
112 { |
|
113 titles= |
|
114 { |
|
115 MENU_TITLE |
|
116 { |
|
117 menu_pane = r_bctestlauncher_main_menu; |
|
118 txt = qtn_bctestlauncher_menu; |
|
119 } |
|
120 }; |
|
121 } |
|
122 |
|
123 // --------------------------------------------------------------------------- |
|
124 // |
|
125 // r_bctestlauncher_main_menu |
|
126 // Menu pane, put new applications here |
|
127 // |
|
128 // --------------------------------------------------------------------------- |
|
129 // |
|
130 RESOURCE MENU_PANE r_bctestlauncher_main_menu |
|
131 { |
|
132 items= |
|
133 { |
|
134 MENU_ITEM |
|
135 { |
|
136 command = ESdkVersion; |
|
137 txt = qtn_bctestlauncher_sdkversion; |
|
138 }, |
|
139 MENU_ITEM |
|
140 { |
|
141 command = EAutoTestAll; |
|
142 txt = qtn_bctestlauncher_all; |
|
143 }, |
|
144 MENU_ITEM |
|
145 { |
|
146 command = EAutoTestSelection; |
|
147 txt = qtn_bctestlauncher_selection; |
|
148 }, |
|
149 MENU_ITEM |
|
150 { |
|
151 txt = qtn_bctestlauncher_separate; |
|
152 cascade = r_bctestlauncher_separate_tests; |
|
153 }, |
|
154 MENU_ITEM |
|
155 { |
|
156 command = EAknCmdExit; |
|
157 txt = qtn_bctestlauncher_exit; |
|
158 } |
|
159 }; |
|
160 } |
|
161 |
|
162 //---------------------------------------------------------------------------- |
|
163 // |
|
164 // r_bctestlauncher_separate_tests |
|
165 // Menu for separate test applications |
|
166 // |
|
167 //---------------------------------------------------------------------------- |
|
168 // |
|
169 RESOURCE MENU_PANE r_bctestlauncher_separate_tests |
|
170 { |
|
171 } |
|
172 |
|
173 //---------------------------------------------------------------------------- |
|
174 // |
|
175 // r_bctestlauncher_status_pane |
|
176 // Status pane definition |
|
177 // |
|
178 //---------------------------------------------------------------------------- |
|
179 // |
|
180 RESOURCE STATUS_PANE_APP_MODEL r_bctestlauncher_status_pane |
|
181 { |
|
182 panes= |
|
183 { |
|
184 SPANE_PANE |
|
185 { |
|
186 id = EEikStatusPaneUidNavi; |
|
187 type = EAknCtNaviPane; |
|
188 resource = r_bctestlauncher_navi_decorator; |
|
189 } |
|
190 }; |
|
191 } |
|
192 |
|
193 //---------------------------------------------------------------------------- |
|
194 // |
|
195 // r_bctestlauncher_navi_decorator |
|
196 // Status pane definition of details |
|
197 // |
|
198 //---------------------------------------------------------------------------- |
|
199 // |
|
200 RESOURCE NAVI_DECORATOR r_bctestlauncher_navi_decorator |
|
201 { |
|
202 type = ENaviDecoratorControlTabGroup; |
|
203 control = TAB_GROUP |
|
204 { |
|
205 tab_width = EAknTabWidthWithOneTab; |
|
206 active = 0; |
|
207 tabs = { |
|
208 TAB |
|
209 { |
|
210 id = EBCTestLauncherView1Tab; |
|
211 txt = qtn_bctestlauncher_view1_tab; |
|
212 } |
|
213 }; |
|
214 }; |
|
215 } |
|
216 |
|
217 RESOURCE CBA r_bctestlauncher_softkeys_run_exit |
|
218 { |
|
219 buttons = |
|
220 { |
|
221 CBA_BUTTON |
|
222 { |
|
223 id=EAknSoftkeyOptions; |
|
224 txt = qtn_bctestlauncher_softkey_run; |
|
225 }, |
|
226 CBA_BUTTON |
|
227 { |
|
228 id=EAknCmdExit; |
|
229 txt = qtn_bctestlauncher_exit; |
|
230 } |
|
231 }; |
|
232 } |
|
233 |
|
234 RESOURCE TBUF40 r_bctestlauncher_title_setdraw |
|
235 { |
|
236 buf=qtn_bctestlauncher_title_setdraw; |
|
237 } |
|
238 |
|
239 RESOURCE TBUF40 r_bctestlauncher_title_incdraw |
|
240 { |
|
241 buf=qtn_bctestlauncher_title_incdraw; |
|
242 } |
|
243 |
|
244 |
|
245 //---------------------------------------------------------------------------- |
|
246 // |
|
247 // r_bctestlauncher_multi_selection_query |
|
248 // Resource of Multi Selection Query. |
|
249 // |
|
250 //---------------------------------------------------------------------------- |
|
251 // |
|
252 RESOURCE DIALOG r_bctestlauncher_multi_selection_query |
|
253 { |
|
254 flags = EGeneralQueryFlags; |
|
255 buttons = R_AVKON_SOFTKEYS_OK_CANCEL; |
|
256 items = |
|
257 { |
|
258 DLG_LINE |
|
259 { |
|
260 type = EAknCtListQueryControl; |
|
261 id = EListQueryControl; |
|
262 control = AVKON_LIST_QUERY_CONTROL |
|
263 { |
|
264 listtype = EAknCtSingleGraphicPopupMenuListBox; |
|
265 listbox = LISTBOX |
|
266 { |
|
267 flags = EAknListBoxMultiselectionList; |
|
268 height = BCTESTLAUNCHER_LISTBOX_HEIGHT; |
|
269 width = BCTESTLAUNCHER_LISTBOX_WIDTH; |
|
270 }; |
|
271 heading = qtn_bctestlauncher_selection_title; |
|
272 }; |
|
273 } |
|
274 }; |
|
275 } |
|
276 |
|
277 //---------------------------------------------------- |
|
278 // |
|
279 // r_bctestlauncher_sdkversion_query |
|
280 // sdk version query for the application |
|
281 // |
|
282 //---------------------------------------------------- |
|
283 // |
|
284 RESOURCE DIALOG r_bctestlauncher_sdkversion_query |
|
285 { |
|
286 flags=EGeneralQueryFlags; |
|
287 buttons = R_AVKON_SOFTKEYS_OK_CANCEL; |
|
288 items = |
|
289 { |
|
290 DLG_LINE |
|
291 { |
|
292 type = EAknCtQuery; |
|
293 id = EDataQueryDlgCIdDataQuery; |
|
294 control = AVKON_DATA_QUERY |
|
295 { |
|
296 layout = EDataLayout; |
|
297 control = |
|
298 AVKON_INTEGER_EDWIN |
|
299 { |
|
300 min = 30; |
|
301 max = 40; |
|
302 }; |
|
303 }; |
|
304 } |
|
305 }; |
|
306 } |
|
307 //----------------------------------------------------------------------------- |
|
308 // |
|
309 // r_bctestlauncher_query_caption |
|
310 // |
|
311 //----------------------------------------------------------------------------- |
|
312 // |
|
313 RESOURCE TBUF64 r_bctestlauncher_query_caption |
|
314 { |
|
315 buf = qtn_bctestlauncher_query_caption; |
|
316 } |
|
317 // End of File |