idlehomescreen/data/vga_tch/wideimage_10009dff/xuikon/00/wideimage.xml
branchRCL_3
changeset 35 3321d3e205b6
parent 0 f72a12da539e
--- a/idlehomescreen/data/vga_tch/wideimage_10009dff/xuikon/00/wideimage.xml	Wed Sep 01 12:32:46 2010 +0100
+++ b/idlehomescreen/data/vga_tch/wideimage_10009dff/xuikon/00/wideimage.xml	Tue Sep 14 20:58:58 2010 +0300
@@ -1,43 +1,62 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE xmluiml SYSTEM "wideimage.dtd">
 <xmluiml xmlns="http://www.series60.com/xml/xmluiml/1" version="1.0">
-    <widget>
-      <contentsource id="wideimage_widget" class="ContentSource" name="" value="0x20019594"/>
+    <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=""/>
-
-      <box id="image_container" sizeaware="true" focusable="true" _s60-initial-focus="1">
-      <!-- Template designer choice -->
+    
         <actions>
-          <action>
-            <trigger name="stylus">
-              <property name="eventtype" value="downup" />
-            </trigger>
-            <trigger name="activate"/>
-            <trigger name="keyevent">
-                <property name="scancode" value="3"/>
-                <property name="eventtype" value="1"/>
-            </trigger>
-            <event id="p_trigger" name=""/>
-           </action>
-
-           <action>
-              <trigger name="sizechanged"/>
-              <event name="ui/setelementsizetocps(image_container)"/>
+            <action>
+                <trigger name="activate"/>
+                <event id="w_trigger" name="WRTWidget/publisher(selected)" />            
             </action>
         </actions>
-          <image id="wide_image">
-          <configuration name="content_type" value="row1"/>
-            <!-- Template designer choice -->
-            <property id="prop1" class=""/>
-            <property class="policy/emptyContent" name="wide_image" value="display: none;"/>
-            <property class="policy/Content" name="wide_image" value="display: block;"/>
-            <property class="policy/emptyContent" name="wide_text" value="display: block;"/>
-            <property class="policy/Content" name="wide_text" value="display: none;"/>
-          </image>
-          <text id="wide_text">&qtn_ai_loading_content;</text>
-        </box>
+        <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>