83
|
1 |
<?xml version="1.0" encoding="UTF-8"?>
|
|
2 |
<xmluiml xmlns="http://www.series60.com/xml/xmluiml/1" version="1.0">
|
|
3 |
<widget id="wideimage_template" focusable="true" _s60-initial-focus="1">
|
|
4 |
|
|
5 |
<!-- Data plugin in this widget -->
|
|
6 |
<contentsource id="wrt_plugin" name="WRTWidget" value="0x200286DD" />
|
|
7 |
<configuration name="service" value="Service.ContentPublishing"/>
|
|
8 |
<configuration name="interface" value="IContentPublishing"/>
|
|
9 |
<configuration name="command" value="GetList"/>
|
|
10 |
<configuration id="pub_id" name="publisher" value=""/>
|
|
11 |
|
|
12 |
<actions>
|
|
13 |
<action>
|
|
14 |
<trigger name="activate"/>
|
|
15 |
<event id="w_trigger" name="WRTWidget/publisher(selected)" />
|
|
16 |
</action>
|
|
17 |
</actions>
|
|
18 |
<box id="default_container" _s60-initial-focus="1">
|
|
19 |
<image id="w_default_image">
|
|
20 |
<property id="default_image" class="WRTWidget/def_image"/>
|
|
21 |
</image>
|
|
22 |
<text id="w_default_text">
|
|
23 |
<property id="default_text" class="WRTWidget/def_text"/>
|
|
24 |
</text>
|
|
25 |
</box>
|
|
26 |
<box id="image_container" sizeaware="true" _s60-initial-focus="1">
|
|
27 |
<actions>
|
|
28 |
<action>
|
|
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>
|
|
62 |
</xmluiml>
|