emailuis/widget/xuikon/00/emailwidget.xml
changeset 0 8466d47a6819
child 2 5253a20d2a1e
equal deleted inserted replaced
-1:000000000000 0:8466d47a6819
       
     1 <?xml version="1.0" encoding="UTF-8"?>
       
     2 <!-- locale\ -->
       
     3 <!DOCTYPE xmluiml SYSTEM "emailwidget.dtd">
       
     4 <xmluiml xmlns="http://www.series60.com/xml/xmluiml/1" version="1.0">
       
     5 
       
     6     <widget id="EmailWidget"> 
       
     7         <contentsource class="ContentSource" name="0x2001F413:CMailWidget" value="0x20019594"/>
       
     8         <configuration name="service" value="Service.ContentPublishing"/>
       
     9         <configuration name="interface" value="IContentPublishing"/>
       
    10         <configuration name="command" value="GetList"/>		
       
    11         <configuration name="publisher" value="0x2001F413:CMailWidget"/>
       
    12 		
       
    13         <!-- SETUP VIEW -->
       
    14         <box id="SetupContainer" focusable="true" _s60-initial-focus="1">
       
    15             <actions>
       
    16                 <action>
       
    17                     <trigger name="stylus">
       
    18                         <property name="eventtype" value="up" />
       
    19                     </trigger>
       
    20                     <trigger name="activate"/>
       
    21                     <trigger name="keyevent">
       
    22                         <property name="scancode" value="3"/>
       
    23                         <property name="eventtype" value="1"/>
       
    24                     </trigger>
       
    25                     <event name="0x2001F413:CMailWidget/ct_setup_text(trigger_wizard)"/>
       
    26                 </action>
       
    27             </actions>
       
    28             <box id="SetupRowContainer" class="row_container">
       
    29                 <box id="ImageField1" class="image_container">
       
    30                     <image id="connstatus_id" sizeaware="true">
       
    31                         <configuration name="content_type" value="ct_setup_icon"/>
       
    32                         <property class="0x2001F413:CMailWidget/key_setup_icon"/>
       
    33                     </image>
       
    34                 </box>
       
    35                 <box id="Setuptext" class="text_field_container">
       
    36                     <text id="setup">
       
    37                         <configuration name="content_type" value="ct_setup_text"/>
       
    38                         <property class="0x2001F413:CMailWidget/key_setup_text"/>						
       
    39                     </text>
       
    40                 </box>                             
       
    41             </box>
       
    42         </box>
       
    43 
       
    44         <!-- MAILS VIEW -->
       
    45         <box id="MailsContainer" focusable="true" _s60-initial-focus="1">
       
    46         
       
    47             <actions>
       
    48                 <action>
       
    49                     <trigger name="stylus">
       
    50                         <property name="eventtype" value="up" />
       
    51                     </trigger>
       
    52                     <trigger name="activate"/>
       
    53                     <trigger name="keyevent">
       
    54                         <property name="scancode" value="3"/> <!-- enter key / EStdKeyEnter -->
       
    55                         <property name="eventtype" value="1"/>
       
    56                     </trigger>
       
    57                     <event name="0x2001F413:CMailWidget/ct_body_text_1(trigger_emailui)"/>
       
    58                 </action>
       
    59             </actions>
       
    60             
       
    61             <!-- Widget row 1 -->
       
    62             <box id="MailViewRow1" class="row_container">
       
    63                 <box id="ImageField1" class="image_container">
       
    64                     <image id="mailboxicons_id1" sizeaware="true">
       
    65                         <configuration name="content_type" value="ct_mailbox_icons_1"/>
       
    66                         <property class="0x2001F413:CMailWidget/key_mailbox_icons_1"/>                        
       
    67                     </image>
       
    68                 </box>            
       
    69                 <box id="TextField1" class="text_field_container">
       
    70                     <text id="Text" class="text">
       
    71                         <configuration name="content_type" value="ct_body_text_1"/>
       
    72                         <property class="0x2001F413:CMailWidget/key_body_text_1"/>                                               
       
    73                         <!-- Display SETUP or MAILS container -->
       
    74                         <property class="policy/emptyContent" name="MailsContainer" value="display: none;"/>
       
    75                         <property class="policy/emptyContent" name="SetupContainer" value="display: block;"/>
       
    76                         <property class="policy/Content" name="MailsContainer" value="display: block;"/>
       
    77                         <property class="policy/Content" name="SetupContainer" value="display: none;"/>
       
    78                     </text>
       
    79                 </box>
       
    80                 <!-- Display unseen or outbox icon -->
       
    81                 <box id="IndicatorImageField1" class="indicator_image_container">
       
    82                     <image id="indicator_image_id1" sizeaware="true">
       
    83                         <configuration name="content_type" value="ct_indicator_icon_1"/>
       
    84                         <property class="0x2001F413:CMailWidget/key_indicator_icon_1"/>
       
    85                     </image>
       
    86                 </box>
       
    87             </box>
       
    88 
       
    89             <!-- Widget row 2 -->
       
    90             <box id="MailViewRow2" class="row_container">
       
    91                 <box id="ImageField2" class="image_container">
       
    92                     <image id="mailboxicons_id2" sizeaware="true">
       
    93                         <configuration name="content_type" value="ct_mailbox_icons_2"/>
       
    94                         <property class="0x2001F413:CMailWidget/key_mailbox_icons_2"/>                        
       
    95                     </image>
       
    96                 </box>            
       
    97                 <box id="TextField2" class="text_field_container">
       
    98                     <text id="Text2" class="text">
       
    99                         <configuration name="content_type" value="ct_body_text_2"/>
       
   100                         <property class="0x2001F413:CMailWidget/key_body_text_2"/>                        
       
   101                     </text>
       
   102                 </box>
       
   103                 <box id="MailboxTime2" class="mail_time_container">
       
   104                     <text id="time_id_2" class="time_text">
       
   105                         <configuration name="content_type" value="ct_time_2"/>
       
   106                         <property class="0x2001F413:CMailWidget/key_time_2"/>                        
       
   107                     </text>
       
   108                 </box>                
       
   109             </box>
       
   110             
       
   111             <!-- Widget row 3 -->
       
   112             <box id="MailViewRow3" class="row_container">
       
   113                 <box id="ImageField3" class="image_container">
       
   114                     <image id="mailboxicons_id3" sizeaware="true">
       
   115                         <configuration name="content_type" value="ct_mailbox_icons_3"/>
       
   116                         <property class="0x2001F413:CMailWidget/key_mailbox_icons_3"/>                        
       
   117                     </image>
       
   118                 </box>            
       
   119                 <box id="TextField3" class="text_field_container">
       
   120                     <text id="Text3" class="text">
       
   121                         <configuration name="content_type" value="ct_body_text_3"/>
       
   122                         <property class="0x2001F413:CMailWidget/key_body_text_3"/>                        
       
   123                     </text>
       
   124                 </box>
       
   125                 <box id="MailboxTime3" class="mail_time_container">
       
   126                     <text id="time_id_3" class="time_text">
       
   127                         <configuration name="content_type" value="ct_time_3"/>
       
   128                         <property class="0x2001F413:CMailWidget/key_time_3"/>                        
       
   129                     </text>
       
   130                 </box>                
       
   131             </box>            
       
   132         </box>
       
   133         
       
   134         <menuextension>
       
   135             <menuitem target="hs_widget_menuitem_settings">
       
   136                 <actions>
       
   137                     <action>
       
   138                         <trigger name="activate"/>
       
   139                         <event name="0x2001F413:CMailWidget/ShowSettings(settings)"/>                        
       
   140                     </action>
       
   141                 </actions>
       
   142             </menuitem>
       
   143         </menuextension>         
       
   144     </widget>
       
   145 </xmluiml>