|
1 <?xml version="1.0" encoding="UTF-8"?> |
|
2 <xmluiml xmlns="http://www.series60.com/xml/xmluiml/1" version="1.0"> |
|
3 |
|
4 <widget id="desktop_widget" class="desktop_widget"> |
|
5 |
|
6 <!-- Launch service aPI plugin and fetch data from CPS --> |
|
7 <contentsource name="DesktopWidget" value="0x2001CB58"/> |
|
8 |
|
9 <!-- Shortcut #1 --> |
|
10 <button id="button1" class="button" focusable="true" _s60-initial-focus="1"> |
|
11 <actions> |
|
12 <action> |
|
13 <trigger name="stylus"> |
|
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)"/> |
|
23 </action> |
|
24 </actions> |
|
25 <image id="icon1" class="icon"> |
|
26 <property class="DesktopWidget/icon" name="ordinal" value="0x1"/> |
|
27 </image> |
|
28 <image id="presenceicon1" class="second_icon"> |
|
29 <property class="DesktopWidget/presenceicon" name="ordinal" value="0x1"/> |
|
30 </image> |
|
31 <tooltip id="tooltip1" class="tooltip" > |
|
32 <text id="tooltiptext1" class="tooltiptext" > |
|
33 <property class="DesktopWidget/long_name" name="ordinal" value="0x1"/> |
|
34 </text> |
|
35 </tooltip> |
|
36 </button> |
|
37 |
|
38 |
|
39 <!-- Shortcut #2 --> |
|
40 <button id="button2" class="button" focusable="true"> |
|
41 <actions> |
|
42 <action> |
|
43 <trigger name="stylus"> |
|
44 <property name="eventtype" value="downup" /> |
|
45 </trigger> |
|
46 <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)"/> |
|
53 </action> |
|
54 </actions> |
|
55 <image id="icon2" class="icon"> |
|
56 <property class="DesktopWidget/icon" name="ordinal" value="0x2"/> |
|
57 </image> |
|
58 <image id="presenceicon2" class="second_icon"> |
|
59 <property class="DesktopWidget/presenceicon" name="ordinal" value="0x2"/> |
|
60 </image> |
|
61 <tooltip id="tooltip2" class="tooltip" > |
|
62 <text id="tooltiptext2" class="tooltiptext" > |
|
63 <property class="DesktopWidget/long_name" name="ordinal" value="0x2"/> |
|
64 </text> |
|
65 </tooltip> |
|
66 </button> |
|
67 |
|
68 <!-- Shortcut #3 --> |
|
69 <button id="button3" class="button" focusable="true"> |
|
70 <actions> |
|
71 <action> |
|
72 <trigger name="stylus"> |
|
73 <property name="eventtype" value="downup" /> |
|
74 </trigger> |
|
75 <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)"/> |
|
82 </action> |
|
83 </actions> |
|
84 <image id="icon3" class="icon"> |
|
85 <property class="DesktopWidget/icon" name="ordinal" value="0x3"/> |
|
86 </image> |
|
87 <image id="presenceicon3" class="second_icon"> |
|
88 <property class="DesktopWidget/presenceicon" name="ordinal" value="0x3"/> |
|
89 </image> |
|
90 <tooltip id="tooltip3" class="tooltip" > |
|
91 <text id="tooltiptext3" class="tooltiptext" > |
|
92 <property class="DesktopWidget/long_name" name="ordinal" value="0x3"/> |
|
93 </text> |
|
94 </tooltip> |
|
95 </button> |
|
96 |
|
97 <!-- Shortcut #4 --> |
|
98 <button id="button4" class="button" focusable="true"> |
|
99 <actions> |
|
100 <action> |
|
101 <trigger name="stylus"> |
|
102 <property name="eventtype" value="downup" /> |
|
103 </trigger> |
|
104 <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)"/> |
|
111 </action> |
|
112 </actions> |
|
113 <image id="icon4" class="icon"> |
|
114 <property class="DesktopWidget/icon" name="ordinal" value="0x4"/> |
|
115 </image> |
|
116 <image id="presenceicon4" class="second_icon"> |
|
117 <property class="DesktopWidget/presenceicon" name="ordinal" value="0x4"/> |
|
118 </image> |
|
119 <tooltip id="tooltip4" class="tooltip" > |
|
120 <text id="tooltiptext4" class="tooltiptext" > |
|
121 <property class="DesktopWidget/long_name" name="ordinal" value="0x4"/> |
|
122 </text> |
|
123 </tooltip> |
|
124 </button> |
|
125 |
|
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> |
|
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"> |
|
194 <actions> |
|
195 <action> |
|
196 <trigger name="activate"/> |
|
197 <event name="DesktopWidget/ShowSettings"/> |
|
198 </action> |
|
199 </actions> |
|
200 </menuitem> |
|
201 </menuextension> |
|
202 |
|
203 </widget> |
|
204 </xmluiml> |