emailuis/nmailui/conf/nmeditorview.docml
changeset 44 c2d07d913565
parent 43 99bcbff212ad
child 47 f83bd4ae1fe3
child 54 997a02608b3a
equal deleted inserted replaced
43:99bcbff212ad 44:c2d07d913565
    17                                 <widget name="editorToButton" type="HbPushButton">
    17                                 <widget name="editorToButton" type="HbPushButton">
    18                                     <sizepolicy horizontalPolicy="Fixed" horizontalStretch="0" verticalPolicy="Fixed" verticalStretch="0"/>
    18                                     <sizepolicy horizontalPolicy="Fixed" horizontalStretch="0" verticalPolicy="Fixed" verticalStretch="0"/>
    19                                     <sizehint height="7.46un" type="FIXED" width="9.5un"/>
    19                                     <sizehint height="7.46un" type="FIXED" width="9.5un"/>
    20                                 </widget>
    20                                 </widget>
    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="0un" right="0un" 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>
    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.46un" type="FIXED" width="9.5un"/>
    38                                     <sizehint height="7.46un" type="FIXED" width="9.5un"/>
    39                                 </widget>
    39                                 </widget>
    40                                 <layout orientation="Horizontal" spacing="var(hb-param-margin-gene-middle-horizontal)" type="linear">
    40                                 <layout orientation="Horizontal" spacing="var(hb-param-margin-gene-middle-horizontal)" type="linear">
    41                                     <contentsmargins bottom="0un" left="0un" right="0un" top="0un"/>
    41                                     <contentsmargins bottom="0un" left="var(hb-param-margin-gene-left)" right="var(hb-param-margin-gene-right)" top="0un"/>
    42                                     <linearitem itemname="editorCcLabel"/>
    42                                     <linearitem itemname="editorCcLabel"/>
    43                                     <linearitem itemname="editorCcEdit"/>
    43                                     <linearitem itemname="editorCcEdit"/>
    44                                     <linearitem itemname="editorCcButton"/>
    44                                     <linearitem itemname="editorCcButton"/>
    45                                 </layout>
    45                                 </layout>
    46                             </widget>
    46                             </widget>
    55                                 <widget name="editorBccButton" type="HbPushButton">
    55                                 <widget name="editorBccButton" type="HbPushButton">
    56                                     <sizepolicy horizontalPolicy="Fixed" horizontalStretch="0" verticalPolicy="Fixed" verticalStretch="0"/>
    56                                     <sizepolicy horizontalPolicy="Fixed" horizontalStretch="0" verticalPolicy="Fixed" verticalStretch="0"/>
    57                                     <sizehint height="7.46un" type="FIXED" width="9.5un"/>
    57                                     <sizehint height="7.46un" type="FIXED" width="9.5un"/>
    58                                 </widget>
    58                                 </widget>
    59                                 <layout orientation="Horizontal" spacing="var(hb-param-margin-gene-middle-horizontal)" type="linear">
    59                                 <layout orientation="Horizontal" spacing="var(hb-param-margin-gene-middle-horizontal)" type="linear">
    60                                     <contentsmargins bottom="0un" left="0un" right="0un" top="0un"/>
    60                                     <contentsmargins bottom="0un" left="var(hb-param-margin-gene-left)" right="var(hb-param-margin-gene-right)" top="0un"/>
    61                                     <linearitem itemname="editorBccLabel"/>
    61                                     <linearitem itemname="editorBccLabel"/>
    62                                     <linearitem itemname="editorBccEdit"/>
    62                                     <linearitem itemname="editorBccEdit"/>
    63                                     <linearitem itemname="editorBccButton"/>
    63                                     <linearitem itemname="editorBccButton"/>
    64                                 </layout>
    64                                 </layout>
    65                             </widget>
    65                             </widget>
    68                                     <sizepolicy horizontalPolicy="Fixed" horizontalStretch="0" verticalPolicy="Fixed" verticalStretch="0"/>
    68                                     <sizepolicy horizontalPolicy="Fixed" horizontalStretch="0" verticalPolicy="Fixed" verticalStretch="0"/>
    69                                     <sizehint height="7.46un" type="FIXED" width="12.5un"/>
    69                                     <sizehint height="7.46un" type="FIXED" width="12.5un"/>
    70                                     <string locid="txt_mail_editor_subject" name="plainText"/>
    70                                     <string locid="txt_mail_editor_subject" name="plainText"/>
    71                                     <fontspec name="fontSpec" role="Secondary" textheight="var(hb-param-text-height-secondary)"/>
    71                                     <fontspec name="fontSpec" role="Secondary" textheight="var(hb-param-text-height-secondary)"/>
    72                                 </widget>
    72                                 </widget>
    73                                 <widget name="editorSubjectEdit" plugin="nmailuiwidgetsplugin" type="NmRecipientLineEdit"/>
    73                                 <widget name="editorSubjectEdit" plugin="nmailuiwidgetsplugin" type="NmHtmlLineEdit"/>
    74                                 <widget name="editPriorityIcon" type="HbLabel">
    74                                 <widget name="editPriorityIcon" type="HbLabel">
    75                                     <enums name="alignment" value="AlignVCenter|AlignHCenter"/>
    75                                     <enums name="alignment" value="AlignVCenter|AlignHCenter"/>
    76                                     <sizepolicy horizontalPolicy="Fixed" horizontalStretch="0" verticalPolicy="Fixed" verticalStretch="0"/>
    76                                     <sizepolicy horizontalPolicy="Fixed" horizontalStretch="0" verticalPolicy="Fixed" verticalStretch="0"/>
    77                                     <sizehint height="var(hb-param-graphic-size-secondary)" type="FIXED" width="var(hb-param-graphic-size-secondary)"/>
    77                                     <sizehint height="var(hb-param-graphic-size-secondary)" type="FIXED" width="var(hb-param-graphic-size-secondary)"/>
    78                                 </widget>
    78                                 </widget>
    80                                     <enums name="alignment" value="AlignVCenter|AlignHCenter"/>
    80                                     <enums name="alignment" value="AlignVCenter|AlignHCenter"/>
    81                                     <sizepolicy horizontalPolicy="Fixed" horizontalStretch="0" verticalPolicy="Fixed" verticalStretch="0"/>
    81                                     <sizepolicy horizontalPolicy="Fixed" horizontalStretch="0" verticalPolicy="Fixed" verticalStretch="0"/>
    82                                     <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)"/>
    83                                 </widget>
    83                                 </widget>
    84                                 <layout orientation="Horizontal" spacing="var(hb-param-margin-gene-middle-horizontal)" type="linear">
    84                                 <layout orientation="Horizontal" spacing="var(hb-param-margin-gene-middle-horizontal)" type="linear">
    85                                     <contentsmargins bottom="0un" left="0un" right="0un" top="0un"/>
    85                                     <contentsmargins bottom="0un" left="var(hb-param-margin-gene-left)" right="var(hb-param-margin-gene-right)" top="0un"/>
    86                                     <linearitem itemname="editorSubjectLabel"/>
    86                                     <linearitem itemname="editorSubjectLabel"/>
    87                                     <linearitem itemname="editorSubjectEdit"/>
    87                                     <linearitem itemname="editorSubjectEdit"/>
    88                                     <linearitem itemname="editPriorityIcon" spacing="0.5un"/>
    88                                     <linearitem itemname="editPriorityIcon" spacing="0.5un"/>
    89                                     <linearitem itemname="editFollowUpIcon"/>
    89                                     <linearitem itemname="editFollowUpIcon"/>
    90                                 </layout>
    90                                 </layout>
    91                             </widget>
    91                             </widget>
    92                             <widget name="attachmentListWidget" plugin="nmailuiwidgetsplugin" type="NmAttachmentListWidget">
    92                             <widget name="attachmentListWidget" plugin="nmailuiwidgetsplugin" type="NmAttachmentListWidget">
    93                                 <contentsmargins bottom="0un" left="0un" right="0un" top="0un"/>
       
    94                             </widget>
    93                             </widget>
    95                             <widget name="BodyTextEdit" plugin="nmailuiwidgetsplugin" type="NmEditorTextEdit">
    94                             <widget name="BodyTextEditContainer" type="HbWidget">
       
    95                                 <widget name="BodyTextEdit" plugin="nmailuiwidgetsplugin" type="NmEditorTextEdit">
       
    96                                     <sizepolicy horizontalPolicy="Expanding" horizontalStretch="0" verticalPolicy="Expanding" verticalStretch="0"/>
       
    97                                     <contentsmargins bottom="0un" left="0un" right="0un" top="0un"/>
       
    98                                     <fontspec name="fontSpec" role="Secondary" textheight="var(hb-param-text-height-secondary)"/>
       
    99                                     <string name="plainText"/>
       
   100                                 </widget>
    96                                 <sizepolicy horizontalPolicy="Expanding" horizontalStretch="0" verticalPolicy="Expanding" verticalStretch="0"/>
   101                                 <sizepolicy horizontalPolicy="Expanding" horizontalStretch="0" verticalPolicy="Expanding" verticalStretch="0"/>
    97                                 <contentsmargins bottom="0un" left="0un" right="0un" top="0un"/>
   102                                 <layout type="anchor">
    98                                 <fontspec name="fontSpec" role="Secondary" textheight="var(hb-param-text-height-secondary)"/>
   103                                     <anchoritem dst="BodyTextEdit" dstEdge="LEFT" spacing="var(hb-param-margin-gene-left)" src="" srcEdge="LEFT"/>
    99                                 <string name="plainText"/>
   104                                     <anchoritem dst="BodyTextEdit" dstEdge="BOTTOM" spacing="0un" src="" srcEdge="BOTTOM"/>
       
   105                                     <anchoritem dst="BodyTextEdit" dstEdge="RIGHT" spacing="-var(hb-param-margin-gene-right)" src="" srcEdge="RIGHT"/>
       
   106                                     <anchoritem dst="BodyTextEdit" dstEdge="TOP" spacing="0un" src="" srcEdge="TOP"/>
       
   107                                 </layout>
   100                             </widget>
   108                             </widget>
   101                             <layout orientation="Vertical" spacing="var(hb-param-margin-gene-middle-vertical)" type="linear">
   109                             <layout orientation="Vertical" spacing="var(hb-param-margin-gene-middle-vertical)" type="linear">
   102                                 <contentsmargins bottom="0un" left="var(hb-param-margin-gene-left)" right="var(hb-param-margin-gene-right)" top="var(hb-param-margin-gene-top)"/>
   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)"/>
   103                                 <linearitem itemname="editorToField"/>
   112                                 <linearitem itemname="editorToField"/>
   104                                 <linearitem itemname="editorCcField"/>
   113                                 <linearitem itemname="editorCcField"/>
   105                                 <linearitem itemname="editorBccField"/>
   114                                 <linearitem itemname="editorBccField"/>
   106                                 <linearitem itemname="editorSubjectField"/>
   115                                 <linearitem itemname="editorSubjectField"/>
   107                                 <linearitem itemname="attachmentListWidget"/>
   116                                 <linearitem itemname="attachmentListWidget"/>
   108                                 <linearitem itemname="BodyTextEdit"/>
   117                                 <linearitem itemname="BodyTextEditContainer"/>
   109                             </layout>
   118                             </layout>
   110                         </widget>
   119                         </widget>
   111                         <real name="z" value="0"/>
   120                         <real name="z" value="0"/>
   112                         <sizepolicy horizontalPolicy="Expanding" horizontalStretch="0" verticalPolicy="Expanding" verticalStretch="0"/>
   121                         <sizepolicy horizontalPolicy="Expanding" horizontalStretch="0" verticalPolicy="Expanding" verticalStretch="0"/>
   113                         <sizehint height="23.8806un" type="PREFERRED" width="23.8806un"/>
   122                         <sizehint height="23.8806un" type="PREFERRED" width="23.8806un"/>