idlehomescreen/data/vga_tch/desktop_20018eee/xuikon/00/desktop.xml
branchRCL_3
changeset 102 ba63c83f4716
parent 88 3321d3e205b6
equal deleted inserted replaced
93:b01126ce0bec 102:ba63c83f4716
     1 <?xml version="1.0" encoding="UTF-8"?>
     1 <?xml version="1.0" encoding="UTF-8"?>
     2 <xmluiml xmlns="http://www.series60.com/xml/xmluiml/1" version="1.0">
     2 <xmluiml xmlns="http://www.series60.com/xml/xmluiml/1" version="1.0">
     3 
     3 
     4   <widget id="desktop_widget" class="desktop_widget">
     4   <widget id="desktop_widget" class="desktop_widget">
     5     
     5 
       
     6     <!-- Launch service aPI plugin and fetch data from CPS -->
     6     <contentsource name="DesktopWidget" value="0x2001CB58"/>
     7     <contentsource name="DesktopWidget" value="0x2001CB58"/>
     7 
     8 
     8     <!-- Shortcut #1 -->
     9     <!-- Shortcut #1 -->
     9     <button id="button1" class="button" focusable="true" _s60-initial-focus="1">
    10     <button id="button1" class="button" focusable="true" _s60-initial-focus="1">
    10       <actions>
    11       <actions>
    11         <action>
    12         <action>
    12           <trigger name="activate"/>          
    13           <trigger name="stylus">
       
    14             <property name="eventtype" value="downup" />
       
    15           </trigger>
       
    16           <trigger name="activate"/>
       
    17           <trigger name="keyevent">
       
    18             <!-- EStdKeyEnter (enum from e32keys.h) -->
       
    19             <property name="scancode" value="3"/>
       
    20             <property name="eventtype" value="1"/>
       
    21           </trigger>
    13           <event name="DesktopWidget/LaunchByIndex(0x1)"/>
    22           <event name="DesktopWidget/LaunchByIndex(0x1)"/>
    14         </action>
    23         </action>
    15       </actions>
    24       </actions>
    16       <image id="icon1" class="icon">
    25       <image id="icon1" class="icon">
    17         <property class="DesktopWidget/icon" name="ordinal" value="0x1"/>
    26         <property class="DesktopWidget/icon" name="ordinal" value="0x1"/>
    23         <text id="tooltiptext1" class="tooltiptext" >
    32         <text id="tooltiptext1" class="tooltiptext" >
    24           <property class="DesktopWidget/long_name" name="ordinal" value="0x1"/>
    33           <property class="DesktopWidget/long_name" name="ordinal" value="0x1"/>
    25         </text>
    34         </text>
    26       </tooltip>
    35       </tooltip>
    27     </button>
    36     </button>
       
    37 
       
    38 
    28     <!-- Shortcut #2 -->
    39     <!-- Shortcut #2 -->
    29     <button id="button2" class="button" focusable="true">
    40     <button id="button2" class="button" focusable="true">
    30       <actions>
    41       <actions>
    31         <action>
    42         <action>
    32           <trigger name="activate"/>
    43           <trigger name="stylus">
       
    44             <property name="eventtype" value="downup" />
       
    45           </trigger>
       
    46           <trigger name="activate"/>
       
    47           <trigger name="keyevent">
       
    48             <!-- EStdKeyEnter (enum from e32keys.h) -->
       
    49             <property name="scancode" value="3"/>
       
    50             <property name="eventtype" value="1"/>
       
    51           </trigger>
    33           <event name="DesktopWidget/LaunchByIndex(0x2)"/>
    52           <event name="DesktopWidget/LaunchByIndex(0x2)"/>
    34         </action>
    53         </action>
    35       </actions>
    54       </actions>
    36       <image id="icon2" class="icon">
    55       <image id="icon2" class="icon">
    37         <property class="DesktopWidget/icon" name="ordinal" value="0x2"/>
    56         <property class="DesktopWidget/icon" name="ordinal" value="0x2"/>
    43         <text id="tooltiptext2" class="tooltiptext" >
    62         <text id="tooltiptext2" class="tooltiptext" >
    44           <property class="DesktopWidget/long_name" name="ordinal" value="0x2"/>
    63           <property class="DesktopWidget/long_name" name="ordinal" value="0x2"/>
    45         </text>
    64         </text>
    46       </tooltip>
    65       </tooltip>
    47     </button>
    66     </button>
       
    67 
    48     <!-- Shortcut #3 -->
    68     <!-- Shortcut #3 -->
    49     <button id="button3" class="button" focusable="true">
    69     <button id="button3" class="button" focusable="true">
    50       <actions>
    70       <actions>
    51         <action>
    71         <action>
    52           <trigger name="activate"/>
    72           <trigger name="stylus">
       
    73             <property name="eventtype" value="downup" />
       
    74           </trigger>
       
    75           <trigger name="activate"/>
       
    76           <trigger name="keyevent">
       
    77             <!-- EStdKeyEnter (enum from e32keys.h) -->
       
    78             <property name="scancode" value="3"/>
       
    79             <property name="eventtype" value="1"/>
       
    80           </trigger>
    53           <event name="DesktopWidget/LaunchByIndex(0x3)"/>
    81           <event name="DesktopWidget/LaunchByIndex(0x3)"/>
    54         </action>
    82         </action>
    55       </actions>
    83       </actions>
    56       <image id="icon3" class="icon">
    84       <image id="icon3" class="icon">
    57         <property class="DesktopWidget/icon" name="ordinal" value="0x3"/>
    85         <property class="DesktopWidget/icon" name="ordinal" value="0x3"/>
    63         <text id="tooltiptext3" class="tooltiptext" >
    91         <text id="tooltiptext3" class="tooltiptext" >
    64           <property class="DesktopWidget/long_name" name="ordinal" value="0x3"/>
    92           <property class="DesktopWidget/long_name" name="ordinal" value="0x3"/>
    65         </text>
    93         </text>
    66       </tooltip>
    94       </tooltip>
    67     </button>
    95     </button>
       
    96 
    68     <!-- Shortcut #4 -->
    97     <!-- Shortcut #4 -->
    69     <button id="button4" class="button" focusable="true">
    98     <button id="button4" class="button" focusable="true">
    70       <actions>
    99       <actions>
    71         <action>
   100         <action>
    72           <trigger name="activate"/>
   101           <trigger name="stylus">
       
   102             <property name="eventtype" value="downup" />
       
   103           </trigger>
       
   104           <trigger name="activate"/>
       
   105           <trigger name="keyevent">
       
   106             <!-- EStdKeyEnter (enum from e32keys.h) -->
       
   107             <property name="scancode" value="3"/>
       
   108             <property name="eventtype" value="1"/>
       
   109           </trigger>
    73           <event name="DesktopWidget/LaunchByIndex(0x4)"/>
   110           <event name="DesktopWidget/LaunchByIndex(0x4)"/>
    74         </action>
   111         </action>
    75       </actions>
   112       </actions>
    76       <image id="icon4" class="icon">
   113       <image id="icon4" class="icon">
    77         <property class="DesktopWidget/icon" name="ordinal" value="0x4"/>
   114         <property class="DesktopWidget/icon" name="ordinal" value="0x4"/>
    84           <property class="DesktopWidget/long_name" name="ordinal" value="0x4"/>
   121           <property class="DesktopWidget/long_name" name="ordinal" value="0x4"/>
    85         </text>
   122         </text>
    86       </tooltip>
   123       </tooltip>
    87     </button>
   124     </button>
    88 
   125 
       
   126     <!-- Shortcut #5 -->
       
   127     <button id="button5" class="button" focusable="true">
       
   128       <actions>
       
   129         <action>
       
   130           <trigger name="stylus">
       
   131             <property name="eventtype" value="downup" />
       
   132           </trigger>
       
   133           <trigger name="activate"/>
       
   134           <trigger name="keyevent">
       
   135             <!-- EStdKeyEnter (enum from e32keys.h) -->
       
   136             <property name="scancode" value="3"/>
       
   137             <property name="eventtype" value="1"/>
       
   138           </trigger>
       
   139           <event name="DesktopWidget/LaunchByIndex(0x5)"/>
       
   140         </action>
       
   141       </actions>
       
   142       <image id="icon5" class="icon">
       
   143         <property class="DesktopWidget/icon" name="ordinal" value="0x5"/>
       
   144       </image>
       
   145       <image id="presenceicon5" class="second_icon">
       
   146         <property class="DesktopWidget/presenceicon" name="ordinal" value="0x5"/>
       
   147       </image>
       
   148       <tooltip id="tooltip5" class="tooltip" >
       
   149         <text id="tooltiptext5" class="tooltiptext" >
       
   150           <property class="DesktopWidget/long_name" name="ordinal" value="0x5"/>
       
   151         </text>
       
   152       </tooltip>
       
   153     </button>
       
   154 
       
   155     <button id="button6" class="button" focusable="true">
       
   156       <actions>
       
   157         <action>
       
   158           <trigger name="stylus">
       
   159             <property name="eventtype" value="downup" />
       
   160           </trigger>
       
   161           <trigger name="activate"/>
       
   162           <trigger name="keyevent">
       
   163             <!-- EStdKeyEnter (enum from e32keys.h) -->
       
   164             <property name="scancode" value="3"/>
       
   165             <property name="eventtype" value="1"/>
       
   166           </trigger>
       
   167           <event name="DesktopWidget/LaunchByIndex(0x6)"/>
       
   168         </action>
       
   169       </actions>
       
   170       <image id="icon6" class="icon">
       
   171         <property class="DesktopWidget/icon" name="ordinal" value="0x6"/>
       
   172       </image>
       
   173       <image id="presenceicon6" class="second_icon">
       
   174         <property class="DesktopWidget/presenceicon" name="ordinal" value="0x6"/>
       
   175       </image>
       
   176       <tooltip id="tooltip6" class="tooltip" >
       
   177         <text id="tooltiptext6" class="tooltiptext" >
       
   178           <property class="DesktopWidget/long_name" name="ordinal" value="0x6"/>
       
   179         </text>
       
   180       </tooltip>
       
   181     </button>
       
   182 
    89     <menuextension>
   183     <menuextension>
       
   184       <softkey type="middle" target="hs_widget_msk_open"/>
       
   185       <menuitem target="hs_widget_menuitem_open">
       
   186         <actions>
       
   187           <action>
       
   188             <trigger name="activate"/>
       
   189             <event name="system/activateselecteditem"/>
       
   190           </action>
       
   191         </actions>
       
   192       </menuitem>
    90       <menuitem target="hs_widget_menuitem_settings">
   193       <menuitem target="hs_widget_menuitem_settings">
    91         <actions>
   194         <actions>
    92           <action>
   195           <action>
    93             <trigger name="activate"/>
   196             <trigger name="activate"/>
    94             <event name="DesktopWidget/ShowSettings"/>
   197             <event name="DesktopWidget/ShowSettings"/>
    95           </action>
   198           </action>
    96         </actions>
   199         </actions>
    97       </menuitem>
   200       </menuitem>
    98     </menuextension>
   201     </menuextension>
       
   202 
    99   </widget>
   203   </widget>
   100 </xmluiml>
   204 </xmluiml>