idlehomescreen/data/qhd_tch/view_200286e4/xuikon/00/View.xml
branchRCL_3
changeset 15 ff572dfe6d86
child 30 b8fae6b8a148
equal deleted inserted replaced
9:f966699dea19 15:ff572dfe6d86
       
     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_view">
       
     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                     <property name="class" value="widget_indication"/>                                       
       
    26                 </event>                                    
       
    27             </action>                
       
    28             <action>
       
    29                 <trigger name="editmode" value="exit"/>
       
    30                 <event name="system/set">
       
    31                     <property name="name" value="focusable"/>
       
    32                     <property name="value" value="false"/>
       
    33                     <property name="type" value="string"/>
       
    34                     <property name="class" value="plugins"/>
       
    35                 </event>
       
    36                 <event name="system/reseteditmode">
       
    37                     <property name="id" value="hs_popup_open_hold"/>
       
    38                     <property name="class" value="widget_indication"/>                                        
       
    39                 </event>                                                    
       
    40             </action>                                
       
    41             <action>
       
    42                 <trigger name="swipe" direction="left" conditional="true"/>
       
    43                 <event name="system/activatenextview" effectid="1003"/>
       
    44             </action>
       
    45             <action>
       
    46                 <trigger name="swipe" direction="right" conditional="true"/>
       
    47                 <event name="system/activatepreviousview" 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         </actions>
       
    80 
       
    81         <!-- Plugins in this view -->
       
    82         <box id="plugins_container">
       
    83             <plugin id="plugin1" class="plugins" actionshandler="plugin_actions">
       
    84                 <image class="widget_indication" />
       
    85             </plugin>
       
    86             <plugin id="plugin2" class="plugins" actionshandler="plugin_actions">
       
    87                 <image class="widget_indication" />
       
    88             </plugin>
       
    89             <plugin id="plugin3" class="plugins" actionshandler="plugin_actions">
       
    90                 <image class="widget_indication" />
       
    91             </plugin>
       
    92             <plugin id="plugin4" class="plugins" actionshandler="plugin_actions">
       
    93                 <image class="widget_indication" />
       
    94             </plugin>
       
    95             <plugin id="plugin5" class="plugins" actionshandler="plugin_actions">
       
    96                 <image class="widget_indication" />
       
    97             </plugin>
       
    98             <plugin id="plugin6" class="plugins" actionshandler="plugin_actions">
       
    99                 <image class="widget_indication" />
       
   100             </plugin>
       
   101         </box>
       
   102 
       
   103         <!-- plugins' actions handler -->
       
   104         <actionshandler id="plugin_actions">
       
   105             <actions>
       
   106                 <action>
       
   107                     <trigger id="hs_popup_open_hold" name="hold" conditional="true" />
       
   108                     <event name="system/reportentereditmode" effectid="1005"/>
       
   109                 </action>
       
   110             </actions>
       
   111         </actionshandler>
       
   112 
       
   113         <!-- Avkon stylus popup menu is not layout capable -->
       
   114         <styluspopup id="hs_popup_menu" display="none">
       
   115             <!-- menuitems controlled by widgets' <menuextension> -->
       
   116             <widgetmenuitem id="hs_popup_widget_settings" source="hs_widget_menuitem_settings" label="&qtn_hs_longtap_settings;" />
       
   117             <widgetmenuitem id="hs_popup_widget_general_1" source="hs_widget_general_stylus_popup_1"/>
       
   118             <widgetmenuitem id="hs_popup_widget_general_2" source="hs_widget_general_stylus_popup_2"/>
       
   119             <!--<widgetmenuitem id="hs_popup_widget_refresh" source="hs_widget_menuitem_refresh" label="Refresh" />-->
       
   120             <!-- "Remove" item initialized in runtime to check whether popup is on top of widget -->
       
   121             <dynmenuitem id="hs_popup_remove_widget" type="hs_remove_widget" label="&qtn_hs_longtap_remove_element;">
       
   122                 <actions>
       
   123                     <action>
       
   124                         <trigger name="activate"/>
       
   125                         <event name="system/removefocusedwidget"/>
       
   126                     </action>
       
   127                 </actions>
       
   128             </dynmenuitem>
       
   129         </styluspopup>
       
   130         <menubar id="hs_menubar">
       
   131             <!-- menu item grouping table is traversed through in run-time always when options menu is launched. -->
       
   132             <menuitemgrouping>
       
   133                 <!-- These items are shown when content is visible -->
       
   134                 <menuitemgroup id="Menu/NormalMode">
       
   135                     <property name="hs_edit_widgets"/>
       
   136                     <property name="hs_set_online"/>
       
   137                     <property name="hs_set_offline"/>
       
   138                     <property name="hs_add_view"/>
       
   139                     <property name="hs_remove_view"/>
       
   140                 </menuitemgroup>
       
   141                 <!-- These items are shown in edit mode, if not otherwise changed in the declaration -->
       
   142                 <menuitemgroup id="Menu/EditMode">
       
   143                     <property name="hs_widget_catalog"/>
       
   144                     <property name="hs_remove_widget"/>
       
   145                     <property name="hs_widget_settings"/>
       
   146                     <property name="hs_widget_general_1"/>
       
   147                     <property name="hs_widget_general_2"/>
       
   148                     <property name="hs_add_view"/>
       
   149                     <property name="hs_remove_view"/>
       
   150                     <property name="hs_change_wallpaper"/>
       
   151                 </menuitemgroup>
       
   152                 <!-- These items are always shown, if not otherwise changed in the declaration -->
       
   153                 <menuitemgroup id="Menu/AlwaysShown">
       
   154                     <property name="hs_show_help"/>
       
   155                 </menuitemgroup>
       
   156             </menuitemgrouping>
       
   157             <menu id="hs_options_menu">
       
   158                 <menuitem id="hs_widget_catalog" label="&qtn_hs_widget_catalog;">
       
   159                     <actions>
       
   160                         <action>
       
   161                             <trigger name="activate"/>
       
   162                             <event name="system/runaddwidgetquery"/>
       
   163                         </action>
       
   164                     </actions>
       
   165                 </menuitem>
       
   166                 <!-- menuitems controlled by widgets' <menuextension> element -->
       
   167                 <widgetmenuitem id="hs_widget_settings" source="hs_widget_menuitem_settings" label="&qtn_hs_widget_settings;"/>
       
   168                 <widgetmenuitem id="hs_widget_general_1" source="hs_widget_general_options_menu_1"/>
       
   169                 <widgetmenuitem id="hs_widget_general_2" source="hs_widget_general_options_menu_2"/>
       
   170                 <dynmenuitem id="hs_remove_widget" type="hs_remove_widget" label="&qtn_hs_remove_widget;">
       
   171                     <actions>
       
   172                         <action>
       
   173                             <trigger name="activate"/>
       
   174                             <event name="system/removefocusedwidget"/>
       
   175                         </action>
       
   176                     </actions>
       
   177                 </dynmenuitem>
       
   178                 <!--<widgetmenuitem id="hs_widget_refresh" source="hs_widget_menuitem_refresh" label="&qtn_hs_refresh_widget;" />-->
       
   179                 <menuitem id="hs_edit_widgets" label="&qtn_hs_edit_content;">
       
   180                     <actions>
       
   181                         <action>
       
   182                             <trigger name="activate"/>
       
   183                             <event name="system/reportentereditmode" effectid="1005"/>
       
   184                         </action>
       
   185                     </actions>
       
   186                 </menuitem>
       
   187                 <menuitem id="hs_change_wallpaper" label="&qtn_hs_change_wallpaper;">
       
   188                     <actions>
       
   189                         <action>
       
   190                             <trigger name="activate"/>
       
   191                             <!--Wallpaper-->
       
   192                             <event name="system/setwallpaper"/>
       
   193                         </action>
       
   194                     </actions>
       
   195                 </menuitem>
       
   196                 <dynmenuitem id="hs_add_view" type="hs_add_view" label="&qtn_hs_page_options_new;">
       
   197                     <actions>
       
   198                         <action>
       
   199                             <trigger name="activate"/>
       
   200                             <event name="system/addview" effectid="1009"/>
       
   201                         </action>
       
   202                     </actions>
       
   203                 </dynmenuitem>
       
   204                 <dynmenuitem id="hs_remove_view" type="hs_remove_view" label="&qtn_hs_page_options_delete;">
       
   205                     <actions>
       
   206                         <action>
       
   207                             <trigger name="activate"/>
       
   208                             <event name="system/removeview" effectid="1010"/>
       
   209                         </action>
       
   210                     </actions>
       
   211                 </dynmenuitem>
       
   212                 <dynmenuitem id="hs_set_online" type="hs_online" label="&qtn_hs_online;">
       
   213                     <actions>
       
   214                         <action>
       
   215                             <trigger name="activate"/>
       
   216                             <event name="EventHandler/SetOnline"/>
       
   217                         </action>
       
   218                     </actions>
       
   219                 </dynmenuitem>
       
   220                 <dynmenuitem id="hs_set_offline" type="hs_offline" label="&qtn_hs_offline;">
       
   221                     <actions>
       
   222                         <action>
       
   223                             <trigger name="activate"/>
       
   224                             <event name="EventHandler/SetOffline"/>
       
   225                         </action>
       
   226                     </actions>
       
   227                 </dynmenuitem>
       
   228                 <menuitem id="hs_show_help" label="&qtn_options_help;">
       
   229                     <actions>
       
   230                         <action>
       
   231                             <trigger name="activate"/>
       
   232                             <event name="EventHandler/ShowHelp"/>
       
   233                         </action>
       
   234                     </actions>
       
   235                 </menuitem>
       
   236             </menu>
       
   237             <softkey id="lsk" type="left" label="&text_softkey_options;">
       
   238                 <actions>
       
   239                     <action>
       
   240                         <trigger name="activate"/>
       
   241                         <event name="system/trydisplayingmenu">
       
   242                             <property name="id" value="hs_options_menu"/>
       
   243                         </event>
       
   244                     </action>
       
   245                 </actions>
       
   246             </softkey>
       
   247             <softkey id="rsk" type="right" mode="mode_callinactive" label="&text_softkey_call;">
       
   248                 <actions>
       
   249                     <action>                        
       
   250                         <trigger name="activate"/>
       
   251                         <event name="EventHandler/ActivateView" uid="0x100058B3" viewid="0x10282D81" messageid="0x1"/>
       
   252                     </action>
       
   253                     <action>
       
   254                         <trigger name="hold"/>
       
   255                         <!-- Voice command-->
       
   256                         <event name="EventHandler/LaunchApp" uid="0x101F8543"/>
       
   257                     </action>
       
   258                 </actions>
       
   259             </softkey>
       
   260             <softkey id="rsk_incall" type="right" mode="mode_callactive" label="&text_softkey_back;">
       
   261                 <actions>
       
   262                     <action>                        
       
   263                         <trigger name="activate"/>
       
   264                         <event name="EventHandler/ActivatePhoneView" />
       
   265                     </action>
       
   266                 </actions>
       
   267             </softkey>
       
   268             <softkey id="rsk_done" type="right" mode="mode_edit" label="&text_softkey_done;">
       
   269                 <actions>
       
   270                     <action>
       
   271                         <trigger name="activate"/>
       
   272                         <event name="system/reportexiteditmode" effectid="1006"/>
       
   273                     </action>
       
   274                 </actions>
       
   275             </softkey>
       
   276             <softkey id="msk_ltr" type="middle" label=""> <!--TODO: Remove label when MSK icon available-->
       
   277                 <actions>
       
   278                     <action>
       
   279                         <trigger name="activate"/>
       
   280                         <event name="system/activatenextview" effectid="1003"/>
       
   281                     </action>
       
   282                 </actions>
       
   283                 <!--image id="switcher_icon"/-->
       
   284             </softkey>
       
   285             <softkey id="msk_rtl" type="middle" label=""> <!--TODO: Remove label when MSK icon available-->
       
   286                 <actions>
       
   287                     <action>
       
   288                         <trigger name="activate"/>
       
   289                         <event name="system/activatepreviousview" effectid="1004"/>
       
   290                     </action>
       
   291                 </actions>
       
   292                 <!--image id="switcher_icon"/-->
       
   293             </softkey>
       
   294         </menubar>
       
   295     </view>
       
   296 </xmluiml>