idlehomescreen/data/qhd_tch/templateview_20026f50/xuikon/00/templateview.xml
changeset 0 f72a12da539e
child 1 5315654608de
equal deleted inserted replaced
-1:000000000000 0:f72a12da539e
       
     1 <?xml version="1.0" encoding="UTF-8"?>
       
     2 <!DOCTYPE xmluiml SYSTEM "View.dtd">
       
     3 <xmluiml xmlns="http://www.series60.com/xml/xmluiml/1" version="1.0">
       
     4     <view id="hs_qhd_tch_templateview">
       
     5         <actions>
       
     6             <action>
       
     7                 <!-- End key -->
       
     8                 <trigger name="keyevent">
       
     9                     <property name="scancode" value="197"/> ><!-- End key -->
       
    10                     <property name="eventtype" value="1"/>
       
    11                 </trigger>
       
    12                 <!-- dismiss if edit mode active -->
       
    13                 <event name="system/reportexiteditmode"/>
       
    14             </action>
       
    15             <action>
       
    16                 <trigger name="editmode" value="enter"/>
       
    17                 <event name="system/set">
       
    18                     <property name="name" value="focusable"/>
       
    19                     <property name="value" value="true"/>
       
    20                     <property name="type" value="string"/>
       
    21                     <property name="class" value="plugins"/>
       
    22                 </event>
       
    23                 <event name="system/seteditmode">
       
    24                     <property name="id" value="hs_popup_open_hold"/>                                                  
       
    25                 </event>                                    
       
    26             </action>                
       
    27             <action>
       
    28                 <trigger name="editmode" value="exit"/>
       
    29                 <event name="system/set">
       
    30                     <property name="name" value="focusable"/>
       
    31                     <property name="value" value="false"/>
       
    32                     <property name="type" value="string"/>
       
    33                     <property name="class" value="plugins"/>
       
    34                 </event>
       
    35                 <event name="system/reseteditmode">
       
    36                     <property name="id" value="hs_popup_open_hold"/>                                        
       
    37                 </event>                                                    
       
    38             </action>                                
       
    39             <action>
       
    40                 <trigger name="swipe" direction="left" conditional="true"/>
       
    41                 <event name="system/activatenextview"/>
       
    42                 <event name="system/runfullscreeneffect" effectid="1003"/>
       
    43             </action>
       
    44             <action>
       
    45                 <trigger name="swipe" direction="right" conditional="true"/>
       
    46                 <event name="system/activatepreviousview"/>
       
    47                 <event name="system/runfullscreeneffect" effectid="1004"/>
       
    48             </action>
       
    49             <action>
       
    50                 <trigger name="screendevicechange" reason="portrait"/>
       
    51                 <event name="system/set">
       
    52                     <property name="name" value="padding-left"/>
       
    53                     <property name="value" value="17px"/>
       
    54                     <property name="type" value="numeric"/>
       
    55                     <property name="id" value="plugins_container"/>
       
    56                 </event>
       
    57                 <event name="system/set">
       
    58                     <property name="name" value="padding-right"/>
       
    59                     <property name="value" value="17px"/>
       
    60                     <property name="type" value="numeric"/>
       
    61                     <property name="id" value="plugins_container"/>
       
    62                 </event>
       
    63             </action>
       
    64             <action>
       
    65                 <trigger name="screendevicechange" reason="landscape"/>
       
    66                 <event name="system/set">
       
    67                     <property name="name" value="padding-left"/>
       
    68                     <property name="value" value="0px"/>
       
    69                     <property name="type" value="numeric"/>
       
    70                     <property name="id" value="plugins_container"/>
       
    71                 </event>
       
    72                 <event name="system/set">
       
    73                     <property name="name" value="padding-right"/>
       
    74                     <property name="value" value="0px"/>
       
    75                     <property name="type" value="numeric"/>
       
    76                     <property name="id" value="plugins_container"/>
       
    77                 </event>
       
    78             </action>
       
    79             <action>
       
    80                 <!-- No widgets in this view -->
       
    81                 <trigger name="widgetamount" value="0"/>
       
    82                 <event name="system/set">
       
    83                     <!-- Hide "remove content" menuitem -->
       
    84                     <property name="name" value="display"/>
       
    85                     <property name="value" value="none"/>
       
    86                     <property name="type" value="string"/>
       
    87                     <property name="id" value="hs_remove_widget"/>
       
    88                 </event>
       
    89             </action>
       
    90             <action>
       
    91                 <!-- At least one widget added to this view -->
       
    92                 <trigger name="widgetamount" value="1"/>
       
    93                 <event name="system/set">
       
    94                     <!-- Show "remove content" menuitem -->
       
    95                     <property name="name" value="display"/>
       
    96                     <property name="value" value="block"/>
       
    97                     <property name="type" value="string"/>
       
    98                     <property name="id" value="hs_remove_widget"/>
       
    99                 </event>
       
   100             </action>
       
   101         </actions>
       
   102 
       
   103         <!-- Plugins in this view -->
       
   104         <box id="plugins_container">
       
   105             <plugin id="plugin1" class="plugins" actionshandler="plugin_actions" />
       
   106             <plugin id="plugin2" class="plugins" actionshandler="plugin_actions" />
       
   107             <plugin id="plugin3" class="plugins" actionshandler="plugin_actions" />
       
   108             <plugin id="plugin4" class="plugins" actionshandler="plugin_actions" />
       
   109             <plugin id="plugin5" class="plugins" actionshandler="plugin_actions" />
       
   110             <plugin id="plugin6" class="plugins" actionshandler="plugin_actions" />
       
   111         </box>
       
   112 
       
   113         <!-- plugins' actions handler -->
       
   114         <actionshandler id="plugin_actions">
       
   115             <actions>
       
   116                 <action>
       
   117                     <trigger id="hs_popup_open_hold" name="hold" conditional="true" />
       
   118                     <event name="system/reportentereditmode" />
       
   119                     <event name="system/runfullscreeneffect" effectid="1005"/>
       
   120                 </action>
       
   121             </actions>
       
   122         </actionshandler>
       
   123 
       
   124         <!-- Avkon stylus popup menu is not layout capable -->
       
   125         <styluspopup id="hs_popup_menu" display="none">
       
   126             <!-- "Add content" item initialized in runtime to check whether popup is on top of empty space -->
       
   127             <dynmenuitem id="hs_popup_add_widget" type="hs_add_widget" label="&qtn_hs_longtap_add;">
       
   128                 <actions>
       
   129                     <action>
       
   130                         <trigger name="activate"/>
       
   131                         <event name="system/runaddwidgetquery"/>
       
   132                     </action>
       
   133                 </actions>
       
   134             </dynmenuitem>
       
   135             <!-- menuitems controlled by widgets' <menuextension> -->
       
   136             <widgetmenuitem id="hs_popup_widget_settings" source="hs_widget_menuitem_settings" label="&qtn_hs_longtap_settings;" />
       
   137             <widgetmenuitem id="hs_popup_widget_general_1" source="hs_widget_general_stylus_popup_1"/>
       
   138             <widgetmenuitem id="hs_popup_widget_general_2" source="hs_widget_general_stylus_popup_2"/>
       
   139             <!--<widgetmenuitem id="hs_popup_widget_refresh" source="hs_widget_menuitem_refresh" label="Refresh" />-->
       
   140             <!-- "Remove" item initialized in runtime to check whether popup is on top of widget -->
       
   141             <dynmenuitem id="hs_popup_remove_widget" type="hs_remove_widget" label="&qtn_hs_longtap_remove_element;">
       
   142                 <actions>
       
   143                     <action>
       
   144                         <trigger name="activate"/>
       
   145                         <event name="system/removefocusedwidget"/>
       
   146                     </action>
       
   147                 </actions>
       
   148             </dynmenuitem>
       
   149             <!-- Change wallpaper is always present -->
       
   150             <menuitem id="hs_popup_change_wallpaper" label="&qtn_hs_change_longtap_wallpaper;">
       
   151                 <actions>
       
   152                     <action>
       
   153                         <trigger name="activate"/>
       
   154                         <event name="system/setwallpaper"/>
       
   155                     </action>
       
   156                 </actions>
       
   157             </menuitem>
       
   158         </styluspopup>
       
   159         <menubar id="hs_menubar">
       
   160             <!-- menu item grouping table is traversed through in run-time always when options menu is launched. -->
       
   161             <menuitemgrouping>
       
   162                 <!-- These items are shown when content is visible -->
       
   163                 <menuitemgroup id="Menu/WidgetsShown">
       
   164                     <property name="hs_widget_catalog"/>
       
   165                     <property name="hs_edit_widgets"/>
       
   166                     <property name="hs_set_online"/>
       
   167                     <property name="hs_set_offline"/>
       
   168                     <property name="hs_add_view"/>
       
   169                     <property name="hs_remove_view"/>
       
   170                 </menuitemgroup>
       
   171                 <!-- These items are shown in edit mode, if not otherwise changed in the declaration -->
       
   172                 <menuitemgroup id="Menu/EditMode">
       
   173                     <property name="hs_add_widget"/>
       
   174                     <property name="hs_remove_widget"/>
       
   175                     <property name="hs_widget_settings"/>
       
   176                     <property name="hs_widget_general_1"/>
       
   177                     <property name="hs_widget_general_2"/>
       
   178                     <property name="hs_remove_view"/>
       
   179                     <property name="hs_change_wallpaper"/>
       
   180                 </menuitemgroup>
       
   181                 <!-- These items are always shown, if not otherwise changed in the declaration -->
       
   182                 <menuitemgroup id="Menu/AlwaysShown">
       
   183                     <property name="hs_show_help"/>
       
   184                 </menuitemgroup>
       
   185             </menuitemgrouping>
       
   186             <menu id="hs_options_menu">
       
   187                 <menuitem id="hs_widget_catalog" label="&qtn_hs_widget_catalog;">
       
   188                     <actions>
       
   189                         <action>
       
   190                             <trigger name="activate"/>
       
   191                             <event name="system/runaddwidgetquery"/>
       
   192                         </action>
       
   193                     </actions>
       
   194                 </menuitem>
       
   195                 <menuitem id="hs_add_widget" label="&qtn_hs_add_widget;">
       
   196                     <actions>
       
   197                         <action>
       
   198                             <trigger name="activate"/>
       
   199                             <event name="system/runaddwidgetquery"/>
       
   200                         </action>
       
   201                     </actions>
       
   202                 </menuitem>
       
   203                 <!-- menuitems controlled by widgets' <menuextension> element -->
       
   204                 <widgetmenuitem id="hs_widget_settings" source="hs_widget_menuitem_settings" label="&qtn_hs_widget_settings;"/>
       
   205                 <widgetmenuitem id="hs_widget_general_1" source="hs_widget_general_options_menu_1"/>
       
   206                 <widgetmenuitem id="hs_widget_general_2" source="hs_widget_general_options_menu_2"/>
       
   207                 <dynmenuitem id="hs_remove_widget" type="hs_remove_widget" label="&qtn_hs_remove_widget;">
       
   208                     <actions>
       
   209                         <action>
       
   210                             <trigger name="activate"/>
       
   211                             <event name="system/removefocusedwidget"/>
       
   212                         </action>
       
   213                     </actions>
       
   214                 </dynmenuitem>
       
   215                 <!--<widgetmenuitem id="hs_widget_refresh" source="hs_widget_menuitem_refresh" label="&qtn_hs_refresh_widget;" />-->
       
   216                 <menuitem id="hs_edit_widgets" label="&qtn_hs_edit_content;">
       
   217                     <actions>
       
   218                         <action>
       
   219                             <trigger name="activate"/>
       
   220                             <event name="system/reportentereditmode"/>
       
   221                             <event name="system/runfullscreeneffect" effectid="1005"/>
       
   222                         </action>
       
   223                     </actions>
       
   224                 </menuitem>
       
   225                 <menuitem id="hs_change_wallpaper" label="&qtn_hs_change_wallpaper;">
       
   226                     <actions>
       
   227                         <action>
       
   228                             <trigger name="activate"/>
       
   229                             <!--Wallpaper-->
       
   230                             <event name="system/setwallpaper"/>
       
   231                         </action>
       
   232                     </actions>
       
   233                 </menuitem>
       
   234                 <dynmenuitem id="hs_add_view" type="hs_add_view" label="&qtn_hs_page_options_new;">
       
   235                     <actions>
       
   236                         <action>
       
   237                             <trigger name="activate"/>
       
   238                             <event name="system/addview"/>
       
   239                             <event name="system/runfullscreeneffect" effectid="1009"/>
       
   240                         </action>
       
   241                     </actions>
       
   242                 </dynmenuitem>
       
   243                 <dynmenuitem id="hs_remove_view" type="hs_remove_view" label="&qtn_hs_page_options_delete;">
       
   244                     <actions>
       
   245                         <action>
       
   246                             <trigger name="activate"/>
       
   247                             <event name="system/removeview"/>
       
   248                             <event name="system/runfullscreeneffect" effectid="1010"/>
       
   249                         </action>
       
   250                     </actions>
       
   251                 </dynmenuitem>
       
   252                 <dynmenuitem id="hs_set_online" type="hs_online" label="&qtn_hs_online;">
       
   253                     <actions>
       
   254                         <action>
       
   255                             <trigger name="activate"/>
       
   256                             <event name="EventHandler/SetOnline"/>
       
   257                         </action>
       
   258                     </actions>
       
   259                 </dynmenuitem>
       
   260                 <dynmenuitem id="hs_set_offline" type="hs_offline" label="&qtn_hs_offline;">
       
   261                     <actions>
       
   262                         <action>
       
   263                             <trigger name="activate"/>
       
   264                             <event name="EventHandler/SetOffline"/>
       
   265                         </action>
       
   266                     </actions>
       
   267                 </dynmenuitem>
       
   268                 <menuitem id="hs_show_help" label="&qtn_options_help;">
       
   269                     <actions>
       
   270                         <action>
       
   271                             <trigger name="activate"/>
       
   272                             <event name="EventHandler/ShowHelp"/>
       
   273                         </action>
       
   274                     </actions>
       
   275                 </menuitem>
       
   276             </menu>
       
   277             <softkey id="lsk" type="left" label="&text_softkey_options;">
       
   278                 <actions>
       
   279                     <action>
       
   280                         <trigger name="activate"/>
       
   281                         <event name="system/trydisplayingmenu">
       
   282                             <property name="id" value="hs_options_menu"/>
       
   283                         </event>
       
   284                     </action>
       
   285                 </actions>
       
   286             </softkey>
       
   287             <!-- <softkey id="rsk" type="right" mode="mode_callinactive" label="&text_softkey_call;"> -->
       
   288             <softkey id="rsk" type="right" mode="mode_callinactive" label="#Call">
       
   289                 <actions>
       
   290                     <action>                        
       
   291                         <trigger name="activate"/>
       
   292                         <event name="EventHandler/ActivateView" uid="0x100058B3" viewid="0x10282D81" messageid="0x1"/>
       
   293                     </action>
       
   294                     <action>
       
   295                         <trigger name="hold"/>
       
   296                         <!-- Voice command-->
       
   297                         <event name="EventHandler/LaunchApp" uid="0x101F8543"/>
       
   298                     </action>
       
   299                 </actions>
       
   300             </softkey>
       
   301             <softkey id="rsk_incall" type="right" mode="mode_callactive" label="&text_softkey_back;">
       
   302                 <actions>
       
   303                     <action>                        
       
   304                         <trigger name="activate"/>
       
   305                         <event name="EventHandler/ActivatePhoneView" />
       
   306                     </action>
       
   307                 </actions>
       
   308             </softkey>
       
   309             <softkey id="rsk_done" type="right" mode="mode_edit" label="&text_softkey_done;">
       
   310                 <actions>
       
   311                     <action>
       
   312                         <trigger name="activate"/>
       
   313                         <event name="system/reportexiteditmode"/>
       
   314                         <event name="system/runfullscreeneffect" effectid="1006"/>
       
   315                     </action>
       
   316                 </actions>
       
   317             </softkey>
       
   318             <softkey id="msk" type="middle" label="">
       
   319                 <actions>
       
   320                     <action>
       
   321                         <trigger name="activate"/>
       
   322                         <event name="system/activatenextview"/>
       
   323                         <event name="system/runfullscreeneffect" effectid="1003"/>
       
   324                     </action>
       
   325                 </actions>
       
   326                 <!--image id="switcher_icon"/-->
       
   327             </softkey>
       
   328         </menubar>
       
   329     </view>
       
   330 </xmluiml>