|
1 /* |
|
2 * Copyright (c) 2008 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: Resource definitions for project testsdkgrids |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 NAME GDRS |
|
20 |
|
21 #include <eikon.rh> |
|
22 #include <eikon.rsg> |
|
23 #include <avkon.hrh> |
|
24 #include <avkon.mbg> |
|
25 #include <avkon.rsg> |
|
26 #include <avkon.rh> |
|
27 #include <avkonicons.hrh> |
|
28 #include <appinfo.rh> |
|
29 |
|
30 // RESOURCE DEFINITIONS |
|
31 //----------------------------------------------------------------------------- |
|
32 // |
|
33 // RSS_SIGNATURE |
|
34 // |
|
35 // |
|
36 //----------------------------------------------------------------------------- |
|
37 RESOURCE RSS_SIGNATURE { } |
|
38 |
|
39 RESOURCE TBUF { buf=""; } |
|
40 |
|
41 RESOURCE CBA r_grids_cba_Ok_back |
|
42 { |
|
43 buttons = |
|
44 { |
|
45 CBA_BUTTON |
|
46 { |
|
47 id = EAknSoftkeyOk; |
|
48 txt = "Ok"; |
|
49 }, |
|
50 CBA_BUTTON |
|
51 { |
|
52 id = EAknSoftkeyBack; |
|
53 txt = "Back"; |
|
54 } |
|
55 }; |
|
56 } |
|
57 |
|
58 RESOURCE GRID r_testsdkgrids_grid |
|
59 { |
|
60 array_id = r_list_items; |
|
61 flags = EAknListBoxSelectionGrid; |
|
62 style = r_selectiongrid_style; |
|
63 } |
|
64 RESOURCE GRID_STYLE r_selectiongrid_style |
|
65 { |
|
66 layoutflags = EAknGridHorizontalOrientation | |
|
67 EAknGridLeftToRight | |
|
68 EAknGridTopToBottom; |
|
69 primaryscroll = EAknGridFollowsItemsAndLoops; |
|
70 secondaryscroll = EAknGridFollowsItemsAndLoops; |
|
71 itemsinprimaryorient = 3; |
|
72 itemsinsecondaryorient = 3; |
|
73 gapwidth = 5; |
|
74 gapheight = 5; |
|
75 width = 100; |
|
76 height = 100; |
|
77 } |
|
78 RESOURCE ARRAY r_list_items |
|
79 { |
|
80 items = |
|
81 { |
|
82 LBUF { txt = "Item 0"; }, |
|
83 LBUF { txt = "Item 1"; }, |
|
84 LBUF { txt = "Item 2"; }, |
|
85 LBUF { txt = "Item 3"; }, |
|
86 LBUF { txt = "Item 4"; }, |
|
87 LBUF { txt = "Item 5"; }, |
|
88 LBUF { txt = "Item 6"; } |
|
89 }; |
|
90 } |
|
91 |
|
92 RESOURCE DIALOG r_test_dialog |
|
93 { |
|
94 flags = EGeneralQueryFlags; |
|
95 buttons = R_AVKON_SOFTKEYS_OK_CANCEL; |
|
96 items= |
|
97 { |
|
98 DLG_LINE |
|
99 { |
|
100 type = EAknCtQuery; |
|
101 id = EGeneralQuery; |
|
102 control= AVKON_DATA_QUERY |
|
103 { |
|
104 layout = EDataLayout; |
|
105 label = qtn_hewb_command_inputwords_text ; |
|
106 control = EDWIN |
|
107 { |
|
108 width = 15; |
|
109 lines = 1; |
|
110 maxlength = 15; |
|
111 allowed_input_modes = EAknEditorNumericInputMode; |
|
112 default_input_mode = EAknEditorNumericInputMode; |
|
113 }; |
|
114 }; |
|
115 } |
|
116 }; |
|
117 } |
|
118 |