qtinternetradio/ui/resources/layout/termsconsview.docml
changeset 5 0930554dc389
parent 3 ee64f059b8e1
child 11 f683e24efca3
equal deleted inserted replaced
3:ee64f059b8e1 5:0930554dc389
     1 <?xml version="1.0" encoding="UTF-8"?>
     1 <?xml version="1.0" encoding="UTF-8"?>
     2 <hbdocument version="1.0">
     2 <hbdocument version="1.0">
     3     <widget name="ext-IRTermsConsView" type="HbView">
     3     <widget name="ext-IRTermsConsView" type="HbView">
     4         <widget name="content" role="HbView:widget" type="HbWidget">
     4         <widget name="container" role="HbView:widget" type="HbWidget">
     5             <widget name="accept_btn" type="HbPushButton">
     5             <widget name="heading_text" type="HbGroupBox">
     6                 <string name="text" value="Accept"/>
     6                 <sizepolicy horizontalPolicy="Expanding" horizontalStretch="0" verticalPolicy="Fixed" verticalStretch="0"/>
       
     7                 <sizehint height="expr((var(hb-param-text-height-secondary)+2*var(hb-param-margin-gene-middle-vertical)))" type="PREFERRED"/>
       
     8                 <bool name="collapsable" value="FALSE"/>
       
     9                 <string locid="txt_irad_terms_and_conditions" name="heading"/>
       
    10                 <fontspec name="fontSpec" role="Secondary" textheight="var(hb-param-text-height-secondary)"/>
     7             </widget>
    11             </widget>
     8             <widget name="deny_btn" type="HbPushButton">
    12             <widget name="text_edit" type="HbTextEdit">
     9                 <string name="text" value="Deny"/>
    13                 <bool name="readOnly" value="TRUE"/>
       
    14                 <string locid="txt_irad_terms_content" name="plainText"/>
       
    15                 <enums name="cursorVisibility" value="TextCursorHidden"/>
       
    16                 <enums name="contextMenuFlags" value="ShowTextContextMenuOnSelectionClicked"/>
    10             </widget>
    17             </widget>
    11             <layout orientation="Vertical" type="linear">
    18             <widget name="btn_container" type="HbWidget">
    12                 <stretchitem stretchfactor="1"/>
    19                 <widget name="accept_btn" type="HbPushButton">
    13                 <linearitem itemname="accept_btn"/>
    20                     <sizehint height="6un" type="PREFERRED" width="40un"/>
    14                 <linearitem itemname="deny_btn"/>
    21                     <string locid="txt_irad_accept" name="text"/>
    15                 <stretchitem stretchfactor="1"/>
    22                 </widget>
       
    23                 <widget name="decline_btn" type="HbPushButton">
       
    24                     <sizehint height="6un" type="PREFERRED" width="40un"/>
       
    25                     <string locid="txt_irad_decline" name="text"/>
       
    26                 </widget>
       
    27                 <layout orientation="Vertical" type="linear">
       
    28                     <linearitem itemname="accept_btn"/>
       
    29                     <linearitem itemname="decline_btn"/>
       
    30                 </layout>
       
    31             </widget>
       
    32             <layout orientation="Vertical" spacing="0un" type="linear">
       
    33                 <contentsmargins bottom="0un" left="0un" right="0un" top="0un"/>
       
    34                 <linearitem itemname="heading_text"/>
       
    35                 <linearitem itemname="text_edit"/>
       
    36                 <linearitem itemname="btn_container"/>
    16             </layout>
    37             </layout>
    17         </widget>
    38         </widget>
    18         <string locid="txt_irad_title_internet_radio" name="title"/>
    39         <string locid="txt_irad_title_internet_radio" name="title"/>
    19     </widget>
    40     </widget>
       
    41     <section name="prt_section">
       
    42         <widget name="container" role="HbView:widget" type="HbWidget">
       
    43             <widget name="btn_container" type="HbWidget">
       
    44                 <sizepolicy horizontalPolicy="Preferred" horizontalStretch="0" verticalPolicy="Fixed" verticalStretch="0"/>
       
    45                 <sizehint height="20un" type="PREFERRED"/>
       
    46                 <layout type="anchor">
       
    47                     <anchoritem dst="decline_btn" dstEdge="LEFT" spacing="var(hb-param-margin-gene-screen)" src="" srcEdge="LEFT"/>
       
    48                     <anchoritem dst="decline_btn" dstEdge="RIGHT" spacing="-var(hb-param-margin-gene-screen)" src="" srcEdge="RIGHT"/>
       
    49                     <anchoritem dst="decline_btn" dstEdge="BOTTOM" spacing="-3un" src="" srcEdge="BOTTOM"/>
       
    50                     <anchoritem dst="accept_btn" dstEdge="LEFT" spacing="var(hb-param-margin-gene-screen)" src="" srcEdge="LEFT"/>
       
    51                     <anchoritem dst="accept_btn" dstEdge="TOP" spacing="3un" src="" srcEdge="TOP"/>
       
    52                     <anchoritem dst="accept_btn" dstEdge="RIGHT" spacing="-var(hb-param-margin-gene-screen)" src="" srcEdge="RIGHT"/>
       
    53                 </layout>
       
    54             </widget>
       
    55         </widget>
       
    56     </section>
       
    57     <section name="lsc_section">
       
    58         <widget name="container" role="HbView:widget" type="HbWidget">
       
    59             <widget name="btn_container" type="HbWidget">
       
    60                 <sizepolicy horizontalPolicy="Preferred" horizontalStretch="0" verticalPolicy="Fixed" verticalStretch="0"/>
       
    61                 <sizehint height="10un" type="PREFERRED"/>
       
    62                 <layout type="anchor">
       
    63                     <anchoritem dst="accept_btn" dstEdge="LEFT" spacing="5un" src="" srcEdge="LEFT"/>
       
    64                     <anchoritem dst="accept_btn" dstEdge="CENTERV" spacing="0un" src="" srcEdge="CENTERV"/>
       
    65                     <anchoritem dst="decline_btn" dstEdge="RIGHT" spacing="-5un" src="" srcEdge="RIGHT"/>
       
    66                     <anchoritem dst="decline_btn" dstEdge="CENTERV" spacing="0un" src="" srcEdge="CENTERV"/>
       
    67                 </layout>
       
    68             </widget>
       
    69         </widget>
       
    70     </section>
    20     <metadata activeUIState="Common ui state" display="NHD portrait" unit="un">
    71     <metadata activeUIState="Common ui state" display="NHD portrait" unit="un">
    21         <uistate name="Common ui state" sections="#common"/>
    72         <uistate name="Common ui state" sections="#common"/>
       
    73         <uistate name="prt_state" sections="#common prt_section"/>
       
    74         <uistate name="lsc_state" sections="#common lsc_section"/>
    22     </metadata>
    75     </metadata>
    23 </hbdocument>
    76 </hbdocument>