qtinternetradio/ui/resources/layout/openwebaddressview.docml
changeset 1 c15f09cdeab3
child 4 3f2d53f144fe
equal deleted inserted replaced
0:09774dfdd46b 1:c15f09cdeab3
       
     1 <?xml version="1.0" encoding="UTF-8"?>
       
     2 <hbdocument context="IROpenWebAddressView" version="0.9">
       
     3     <widget name="ex-IRQOpenWebAddressView" type="HbView">
       
     4         <widget name="container" role="HbView:widget" type="HbWidget">
       
     5             <widget name="label1" type="HbLabel">
       
     6                 <string name="plainText" value="Station URL:"/>
       
     7             </widget>
       
     8             <widget name="streamURL" type="HbLineEdit"/>
       
     9             <widget name="label2" type="HbLabel">
       
    10                 <string name="plainText" value="Name:"/>
       
    11             </widget>
       
    12             <widget name="stationName" type="IrLineEditor"/>
       
    13             <widget name="label3" type="HbLabel">
       
    14                 <string name="plainText" value="Description:"/>
       
    15             </widget>
       
    16             <widget name="description" type="HbLineEdit"/>
       
    17             <widget name="actionContainer" type="HbWidget">
       
    18                 <widget name="playButton" type="HbPushButton">
       
    19                     <bool name="checkable" value="FALSE"/>
       
    20                     <icon iconName="qtg_mono_play" name="icon"/>
       
    21                     <sizehint height="10.5un" type="PREFERRED" width="22un"/>
       
    22                     <string locid="Play" name="toolTipText"/>
       
    23                     <sizehint height="7.5un" type="MINIMUM" width="18un"/>
       
    24                     <string name="state" value="normal"/>
       
    25                 </widget>
       
    26                 <widget name="add2FavButton" type="HbPushButton">
       
    27                     <bool name="checkable" value="FALSE"/>
       
    28                     <icon iconName="qtg_mono_favourites_add" name="icon"/>
       
    29                     <sizehint height="10.5un" type="PREFERRED" width="22un"/>
       
    30                     <string locid="Add to Fav" name="toolTipText"/>
       
    31                     <sizehint height="7.5un" type="MINIMUM" width="18un"/>
       
    32                     <string name="state" value="normal"/>
       
    33                 </widget>
       
    34             </widget>
       
    35             <contentsmargins bottom="0un" left="0un" right="0un" top="0un"/>
       
    36         </widget>
       
    37         <string locid="txt_irad_title_internet_radio" name="title"/>
       
    38     </widget>
       
    39     <section name="portrait">
       
    40         <widget name="container" role="HbView:widget" type="HbWidget">
       
    41             <layout orientation="Vertical" type="linear">
       
    42                 <linearitem itemname="label1"/>
       
    43                 <linearitem itemname="streamURL"/>
       
    44                 <linearitem itemname="label2"/>
       
    45                 <linearitem itemname="stationName"/>
       
    46                 <linearitem itemname="label3"/>
       
    47                 <linearitem itemname="description"/>
       
    48                 <stretchitem stretchfactor="1"/>
       
    49                 <linearitem itemname="actionContainer"/>
       
    50                 <stretchitem stretchfactor="1"/>
       
    51             </layout>
       
    52         </widget>
       
    53         <widget name="actionContainer" type="HbWidget">
       
    54             <layout orientation="Horizontal" type="linear">
       
    55                 <stretchitem stretchfactor="1"/>
       
    56                 <linearitem itemname="playButton"/>
       
    57                 <linearitem itemname="add2FavButton"/>
       
    58                 <stretchitem stretchfactor="1"/>
       
    59             </layout>
       
    60         </widget>
       
    61     </section>
       
    62     <section name="landscape">
       
    63         <widget name="actionContainer" type="HbWidget">
       
    64             <layout orientation="Vertical" type="linear">
       
    65                 <stretchitem stretchfactor="1"/>
       
    66                 <linearitem itemname="playButton"/>
       
    67                 <linearitem itemname="add2FavButton"/>
       
    68                 <stretchitem stretchfactor="1"/>
       
    69             </layout>
       
    70         </widget>
       
    71         <widget name="container" role="HbView:widget" type="HbWidget">
       
    72             <layout type="grid">
       
    73                 <griditem column="0" itemname="label1" row="0"/>
       
    74                 <griditem column="0" itemname="streamURL" row="1"/>
       
    75                 <griditem column="0" itemname="label2" row="2"/>
       
    76                 <griditem column="0" itemname="stationName" row="3"/>
       
    77                 <griditem column="0" itemname="label3" row="4"/>
       
    78                 <griditem column="0" itemname="description" row="5"/>
       
    79                 <griditem column="1" itemname="actionContainer" row="0" row_span="6"/>
       
    80             </layout>
       
    81         </widget>
       
    82     </section>
       
    83     <metadata activeUIState="portrait" display="NHD portrait" unit="un">
       
    84         <uistate name="Common ui state" sections="#common"/>
       
    85         <uistate name="portrait" sections="#common portrait"/>
       
    86         <uistate name="landscape" sections="#common landscape"/>
       
    87     </metadata>
       
    88 </hbdocument>