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