1 <?xml version="1.0" encoding="UTF-8"?> |
1 <?xml version="1.0" encoding="UTF-8"?> |
|
2 <!DOCTYPE xmluiml SYSTEM "wideimage.dtd"> |
2 <xmluiml xmlns="http://www.series60.com/xml/xmluiml/1" version="1.0"> |
3 <xmluiml xmlns="http://www.series60.com/xml/xmluiml/1" version="1.0"> |
3 <widget id="wideimage_template" focusable="true" _s60-initial-focus="1"> |
4 <widget> |
4 |
5 <contentsource id="wideimage_widget" class="ContentSource" name="" value="0x20019594"/> |
5 <!-- Data plugin in this widget --> |
|
6 <contentsource id="wrt_plugin" name="WRTWidget" value="0x200286DD" /> |
|
7 <configuration name="service" value="Service.ContentPublishing"/> |
6 <configuration name="service" value="Service.ContentPublishing"/> |
8 <configuration name="interface" value="IContentPublishing"/> |
7 <configuration name="interface" value="IContentPublishing"/> |
9 <configuration name="command" value="GetList"/> |
8 <configuration name="command" value="GetList"/> |
10 <configuration id="pub_id" name="publisher" value=""/> |
9 <configuration id="pub_id" name="publisher" value=""/> |
11 |
10 |
|
11 <box id="image_container" sizeaware="true" focusable="true" _s60-initial-focus="1"> |
|
12 <!-- Template designer choice --> |
12 <actions> |
13 <actions> |
13 <action> |
14 <action> |
14 <trigger name="activate"/> |
15 <trigger name="stylus"> |
15 <event id="w_trigger" name="WRTWidget/publisher(selected)" /> |
16 <property name="eventtype" value="downup" /> |
|
17 </trigger> |
|
18 <trigger name="activate"/> |
|
19 <trigger name="keyevent"> |
|
20 <property name="scancode" value="3"/> |
|
21 <property name="eventtype" value="1"/> |
|
22 </trigger> |
|
23 <event id="p_trigger" name=""/> |
|
24 </action> |
|
25 |
|
26 <action> |
|
27 <trigger name="sizechanged"/> |
|
28 <event name="ui/setelementsizetocps(image_container)"/> |
16 </action> |
29 </action> |
17 </actions> |
30 </actions> |
18 <box id="default_container" _s60-initial-focus="1"> |
31 <image id="wide_image"> |
19 <image id="w_default_image"> |
32 <configuration name="content_type" value="row1"/> |
20 <property id="default_image" class="WRTWidget/def_image"/> |
33 <!-- Template designer choice --> |
21 </image> |
34 <property id="prop1" class=""/> |
22 <text id="w_default_text"> |
35 <property class="policy/emptyContent" name="wide_image" value="display: none;"/> |
23 <property id="default_text" class="WRTWidget/def_text"/> |
36 <property class="policy/Content" name="wide_image" value="display: block;"/> |
24 </text> |
37 <property class="policy/emptyContent" name="wide_text" value="display: block;"/> |
25 </box> |
38 <property class="policy/Content" name="wide_text" value="display: none;"/> |
26 <box id="image_container" sizeaware="true" _s60-initial-focus="1"> |
39 </image> |
27 <actions> |
40 <text id="wide_text">&qtn_ai_loading_content;</text> |
28 <action> |
41 </box> |
29 <trigger name="sizechanged"/> |
|
30 <event name="ui/setelementsizetocps(container)"/> |
|
31 </action> |
|
32 </actions> |
|
33 <image id="wide_image"> |
|
34 <property id="w_image" class="WRTWidget/image1"/> |
|
35 <property class="policy/emptyContent" name="image_container" value="display: none;"/> |
|
36 <property class="policy/Content" name="image_container" value="display: block;"/> |
|
37 <property class="policy/Content" name="default_container" value="display: none;"/> |
|
38 </image> |
|
39 </box> |
|
40 <animation id="loading"/> |
|
41 <menuextension> |
|
42 <!-- dynmenuitems are mapped to HS view.xml menu based on target attribute. |
|
43 HS view.xml provides localisation for predined items: "settings" and "refresh". --> |
|
44 <dynmenuitem type="widgetsettings" target="hs_widget_menuitem_settings"> |
|
45 <actions> |
|
46 <action> |
|
47 <trigger name="activate"/> |
|
48 <event name="menuitem(widgetsettings)" destination="wideimage_plugin"/> |
|
49 </action> |
|
50 </actions> |
|
51 </dynmenuitem> |
|
52 <dynmenuitem type="refresh" target="hs_widget_menuitem_refresh"> |
|
53 <actions> |
|
54 <action> |
|
55 <trigger name="activate"/> |
|
56 <event name="menuitem(refresh)" destination="wideimage_plugin"/> |
|
57 </action> |
|
58 </actions> |
|
59 </dynmenuitem> |
|
60 </menuextension> |
|
61 </widget> |
42 </widget> |
62 </xmluiml> |
43 </xmluiml> |