1 <?xml version="1.0" encoding="UTF-8"?> |
1 <?xml version="1.0" encoding="UTF-8"?> |
2 <xmluiml xmlns="http://www.series60.com/xml/xmluiml/1" version="1.0"> |
2 <xmluiml xmlns="http://www.series60.com/xml/xmluiml/1" version="1.0"> |
3 |
3 |
4 <widget id="desktop_widget" class="desktop_widget"> |
4 <widget id="desktop_widget" class="desktop_widget"> |
5 |
5 |
6 <!-- Launch service aPI plugin and fetch data from CPS --> |
|
7 <contentsource name="DesktopWidget" value="0x2001CB58"/> |
6 <contentsource name="DesktopWidget" value="0x2001CB58"/> |
8 |
7 |
9 <!-- Shortcut #1 --> |
8 <!-- Shortcut #1 --> |
10 <button id="button1" class="button" focusable="true" _s60-initial-focus="1"> |
9 <button id="button1" class="button" focusable="true" _s60-initial-focus="1"> |
11 <actions> |
10 <actions> |
12 <action> |
11 <action> |
13 <trigger name="stylus"> |
12 <trigger name="activate"/> |
14 <property name="eventtype" value="downup" /> |
|
15 </trigger> |
|
16 <trigger name="activate"/> |
|
17 <trigger name="keyevent"> |
|
18 <!-- EStdKeyEnter (enum from e32keys.h) --> |
|
19 <property name="scancode" value="3"/> |
|
20 <property name="eventtype" value="1"/> |
|
21 </trigger> |
|
22 <event name="DesktopWidget/LaunchByIndex(0x1)"/> |
13 <event name="DesktopWidget/LaunchByIndex(0x1)"/> |
23 </action> |
14 </action> |
24 </actions> |
15 </actions> |
25 <image id="icon1" class="icon"> |
16 <image id="icon1" class="icon"> |
26 <property class="DesktopWidget/icon" name="ordinal" value="0x1"/> |
17 <property class="DesktopWidget/icon" name="ordinal" value="0x1"/> |
32 <text id="tooltiptext1" class="tooltiptext" > |
23 <text id="tooltiptext1" class="tooltiptext" > |
33 <property class="DesktopWidget/long_name" name="ordinal" value="0x1"/> |
24 <property class="DesktopWidget/long_name" name="ordinal" value="0x1"/> |
34 </text> |
25 </text> |
35 </tooltip> |
26 </tooltip> |
36 </button> |
27 </button> |
37 |
|
38 |
|
39 <!-- Shortcut #2 --> |
28 <!-- Shortcut #2 --> |
40 <button id="button2" class="button" focusable="true"> |
29 <button id="button2" class="button" focusable="true"> |
41 <actions> |
30 <actions> |
42 <action> |
31 <action> |
43 <trigger name="stylus"> |
|
44 <property name="eventtype" value="downup" /> |
|
45 </trigger> |
|
46 <trigger name="activate"/> |
32 <trigger name="activate"/> |
47 <trigger name="keyevent"> |
|
48 <!-- EStdKeyEnter (enum from e32keys.h) --> |
|
49 <property name="scancode" value="3"/> |
|
50 <property name="eventtype" value="1"/> |
|
51 </trigger> |
|
52 <event name="DesktopWidget/LaunchByIndex(0x2)"/> |
33 <event name="DesktopWidget/LaunchByIndex(0x2)"/> |
53 </action> |
34 </action> |
54 </actions> |
35 </actions> |
55 <image id="icon2" class="icon"> |
36 <image id="icon2" class="icon"> |
56 <property class="DesktopWidget/icon" name="ordinal" value="0x2"/> |
37 <property class="DesktopWidget/icon" name="ordinal" value="0x2"/> |
62 <text id="tooltiptext2" class="tooltiptext" > |
43 <text id="tooltiptext2" class="tooltiptext" > |
63 <property class="DesktopWidget/long_name" name="ordinal" value="0x2"/> |
44 <property class="DesktopWidget/long_name" name="ordinal" value="0x2"/> |
64 </text> |
45 </text> |
65 </tooltip> |
46 </tooltip> |
66 </button> |
47 </button> |
67 |
|
68 <!-- Shortcut #3 --> |
48 <!-- Shortcut #3 --> |
69 <button id="button3" class="button" focusable="true"> |
49 <button id="button3" class="button" focusable="true"> |
70 <actions> |
50 <actions> |
71 <action> |
51 <action> |
72 <trigger name="stylus"> |
|
73 <property name="eventtype" value="downup" /> |
|
74 </trigger> |
|
75 <trigger name="activate"/> |
52 <trigger name="activate"/> |
76 <trigger name="keyevent"> |
|
77 <!-- EStdKeyEnter (enum from e32keys.h) --> |
|
78 <property name="scancode" value="3"/> |
|
79 <property name="eventtype" value="1"/> |
|
80 </trigger> |
|
81 <event name="DesktopWidget/LaunchByIndex(0x3)"/> |
53 <event name="DesktopWidget/LaunchByIndex(0x3)"/> |
82 </action> |
54 </action> |
83 </actions> |
55 </actions> |
84 <image id="icon3" class="icon"> |
56 <image id="icon3" class="icon"> |
85 <property class="DesktopWidget/icon" name="ordinal" value="0x3"/> |
57 <property class="DesktopWidget/icon" name="ordinal" value="0x3"/> |
91 <text id="tooltiptext3" class="tooltiptext" > |
63 <text id="tooltiptext3" class="tooltiptext" > |
92 <property class="DesktopWidget/long_name" name="ordinal" value="0x3"/> |
64 <property class="DesktopWidget/long_name" name="ordinal" value="0x3"/> |
93 </text> |
65 </text> |
94 </tooltip> |
66 </tooltip> |
95 </button> |
67 </button> |
96 |
|
97 <!-- Shortcut #4 --> |
68 <!-- Shortcut #4 --> |
98 <button id="button4" class="button" focusable="true"> |
69 <button id="button4" class="button" focusable="true"> |
99 <actions> |
70 <actions> |
100 <action> |
71 <action> |
101 <trigger name="stylus"> |
|
102 <property name="eventtype" value="downup" /> |
|
103 </trigger> |
|
104 <trigger name="activate"/> |
72 <trigger name="activate"/> |
105 <trigger name="keyevent"> |
|
106 <!-- EStdKeyEnter (enum from e32keys.h) --> |
|
107 <property name="scancode" value="3"/> |
|
108 <property name="eventtype" value="1"/> |
|
109 </trigger> |
|
110 <event name="DesktopWidget/LaunchByIndex(0x4)"/> |
73 <event name="DesktopWidget/LaunchByIndex(0x4)"/> |
111 </action> |
74 </action> |
112 </actions> |
75 </actions> |
113 <image id="icon4" class="icon"> |
76 <image id="icon4" class="icon"> |
114 <property class="DesktopWidget/icon" name="ordinal" value="0x4"/> |
77 <property class="DesktopWidget/icon" name="ordinal" value="0x4"/> |
121 <property class="DesktopWidget/long_name" name="ordinal" value="0x4"/> |
84 <property class="DesktopWidget/long_name" name="ordinal" value="0x4"/> |
122 </text> |
85 </text> |
123 </tooltip> |
86 </tooltip> |
124 </button> |
87 </button> |
125 |
88 |
126 <!-- Shortcut #5 --> |
|
127 <button id="button5" class="button" focusable="true"> |
|
128 <actions> |
|
129 <action> |
|
130 <trigger name="stylus"> |
|
131 <property name="eventtype" value="downup" /> |
|
132 </trigger> |
|
133 <trigger name="activate"/> |
|
134 <trigger name="keyevent"> |
|
135 <!-- EStdKeyEnter (enum from e32keys.h) --> |
|
136 <property name="scancode" value="3"/> |
|
137 <property name="eventtype" value="1"/> |
|
138 </trigger> |
|
139 <event name="DesktopWidget/LaunchByIndex(0x5)"/> |
|
140 </action> |
|
141 </actions> |
|
142 <image id="icon5" class="icon"> |
|
143 <property class="DesktopWidget/icon" name="ordinal" value="0x5"/> |
|
144 </image> |
|
145 <image id="presenceicon5" class="second_icon"> |
|
146 <property class="DesktopWidget/presenceicon" name="ordinal" value="0x5"/> |
|
147 </image> |
|
148 <tooltip id="tooltip5" class="tooltip" > |
|
149 <text id="tooltiptext5" class="tooltiptext" > |
|
150 <property class="DesktopWidget/long_name" name="ordinal" value="0x5"/> |
|
151 </text> |
|
152 </tooltip> |
|
153 </button> |
|
154 |
|
155 <button id="button6" class="button" focusable="true"> |
|
156 <actions> |
|
157 <action> |
|
158 <trigger name="stylus"> |
|
159 <property name="eventtype" value="downup" /> |
|
160 </trigger> |
|
161 <trigger name="activate"/> |
|
162 <trigger name="keyevent"> |
|
163 <!-- EStdKeyEnter (enum from e32keys.h) --> |
|
164 <property name="scancode" value="3"/> |
|
165 <property name="eventtype" value="1"/> |
|
166 </trigger> |
|
167 <event name="DesktopWidget/LaunchByIndex(0x6)"/> |
|
168 </action> |
|
169 </actions> |
|
170 <image id="icon6" class="icon"> |
|
171 <property class="DesktopWidget/icon" name="ordinal" value="0x6"/> |
|
172 </image> |
|
173 <image id="presenceicon6" class="second_icon"> |
|
174 <property class="DesktopWidget/presenceicon" name="ordinal" value="0x6"/> |
|
175 </image> |
|
176 <tooltip id="tooltip6" class="tooltip" > |
|
177 <text id="tooltiptext6" class="tooltiptext" > |
|
178 <property class="DesktopWidget/long_name" name="ordinal" value="0x6"/> |
|
179 </text> |
|
180 </tooltip> |
|
181 </button> |
|
182 |
|
183 <menuextension> |
89 <menuextension> |
184 <softkey type="middle" target="hs_widget_msk_open"/> |
|
185 <menuitem target="hs_widget_menuitem_open"> |
|
186 <actions> |
|
187 <action> |
|
188 <trigger name="activate"/> |
|
189 <event name="system/activateselecteditem"/> |
|
190 </action> |
|
191 </actions> |
|
192 </menuitem> |
|
193 <menuitem target="hs_widget_menuitem_settings"> |
90 <menuitem target="hs_widget_menuitem_settings"> |
194 <actions> |
91 <actions> |
195 <action> |
92 <action> |
196 <trigger name="activate"/> |
93 <trigger name="activate"/> |
197 <event name="DesktopWidget/ShowSettings"/> |
94 <event name="DesktopWidget/ShowSettings"/> |
198 </action> |
95 </action> |
199 </actions> |
96 </actions> |
200 </menuitem> |
97 </menuitem> |
201 </menuextension> |
98 </menuextension> |
202 |
|
203 </widget> |
99 </widget> |
204 </xmluiml> |
100 </xmluiml> |