qtinternetradio/irhswidgetplugin/resource/irhswidgettitlerow.docml
changeset 12 608f67c22514
equal deleted inserted replaced
11:f683e24efca3 12:608f67c22514
       
     1 <?xml version="1.0" encoding="UTF-8"?>
       
     2 <hbdocument version="1.1">
       
     3     <widget name="titlerow_layout" type="HbWidget">
       
     4         <widget name="station_logo_layout" type="HbWidget">
       
     5             <widget name="station_logo" type="HbLabel">
       
     6                 <enums name="alignment" value="AlignVCenter|AlignHCenter"/>
       
     7                 <icon iconName="qtg_large_internet_radio" name="icon"/>
       
     8                 <sizepolicy horizontalPolicy="Fixed" horizontalStretch="0" verticalPolicy="Fixed" verticalStretch="0"/>
       
     9                 <sizehint height="11un" type="FIXED" width="11un"/>
       
    10                 <sizehint height="11un" type="MINIMUM" width="11un"/>
       
    11                 <contentsmargins bottom="0un" left="0un" right="0un" top="0un"/>
       
    12                 <sizehint height="11un" type="MAXIMUM" width="11un"/>
       
    13             </widget>
       
    14             <layout orientation="Vertical" spacing="0un" type="linear">
       
    15                 <contentsmargins bottom="expr(var(hb-param-margin-gene-middle-vertical))" left="expr(var(hb-param-margin-gene-middle-horizontal))" right="expr(var(hb-param-margin-gene-middle-horizontal))" top="expr(var(hb-param-margin-gene-middle-vertical))"/>
       
    16                 <stretchitem stretchfactor="1"/>
       
    17                 <linearitem itemname="station_logo"/>
       
    18                 <stretchitem stretchfactor="1"/>
       
    19             </layout>
       
    20         </widget>
       
    21         <widget name="upper_side_text_layout" type="HbWidget">
       
    22             <widget name="station_name" type="HbLabel">
       
    23                 <enums name="alignment" value="AlignLeft|AlignVCenter|AlignLeading"/>
       
    24                 <sizepolicy horizontalPolicy="Preferred" horizontalStretch="0" verticalPolicy="Fixed" verticalStretch="0"/>
       
    25                 <sizehint height="expr(var(hb-param-text-height-secondary))" type="PREFERRED"/>
       
    26                 <sizehint height="expr(var(hb-param-text-height-secondary))" type="MINIMUM"/>
       
    27                 <sizehint height="expr(var(hb-param-text-height-secondary))" type="MAXIMUM"/>
       
    28                 <contentsmargins bottom="0un" left="0un" right="0un" top="0un"/>
       
    29                 <fontspec name="fontSpec" role="Primary" textheight="expr(var(hb-param-text-height-secondary))"/>
       
    30             </widget>
       
    31             <sizepolicy horizontalPolicy="Preferred" horizontalStretch="0" verticalPolicy="Preferred" verticalStretch="0"/>
       
    32             <layout orientation="Vertical" spacing="0un" type="linear">
       
    33                 <contentsmargins bottom="expr(var(hb-param-margin-gene-middle-vertical))" left="0un" right="expr(var(hb-param-margin-gene-middle-horizontal))" top="expr(var(hb-param-margin-gene-middle-vertical))"/>
       
    34                 <stretchitem stretchfactor="1"/>
       
    35                 <linearitem itemname="station_name"/>
       
    36                 <stretchitem stretchfactor="1"/>
       
    37             </layout>
       
    38         </widget>
       
    39         <sizepolicy horizontalPolicy="Fixed" horizontalStretch="0" verticalPolicy="Fixed" verticalStretch="0"/>
       
    40         <sizehint height="expr(11un+var(hb-param-margin-gene-middle-vertical)*2)" type="FIXED" width="46un"/>
       
    41         <sizehint height="expr(11un+var(hb-param-margin-gene-middle-vertical)*2)" type="MINIMUM" width="46un"/>
       
    42         <contentsmargins bottom="0un" left="0un" right="0un" top="0un"/>
       
    43         <sizehint height="expr(11un+var(hb-param-margin-gene-middle-vertical)*2)" type="MAXIMUM" width="46un"/>
       
    44         <layout orientation="Horizontal" spacing="0un" type="linear">
       
    45             <contentsmargins bottom="0un" left="0un" right="0un" top="0un"/>
       
    46             <linearitem itemname="station_logo_layout"/>
       
    47             <linearitem itemname="upper_side_text_layout"/>
       
    48         </layout>
       
    49     </widget>
       
    50     <metadata activeUIState="Common ui state" display="NHD-3.2-inch_portrait" unit="un">
       
    51         <uistate name="Common ui state" sections="#common"/>
       
    52     </metadata>
       
    53 </hbdocument>