hswidgetplugin/fmradiohswidgetplugin/resource/fmradiohswidget.docml
changeset 32 189d20c34778
parent 28 075425b8d9a4
child 33 11b6825f0862
equal deleted inserted replaced
28:075425b8d9a4 32:189d20c34778
     1 <?xml version="1.0" encoding="UTF-8"?>
       
     2 <hbdocument version="1.0">
       
     3     <widget name="mainLayout" type="HbWidget">
       
     4         <widget name="controlButtons" type="HbWidget">
       
     5             <widget name="powerToggleButton" type="HbPushButton">
       
     6                 <bool name="checkable" value="TRUE"/>
       
     7                 <string name="text"/>
       
     8             </widget>
       
     9             <widget name="previousPushButton" type="HbPushButton">
       
    10                 <icon iconName="qtg_mono_previous" name="icon"/>
       
    11                 <string name="text"/>
       
    12             </widget>
       
    13             <widget name="nextPushButton" type="HbPushButton">
       
    14                 <icon iconName="qtg_mono_next" name="icon"/>
       
    15                 <string name="text"/>
       
    16             </widget>
       
    17             <real name="z" value="0"/>
       
    18             <sizepolicy horizontalPolicy="Preferred" horizontalStretch="0" verticalPolicy="Preferred" verticalStretch="0"/>
       
    19             <sizehint height="8un" type="PREFERRED" width="32un"/>
       
    20             <sizehint height="8un" type="MINIMUM" width="32un"/>
       
    21             <layout orientation="Horizontal" spacing="0un" type="linear">
       
    22                 <contentsmargins bottom="0un" left="0un" right="0un" top="0un"/>
       
    23                 <linearitem itemname="powerToggleButton"/>
       
    24                 <linearitem itemname="previousPushButton"/>
       
    25                 <linearitem itemname="nextPushButton"/>
       
    26             </layout>
       
    27         </widget>
       
    28         <widget name="tunerStackedLayout" type="HbWidget">
       
    29             <widget name="tunerInformationStackedLayout" type="HbWidget">
       
    30                 <widget name="lonelyRowLabel" type="HbLabel">
       
    31                     <enums name="alignment" value="AlignVCenter|AlignHCenter"/>
       
    32                     <sizehint type="PREFERRED" width="expr(32un - 2 * var(hb-param-margin-gene-middle-horizontal) )"/>
       
    33                     <string name="plainText"/>
       
    34                     <fontspec name="fontSpec" role="Primary" textheight="var(hb-param-text-height-tiny)"/>
       
    35                 </widget>
       
    36                 <widget name="twoRowsLayout" type="HbWidget">
       
    37                     <widget name="firstRowLabel" type="HbLabel">
       
    38                         <enums name="alignment" value="AlignVCenter|AlignHCenter"/>
       
    39                         <real name="z" value="1"/>
       
    40                         <sizehint type="PREFERRED" width="expr(32un - 2 * var(hb-param-margin-gene-middle-horizontal) )"/>
       
    41                         <string name="plainText"/>
       
    42                         <fontspec name="fontSpec" role="Primary" textheight="var(hb-param-text-height-tiny)"/>
       
    43                     </widget>
       
    44                     <widget name="secondRowLabel" type="HbLabel">
       
    45                         <enums name="alignment" value="AlignVCenter|AlignHCenter"/>
       
    46                         <real name="z" value="2"/>
       
    47                         <sizehint type="PREFERRED" width="expr(32un - 2 * var(hb-param-margin-gene-middle-horizontal) )"/>
       
    48                         <string name="plainText"/>
       
    49                         <fontspec name="fontSpec" role="Primary" textheight="var(hb-param-text-height-tiny)"/>
       
    50                     </widget>
       
    51                     <real name="z" value="3"/>
       
    52                     <sizehint height="expr(10un - 2 * 1.5un  )" type="PREFERRED" width="expr(32un - 2 * var(hb-param-margin-gene-middle-horizontal) )"/>
       
    53                     <layout orientation="Vertical" spacing="var(hb-param-margin-gene-middle-vertical)" type="linear">
       
    54                         <contentsmargins bottom="0un" left="0un" right="0un" top="0un"/>
       
    55                         <linearitem itemname="firstRowLabel"/>
       
    56                         <linearitem itemname="secondRowLabel"/>
       
    57                     </layout>
       
    58                 </widget>
       
    59                 <widget name="animationIcon" type="HbLabel">
       
    60                     <enums name="alignment" value="AlignVCenter|AlignHCenter"/>
       
    61                     <icon iconName="qtg_anim_loading_1" name="icon"/>
       
    62                     <sizehint height="var(hb-param-graphic-size-primary-medium)" type="PREFERRED" width="var(hb-param-graphic-size-primary-medium)"/>
       
    63                 </widget>
       
    64                 <real name="z" value="1"/>
       
    65                 <sizepolicy horizontalPolicy="Preferred" horizontalStretch="0" verticalPolicy="Preferred" verticalStretch="0"/>
       
    66                 <sizehint height="7un" type="PREFERRED" width="30.5un"/>
       
    67                 <sizehint height="expr(10un - 2 * 1.5un)" type="MINIMUM" width="expr(32un - 4   * var(hb-param-margin-gene-middle-horizontal))"/>
       
    68                 <contentsmargins bottom="1.5un" left="var(hb-param-margin-gene-middle-horizontal)" right="var(hb-param-margin-gene-middle-horizontal)" top="1.5un"/>
       
    69                 <sizehint height="2504062.01158un" type="MAXIMUM" width="2504062.01158un"/>
       
    70                 <layout type="stacked">
       
    71                     <stackitem itemname="lonelyRowLabel"/>
       
    72                     <stackitem itemname="twoRowsLayout"/>
       
    73                     <stackitem itemname="animationIcon"/>
       
    74                 </layout>
       
    75             </widget>
       
    76             <widget name="tunerBackgroundPushButton" type="HbPushButton">
       
    77                 <sizehint height="10un" type="PREFERRED" width="32un"/>
       
    78                 <sizehint type="MINIMUM" width="32un"/>
       
    79                 <string name="text"/>
       
    80                 <string name="state" value="normal"/>
       
    81             </widget>
       
    82             <real name="z" value="0"/>
       
    83             <sizehint height="10un" type="PREFERRED" width="32un"/>
       
    84             <sizehint height="10un" type="MINIMUM" width="32un"/>
       
    85             <contentsmargins bottom="0un" left="0un" right="0un" top="0un"/>
       
    86             <layout type="stacked">
       
    87                 <stackitem itemname="tunerInformationStackedLayout"/>
       
    88                 <stackitem itemname="tunerBackgroundPushButton"/>
       
    89             </layout>
       
    90         </widget>
       
    91         <sizepolicy horizontalPolicy="Fixed" horizontalStretch="0" verticalPolicy="Fixed" verticalStretch="0"/>
       
    92         <sizehint height="26.5un" type="FIXED" width="37un"/>
       
    93         <sizehint height="26.5un" type="MINIMUM"/>
       
    94         <sizehint height="26.5un" type="MAXIMUM" width="37un"/>
       
    95         <layout orientation="Vertical" spacing="0un" type="linear">
       
    96             <contentsmargins bottom="2un" left="2.5un" right="2.5un" top="5.5un"/>
       
    97             <linearitem itemname="tunerStackedLayout" spacing="var(hb-param-margin-gene-middle-vertical)"/>
       
    98             <linearitem itemname="controlButtons" spacing="0un"/>
       
    99         </layout>
       
   100     </widget>
       
   101     <metadata activeUIState="Common ui state" display="NHD landscape" unit="un">
       
   102         <uistate name="Common ui state" sections="#common"/>
       
   103     </metadata>
       
   104 </hbdocument>