|
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 * Logs 'GPRS counter' view items (Logs.APP). |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 // RESOURCE IDENTIFIER |
|
21 |
|
22 // INCLUDES |
|
23 |
|
24 // CONSTANTS |
|
25 |
|
26 // MACROS |
|
27 |
|
28 // RESOURCE DEFINITIONS |
|
29 |
|
30 /** |
|
31 * Note displayed if GPRS counters clearing is not allowed |
|
32 */ |
|
33 RESOURCE DIALOG r_counter_clearing_prohib_note |
|
34 { |
|
35 flags = EGeneralQueryFlags; |
|
36 buttons = R_AVKON_SOFTKEYS_EMPTY; |
|
37 items = |
|
38 { |
|
39 DLG_LINE |
|
40 { |
|
41 type = EAknCtNote; |
|
42 id = EGeneralNote; |
|
43 control = AVKON_NOTE |
|
44 { |
|
45 layout = EGeneralLayout; |
|
46 singular_label = qtn_info_during_gprs_conn; |
|
47 animation = R_QGN_NOTE_INFO_ANIM; |
|
48 }; |
|
49 } |
|
50 }; |
|
51 } |
|
52 |
|
53 /** |
|
54 * Byte text |
|
55 */ |
|
56 RESOURCE TBUF r_logs_grps_b_text |
|
57 { |
|
58 buf = qtn_log_gprs_amount_b; |
|
59 } |
|
60 |
|
61 /** |
|
62 * Kilobyte text |
|
63 */ |
|
64 RESOURCE TBUF r_logs_grps_kb_text |
|
65 { |
|
66 buf = qtn_log_gprs_amount_kb; |
|
67 } |
|
68 |
|
69 /** |
|
70 * Megabyte text |
|
71 */ |
|
72 RESOURCE TBUF r_logs_grps_mb_text |
|
73 { |
|
74 buf = qtn_log_gprs_amount_mb; |
|
75 } |
|
76 |
|
77 /** |
|
78 * Gigabyte text |
|
79 */ |
|
80 RESOURCE TBUF r_logs_grps_gb_text |
|
81 { |
|
82 buf = qtn_log_gprs_amount_gb; |
|
83 } |
|
84 |
|
85 /** |
|
86 * Sent data text |
|
87 */ |
|
88 RESOURCE TBUF r_logs_grps_sent_text |
|
89 { |
|
90 buf = qtn_log_gprs_sent_data; |
|
91 } |
|
92 |
|
93 /** |
|
94 * Received data text |
|
95 */ |
|
96 RESOURCE TBUF r_logs_grps_received_text |
|
97 { |
|
98 buf = qtn_log_gprs_recei_data; |
|
99 } |
|
100 |
|
101 /** |
|
102 * Logs 'GPRS counter' view OK options list menu items. |
|
103 */ |
|
104 RESOURCE MENU_PANE r_logs_gprs_counter_ok_menu |
|
105 { |
|
106 items = |
|
107 { |
|
108 MENU_ITEM |
|
109 { |
|
110 command = ELogsCmdMenuClearGprs; |
|
111 txt = qtn_log_gprs_clear_count; |
|
112 } |
|
113 }; |
|
114 } |
|
115 |
|
116 /** |
|
117 * Logs 'GPRS counter' view OK options list menu bar. |
|
118 */ |
|
119 RESOURCE MENU_BAR r_logs_gprs_counter_ok_menubar |
|
120 { |
|
121 titles = |
|
122 { |
|
123 MENU_TITLE { menu_pane = r_logs_gprs_counter_ok_menu; } |
|
124 }; |
|
125 } |
|
126 |
|
127 /** |
|
128 * Logs 'GPRS counter' view menu items. |
|
129 */ |
|
130 RESOURCE MENU_PANE r_logs_gprs_counter_menu |
|
131 { |
|
132 items= |
|
133 { |
|
134 MENU_ITEM |
|
135 { |
|
136 command = ELogsCmdMenuClearGprs; |
|
137 txt = qtn_log_gprs_clear_count; |
|
138 } |
|
139 }; |
|
140 } |
|
141 |
|
142 /** |
|
143 * Logs 'GPRS counter' view menubar. |
|
144 */ |
|
145 RESOURCE MENU_BAR r_logs_gprs_counter_menubar |
|
146 { |
|
147 titles = |
|
148 { |
|
149 MENU_TITLE { menu_pane = r_logs_system_menu_bottom; }, |
|
150 MENU_TITLE { menu_pane = r_logs_gprs_counter_menu; } |
|
151 }; |
|
152 } |
|
153 |
|
154 /** |
|
155 * Logs 'GPRS counter' view definition. |
|
156 */ |
|
157 RESOURCE AVKON_VIEW r_logs_gprs_counter_view |
|
158 { |
|
159 menubar = r_logs_gprs_counter_menubar; |
|
160 cba = r_common_options_back_context; |
|
161 } |
|
162 |
|
163 // End of File |