idlehomescreen/data/vga_tch/wideimage_10009dff/xuikon/00/wideimage.xml
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Tue, 14 Sep 2010 20:58:58 +0300
branchRCL_3
changeset 35 3321d3e205b6
parent 0 f72a12da539e
permissions -rw-r--r--
Revision: 201033 Kit: 201035

<?xml version="1.0" encoding="UTF-8"?>
<xmluiml xmlns="http://www.series60.com/xml/xmluiml/1" version="1.0">
    <widget id="wideimage_template" focusable="true" _s60-initial-focus="1">        
        
        <!-- Data plugin in this widget -->
        <contentsource id="wrt_plugin" name="WRTWidget" value="0x200286DD" />
        <configuration name="service" value="Service.ContentPublishing"/>
        <configuration name="interface" value="IContentPublishing"/>
        <configuration name="command" value="GetList"/>
        <configuration id="pub_id" name="publisher" value=""/>
    
        <actions>
            <action>
                <trigger name="activate"/>
                <event id="w_trigger" name="WRTWidget/publisher(selected)" />            
            </action>
        </actions>
        <box id="default_container" _s60-initial-focus="1">
            <image id="w_default_image">
	            <property id="default_image" class="WRTWidget/def_image"/>
            </image>
            <text id="w_default_text">
            	<property id="default_text" class="WRTWidget/def_text"/>
            </text>
 			 </box>            
       <box id="image_container" sizeaware="true" _s60-initial-focus="1">   
       	    <actions>
                <action>
                    <trigger name="sizechanged"/>
                    <event name="ui/setelementsizetocps(container)"/>
                </action>
            </actions>
            <image id="wide_image">
                <property id="w_image" class="WRTWidget/image1"/>
                <property class="policy/emptyContent" name="image_container" value="display: none;"/>
                <property class="policy/Content" name="image_container" value="display: block;"/>
                <property class="policy/Content" name="default_container" value="display: none;"/>
            </image>
       </box>
       <animation id="loading"/>
        <menuextension>
            <!-- dynmenuitems are mapped to HS view.xml menu based on target attribute.
                 HS view.xml provides localisation for predined items: "settings" and "refresh". -->                
            <dynmenuitem type="widgetsettings" target="hs_widget_menuitem_settings">
                <actions>
                    <action>
                        <trigger name="activate"/>
                        <event name="menuitem(widgetsettings)" destination="wideimage_plugin"/>  
                    </action>
                </actions>
            </dynmenuitem>                    
            <dynmenuitem type="refresh" target="hs_widget_menuitem_refresh">
                <actions>
                    <action>
                        <trigger name="activate"/>
                        <event name="menuitem(refresh)" destination="wideimage_plugin"/>  
                    </action>
                </actions>
            </dynmenuitem>        
        </menuextension>
    </widget>
</xmluiml>