emailuis/nmailui/conf/nmeditorview.docml
changeset 48 10eaf342f539
parent 47 f83bd4ae1fe3
child 66 084b5b1f02a7
equal deleted inserted replaced
47:f83bd4ae1fe3 48:10eaf342f539
     2 <hbdocument version="1.1">
     2 <hbdocument version="1.1">
     3     <widget name="editorview" type="HbView">
     3     <widget name="editorview" type="HbView">
     4         <widget name="content" role="HbView:widget" type="HbWidget">
     4         <widget name="content" role="HbView:widget" type="HbWidget">
     5             <widget name="scrollArea" plugin="nmailuiwidgetsplugin" type="NmBaseViewScrollArea">
     5             <widget name="scrollArea" plugin="nmailuiwidgetsplugin" type="NmBaseViewScrollArea">
     6                 <widget name="scrollAreaContents" role="HbScrollArea:contents" type="HbWidget">
     6                 <widget name="scrollAreaContents" role="HbScrollArea:contents" type="HbWidget">
     7                     <widget name="container" type="HbWidget">
     7                     <widget name="editorToField" type="HbWidget">
     8                         <widget name="containerContents" type="HbWidget">
     8                         <widget name="editorToLabel" type="HbLabel">
     9                             <widget name="editorToField" type="HbWidget">
     9                             <sizepolicy horizontalPolicy="Fixed" horizontalStretch="0" verticalPolicy="Fixed" verticalStretch="0"/>
    10                                 <widget name="editorToLabel" type="HbLabel">
    10                             <sizehint height="7.5un" type="FIXED" width="12.5un"/>
    11                                     <sizepolicy horizontalPolicy="Fixed" horizontalStretch="0" verticalPolicy="Fixed" verticalStretch="0"/>
    11                             <string locid="txt_mail_editor_to" name="plainText"/>
    12                                     <sizehint height="7.5un" type="FIXED" width="12.5un"/>
    12                             <fontspec name="fontSpec" role="Secondary" textheight="var(hb-param-text-height-secondary)"/>
    13                                     <string locid="txt_mail_editor_to" name="plainText"/>
    13                         </widget>
    14                                     <fontspec name="fontSpec" role="Secondary" textheight="var(hb-param-text-height-secondary)"/>
    14                         <widget name="editorToEdit" plugin="nmailuiwidgetsplugin" type="NmRecipientLineEdit"/>
    15                                 </widget>
    15                         <widget name="editorToButton" type="HbPushButton">
    16                                 <widget name="editorToEdit" plugin="nmailuiwidgetsplugin" type="NmRecipientLineEdit"/>
    16                             <sizepolicy horizontalPolicy="Fixed" horizontalStretch="0" verticalPolicy="Fixed" verticalStretch="0"/>
    17                                 <widget name="editorToButton" type="HbPushButton">
    17                             <sizehint height="7.5un" type="FIXED" width="9.5un"/>
    18                                     <sizepolicy horizontalPolicy="Fixed" horizontalStretch="0" verticalPolicy="Fixed" verticalStretch="0"/>
    18                         </widget>
    19                                     <sizehint height="7.5un" type="FIXED" width="9.5un"/>
    19                         <sizepolicy horizontalPolicy="Fixed" horizontalStretch="0" verticalPolicy="Preferred" verticalStretch="0"/>
    20                                 </widget>
    20                         <sizehint type="PREFERRED" width="expr(var(hb-param-screen-width) )"/>
    21                                 <layout orientation="Horizontal" spacing="var(hb-param-margin-gene-middle-horizontal)" type="linear">
    21                         <layout orientation="Horizontal" spacing="var(hb-param-margin-gene-middle-horizontal)" type="linear">
    22                                     <contentsmargins bottom="0un" left="var(hb-param-margin-gene-left)" right="var(hb-param-margin-gene-right)" top="0un"/>
    22                             <contentsmargins bottom="0un" left="var(hb-param-margin-gene-left)" right="var(hb-param-margin-gene-right)" top="0un"/>
    23                                     <linearitem itemname="editorToLabel"/>
    23                             <linearitem itemname="editorToLabel"/>
    24                                     <linearitem itemname="editorToEdit"/>
    24                             <linearitem itemname="editorToEdit"/>
    25                                     <linearitem itemname="editorToButton"/>
    25                             <linearitem itemname="editorToButton"/>
    26                                 </layout>
    26                         </layout>
    27                             </widget>
    27                     </widget>
    28                             <widget name="editorCcField" type="HbWidget">
    28                     <widget name="editorCcField" type="HbWidget">
    29                                 <widget name="editorCcLabel" type="HbLabel">
    29                         <widget name="editorCcLabel" type="HbLabel">
    30                                     <sizepolicy horizontalPolicy="Fixed" horizontalStretch="0" verticalPolicy="Fixed" verticalStretch="0"/>
    30                             <sizepolicy horizontalPolicy="Fixed" horizontalStretch="0" verticalPolicy="Fixed" verticalStretch="0"/>
    31                                     <sizehint height="7.5un" type="FIXED" width="12.5un"/>
    31                             <sizehint height="7.5un" type="FIXED" width="12.5un"/>
    32                                     <string locid="txt_mail_editor_cc" name="plainText"/>
    32                             <string locid="txt_mail_editor_cc" name="plainText"/>
    33                                     <fontspec name="fontSpec" role="Secondary" textheight="var(hb-param-text-height-secondary)"/>
    33                             <fontspec name="fontSpec" role="Secondary" textheight="var(hb-param-text-height-secondary)"/>
    34                                 </widget>
    34                         </widget>
    35                                 <widget name="editorCcEdit" plugin="nmailuiwidgetsplugin" type="NmRecipientLineEdit"/>
    35                         <widget name="editorCcEdit" plugin="nmailuiwidgetsplugin" type="NmRecipientLineEdit"/>
    36                                 <widget name="editorCcButton" type="HbPushButton">
    36                         <widget name="editorCcButton" type="HbPushButton">
    37                                     <sizepolicy horizontalPolicy="Fixed" horizontalStretch="0" verticalPolicy="Fixed" verticalStretch="0"/>
    37                             <sizepolicy horizontalPolicy="Fixed" horizontalStretch="0" verticalPolicy="Fixed" verticalStretch="0"/>
    38                                     <sizehint height="7.5un" type="FIXED" width="9.5un"/>
    38                             <sizehint height="7.5un" type="FIXED" width="9.5un"/>
    39                                 </widget>
    39                         </widget>
    40                                 <layout orientation="Horizontal" spacing="var(hb-param-margin-gene-middle-horizontal)" type="linear">
    40                         <sizepolicy horizontalPolicy="Fixed" horizontalStretch="0" verticalPolicy="Preferred" verticalStretch="0"/>
    41                                     <contentsmargins bottom="0un" left="var(hb-param-margin-gene-left)" right="var(hb-param-margin-gene-right)" top="0un"/>
    41                         <sizehint type="PREFERRED" width="expr(var(hb-param-screen-width) )"/>
    42                                     <linearitem itemname="editorCcLabel"/>
    42                         <layout orientation="Horizontal" spacing="var(hb-param-margin-gene-middle-horizontal)" type="linear">
    43                                     <linearitem itemname="editorCcEdit"/>
    43                             <contentsmargins bottom="0un" left="var(hb-param-margin-gene-left)" right="var(hb-param-margin-gene-right)" top="0un"/>
    44                                     <linearitem itemname="editorCcButton"/>
    44                             <linearitem itemname="editorCcLabel"/>
    45                                 </layout>
    45                             <linearitem itemname="editorCcEdit"/>
    46                             </widget>
    46                             <linearitem itemname="editorCcButton"/>
    47                             <widget name="editorBccField" type="HbWidget">
    47                         </layout>
    48                                 <widget name="editorBccLabel" type="HbLabel">
    48                     </widget>
    49                                     <sizepolicy horizontalPolicy="Fixed" horizontalStretch="0" verticalPolicy="Fixed" verticalStretch="0"/>
    49                     <widget name="editorBccField" type="HbWidget">
    50                                     <sizehint height="7.5un" type="FIXED" width="12.5un"/>
    50                         <widget name="editorBccLabel" type="HbLabel">
    51                                     <string locid="txt_mail_editor_bcc" name="plainText"/>
    51                             <sizepolicy horizontalPolicy="Fixed" horizontalStretch="0" verticalPolicy="Fixed" verticalStretch="0"/>
    52                                     <fontspec name="fontSpec" role="Secondary" textheight="var(hb-param-text-height-secondary)"/>
    52                             <sizehint height="7.5un" type="FIXED" width="12.5un"/>
    53                                 </widget>
    53                             <string locid="txt_mail_editor_bcc" name="plainText"/>
    54                                 <widget name="editorBccEdit" plugin="nmailuiwidgetsplugin" type="NmRecipientLineEdit"/>
    54                             <fontspec name="fontSpec" role="Secondary" textheight="var(hb-param-text-height-secondary)"/>
    55                                 <widget name="editorBccButton" type="HbPushButton">
    55                         </widget>
    56                                     <sizepolicy horizontalPolicy="Fixed" horizontalStretch="0" verticalPolicy="Fixed" verticalStretch="0"/>
    56                         <widget name="editorBccEdit" plugin="nmailuiwidgetsplugin" type="NmRecipientLineEdit"/>
    57                                     <sizehint height="7.5un" type="FIXED" width="9.5un"/>
    57                         <widget name="editorBccButton" type="HbPushButton">
    58                                 </widget>
    58                             <sizepolicy horizontalPolicy="Fixed" horizontalStretch="0" verticalPolicy="Fixed" verticalStretch="0"/>
    59                                 <layout orientation="Horizontal" spacing="var(hb-param-margin-gene-middle-horizontal)" type="linear">
    59                             <sizehint height="7.5un" type="FIXED" width="9.5un"/>
    60                                     <contentsmargins bottom="0un" left="var(hb-param-margin-gene-left)" right="var(hb-param-margin-gene-right)" top="0un"/>
    60                         </widget>
    61                                     <linearitem itemname="editorBccLabel"/>
    61                         <sizepolicy horizontalPolicy="Fixed" horizontalStretch="0" verticalPolicy="Preferred" verticalStretch="0"/>
    62                                     <linearitem itemname="editorBccEdit"/>
    62                         <sizehint type="PREFERRED" width="expr(var(hb-param-screen-width) )"/>
    63                                     <linearitem itemname="editorBccButton"/>
    63                         <layout orientation="Horizontal" spacing="var(hb-param-margin-gene-middle-horizontal)" type="linear">
    64                                 </layout>
    64                             <contentsmargins bottom="0un" left="var(hb-param-margin-gene-left)" right="var(hb-param-margin-gene-right)" top="0un"/>
    65                             </widget>
    65                             <linearitem itemname="editorBccLabel"/>
    66                             <widget name="editorSubjectField" type="HbWidget">
    66                             <linearitem itemname="editorBccEdit"/>
    67                                 <widget name="editorSubjectLabel" type="HbLabel">
    67                             <linearitem itemname="editorBccButton"/>
    68                                     <sizepolicy horizontalPolicy="Fixed" horizontalStretch="0" verticalPolicy="Fixed" verticalStretch="0"/>
    68                         </layout>
    69                                     <sizehint height="7.5un" type="FIXED" width="12.5un"/>
    69                     </widget>
    70                                     <string locid="txt_mail_editor_subject" name="plainText"/>
    70                     <widget name="editorSubjectField" type="HbWidget">
    71                                     <fontspec name="fontSpec" role="Secondary" textheight="var(hb-param-text-height-secondary)"/>
    71                         <widget name="editorSubjectLabel" type="HbLabel">
    72                                 </widget>
    72                             <sizepolicy horizontalPolicy="Fixed" horizontalStretch="0" verticalPolicy="Fixed" verticalStretch="0"/>
    73                                 <widget name="editorSubjectEdit" plugin="nmailuiwidgetsplugin" type="NmHtmlLineEdit"/>
    73                             <sizehint height="7.5un" type="FIXED" width="12.5un"/>
    74                                 <widget name="editPriorityIcon" type="HbLabel">
    74                             <string locid="txt_mail_editor_subject" name="plainText"/>
    75                                     <enums name="alignment" value="AlignVCenter|AlignHCenter"/>
    75                             <fontspec name="fontSpec" role="Secondary" textheight="var(hb-param-text-height-secondary)"/>
    76                                     <sizepolicy horizontalPolicy="Fixed" horizontalStretch="0" verticalPolicy="Fixed" verticalStretch="0"/>
    76                         </widget>
    77                                     <sizehint height="var(hb-param-graphic-size-secondary)" type="FIXED" width="var(hb-param-graphic-size-secondary)"/>
    77                         <widget name="editorSubjectEdit" plugin="nmailuiwidgetsplugin" type="NmHtmlLineEdit"/>
    78                                 </widget>
    78                         <widget name="editPriorityIcon" type="HbLabel">
    79                                 <widget name="editFollowUpIcon" type="HbLabel">
    79                             <enums name="alignment" value="AlignVCenter|AlignHCenter"/>
    80                                     <enums name="alignment" value="AlignVCenter|AlignHCenter"/>
    80                             <sizepolicy horizontalPolicy="Fixed" horizontalStretch="0" verticalPolicy="Fixed" verticalStretch="0"/>
    81                                     <sizepolicy horizontalPolicy="Fixed" horizontalStretch="0" verticalPolicy="Fixed" verticalStretch="0"/>
    81                             <sizehint height="var(hb-param-graphic-size-secondary)" type="FIXED" width="var(hb-param-graphic-size-secondary)"/>
    82                                     <sizehint height="var(hb-param-graphic-size-secondary)" type="FIXED" width="var(hb-param-graphic-size-secondary)"/>
    82                         </widget>
    83                                 </widget>
    83                         <widget name="editFollowUpIcon" type="HbLabel">
    84                                 <layout orientation="Horizontal" spacing="var(hb-param-margin-gene-middle-horizontal)" type="linear">
    84                             <enums name="alignment" value="AlignVCenter|AlignHCenter"/>
    85                                     <contentsmargins bottom="0un" left="var(hb-param-margin-gene-left)" right="var(hb-param-margin-gene-right)" top="0un"/>
    85                             <sizepolicy horizontalPolicy="Fixed" horizontalStretch="0" verticalPolicy="Fixed" verticalStretch="0"/>
    86                                     <linearitem itemname="editorSubjectLabel"/>
    86                             <sizehint height="var(hb-param-graphic-size-secondary)" type="FIXED" width="var(hb-param-graphic-size-secondary)"/>
    87                                     <linearitem itemname="editorSubjectEdit"/>
    87                         </widget>
    88                                     <linearitem itemname="editPriorityIcon" spacing="0.5un"/>
    88                         <sizepolicy horizontalPolicy="Fixed" horizontalStretch="0" verticalPolicy="Preferred" verticalStretch="0"/>
    89                                     <linearitem itemname="editFollowUpIcon"/>
    89                         <sizehint type="PREFERRED" width="expr(var(hb-param-screen-width) )"/>
    90                                 </layout>
    90                         <layout orientation="Horizontal" spacing="var(hb-param-margin-gene-middle-horizontal)" type="linear">
    91                             </widget>
    91                             <contentsmargins bottom="0un" left="var(hb-param-margin-gene-left)" right="var(hb-param-margin-gene-right)" top="0un"/>
    92                             <widget name="attachmentListWidget" plugin="nmailuiwidgetsplugin" type="NmAttachmentListWidget">
    92                             <linearitem itemname="editorSubjectLabel"/>
    93                             </widget>
    93                             <linearitem itemname="editorSubjectEdit"/>
    94                             <widget name="BodyTextEditContainer" type="HbWidget">
    94                             <linearitem itemname="editPriorityIcon" spacing="0.5un"/>
    95                                 <widget name="BodyTextEdit" plugin="nmailuiwidgetsplugin" type="NmEditorTextEdit">
    95                             <linearitem itemname="editFollowUpIcon"/>
    96                                     <sizepolicy horizontalPolicy="Expanding" horizontalStretch="0" verticalPolicy="Expanding" verticalStretch="0"/>
    96                         </layout>
    97                                     <contentsmargins bottom="0un" left="0un" right="0un" top="0un"/>
    97                     </widget>
    98                                     <fontspec name="fontSpec" role="Secondary" textheight="var(hb-param-text-height-secondary)"/>
    98                     <widget name="attachmentListWidget" plugin="nmailuiwidgetsplugin" type="NmAttachmentListWidget">
    99                                     <string name="plainText"/>
    99                         <sizepolicy horizontalPolicy="Fixed" horizontalStretch="0" verticalPolicy="Preferred" verticalStretch="0"/>
   100                                 </widget>
   100                         <sizehint type="PREFERRED" width="expr(var(hb-param-screen-width) )"/>
   101                                 <sizepolicy horizontalPolicy="Expanding" horizontalStretch="0" verticalPolicy="Expanding" verticalStretch="0"/>
   101                     </widget>
   102                                 <layout type="anchor">
   102                     <widget name="BodyTextEditContainer" type="HbWidget">
   103                                     <anchoritem dst="BodyTextEdit" dstEdge="LEFT" spacing="var(hb-param-margin-gene-left)" src="" srcEdge="LEFT"/>
   103                         <widget name="BodyTextEdit" plugin="nmailuiwidgetsplugin" type="NmEditorTextEdit">
   104                                     <anchoritem dst="BodyTextEdit" dstEdge="BOTTOM" spacing="0un" src="" srcEdge="BOTTOM"/>
   104                             <sizepolicy horizontalPolicy="Expanding" horizontalStretch="0" verticalPolicy="Expanding" verticalStretch="0"/>
   105                                     <anchoritem dst="BodyTextEdit" dstEdge="RIGHT" spacing="-var(hb-param-margin-gene-right)" src="" srcEdge="RIGHT"/>
   105                             <contentsmargins bottom="0un" left="0un" right="0un" top="0un"/>
   106                                     <anchoritem dst="BodyTextEdit" dstEdge="TOP" spacing="0un" src="" srcEdge="TOP"/>
   106                             <fontspec name="fontSpec" role="Secondary" textheight="var(hb-param-text-height-secondary)"/>
   107                                 </layout>
   107                             <string name="plainText"/>
   108                             </widget>
       
   109                             <layout orientation="Vertical" spacing="var(hb-param-margin-gene-middle-vertical)" type="linear">
       
   110                                 <!-- Widget may have different left and right margins so they are not defined here -->
       
   111                                 <contentsmargins bottom="0un" left="0un" right="0un" top="var(hb-param-margin-gene-top)"/>
       
   112                                 <linearitem itemname="editorToField"/>
       
   113                                 <linearitem itemname="editorCcField"/>
       
   114                                 <linearitem itemname="editorBccField"/>
       
   115                                 <linearitem itemname="editorSubjectField"/>
       
   116                                 <linearitem itemname="attachmentListWidget"/>
       
   117                                 <linearitem itemname="BodyTextEditContainer"/>
       
   118                             </layout>
       
   119                         </widget>
   108                         </widget>
   120                         <real name="z" value="0"/>
   109                         <real name="z" value="0"/>
   121                         <sizepolicy horizontalPolicy="Expanding" horizontalStretch="0" verticalPolicy="Expanding" verticalStretch="0"/>
   110                         <sizepolicy horizontalPolicy="Expanding" horizontalStretch="0" verticalPolicy="Expanding" verticalStretch="0"/>
   122                         <sizehint height="23.8806un" type="PREFERRED" width="23.8806un"/>
       
   123                         <contentsmargins bottom="0un" left="0un" right="0un" top="0un"/>
   111                         <contentsmargins bottom="0un" left="0un" right="0un" top="0un"/>
   124                         <layout type="anchor">
   112                         <layout type="anchor">
   125                             <anchoritem dst="containerContents" dstEdge="LEFT" spacing="0un" src="" srcEdge="LEFT"/>
   113                             <anchoritem dst="BodyTextEdit" dstEdge="LEFT" spacing="var(hb-param-margin-gene-left)" src="" srcEdge="LEFT"/>
   126                             <anchoritem dst="containerContents" dstEdge="TOP" spacing="0un" src="" srcEdge="TOP"/>
   114                             <anchoritem dst="BodyTextEdit" dstEdge="BOTTOM" spacing="0un" src="" srcEdge="BOTTOM"/>
   127                             <anchoritem dst="containerContents" dstEdge="RIGHT" spacing="0un" src="" srcEdge="RIGHT"/>
   115                             <anchoritem dst="BodyTextEdit" dstEdge="RIGHT" spacing="-var(hb-param-margin-gene-right)" src="" srcEdge="RIGHT"/>
   128                             <anchoritem dst="containerContents" dstEdge="BOTTOM" spacing="0un" src="" srcEdge="BOTTOM"/>
   116                             <anchoritem dst="BodyTextEdit" dstEdge="TOP" spacing="0un" src="" srcEdge="TOP"/>
   129                         </layout>
   117                         </layout>
   130                     </widget>
   118                     </widget>
   131                     <real name="z" value="0"/>
   119                     <real name="z" value="0"/>
   132                     <sizepolicy horizontalPolicy="Expanding" horizontalStretch="0" verticalPolicy="Fixed" verticalStretch="0"/>
   120                     <sizepolicy horizontalPolicy="Expanding" horizontalStretch="0" verticalPolicy="Preferred" verticalStretch="0"/>
   133                     <sizehint height="88un" type="PREFERRED" width="54un"/>
   121                     <layout orientation="Vertical" spacing="var(hb-param-margin-gene-middle-vertical)" type="linear">
   134                     <layout type="anchor">
   122                         <contentsmargins bottom="0un" left="0un" right="0un" top="var(hb-param-margin-gene-top)"/>
   135                         <anchoritem dst="container" dstEdge="LEFT" spacing="0un" src="" srcEdge="LEFT"/>
   123                         <linearitem itemname="editorToField"/>
   136                         <anchoritem dst="container" dstEdge="TOP" spacing="0un" src="" srcEdge="TOP"/>
   124                         <linearitem itemname="editorCcField"/>
   137                         <anchoritem dst="container" dstEdge="RIGHT" spacing="0un" src="" srcEdge="RIGHT"/>
   125                         <linearitem itemname="editorBccField"/>
   138                         <anchoritem dst="container" dstEdge="BOTTOM" spacing="0un" src="" srcEdge="BOTTOM"/>
   126                         <linearitem itemname="editorSubjectField"/>
       
   127                         <linearitem itemname="attachmentListWidget"/>
       
   128                         <linearitem itemname="BodyTextEditContainer"/>
   139                     </layout>
   129                     </layout>
   140                 </widget>
   130                 </widget>
   141             </widget>
   131             </widget>
   142             <layout type="anchor">
   132             <layout type="anchor">
   143                 <anchoritem dst="scrollArea" dstEdge="LEFT" spacing="0un" src="" srcEdge="LEFT"/>
   133                 <anchoritem dst="scrollArea" dstEdge="LEFT" spacing="0un" src="" srcEdge="LEFT"/>