qtinternetradio/ui/resources/layout/searchchannelsview.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="IRSearchChannelsView" version="0.9">
       
     3     <object name="settings" type="HbAction">
       
     4         <string locid="txt_irad_opt_network_setting" name="text"/>
       
     5     </object>
       
     6     <object name="openWebAddressAction" type="HbAction">
       
     7         <string locid="txt_irad_opt_go_to_station" name="text"/>
       
     8     </object>
       
     9     <object name="help" type="HbAction">
       
    10         <string locid="Help" name="text"/>
       
    11     </object>
       
    12     <object name="exit" type="HbAction">
       
    13         <string locid="txt_common_opt_exit" name="text"/>
       
    14     </object>
       
    15     <object name="collections" type="HbAction">
       
    16         <bool name="checkable" value="TRUE"/>
       
    17         <icon iconName="qtg_mono_radio_collections" name="icon"/>
       
    18         <string locid="My Collection" name="toolTip"/>
       
    19     </object>
       
    20     <object name="favorites" type="HbAction">
       
    21         <bool name="checkable" value="TRUE"/>
       
    22         <icon iconName="qtg_mono_favourites" name="icon"/>
       
    23         <string locid="Favorites" name="toolTip"/>
       
    24     </object>
       
    25     <object name="genres" type="HbAction">
       
    26         <bool name="checkable" value="TRUE"/>
       
    27         <icon iconName="qtg_mono_genres" name="icon"/>
       
    28         <string locid="Genres" name="toolTip"/>
       
    29     </object>
       
    30     <object name="search" type="HbAction">
       
    31         <bool name="checkable" value="TRUE"/>
       
    32         <icon iconName="qtg_mono_search" name="icon"/>
       
    33         <string locid="Search" name="toolTip"/>
       
    34     </object>
       
    35     <widget name="ext-IRSearchChannelsView" type="HbView">
       
    36         <widget name="menu" role="HbView:menu" type="HbMenu">
       
    37             <ref object="openWebAddressAction" role="HbMenu:addAction"/>
       
    38             <ref object="settings" role="HbMenu:addAction"/>
       
    39             <ref object="help" role="HbMenu:addAction"/>
       
    40             <ref object="exit" role="HbMenu:addAction"/>
       
    41         </widget>
       
    42         <widget name="toolbar" role="HbView:toolBar" type="HbToolBar">
       
    43             <enums name="orientation" value="Horizontal"/>
       
    44             <ref object="genres" role="HbToolBar:addAction"/>
       
    45             <ref object="collections" role="HbToolBar:addAction"/>
       
    46             <ref object="favorites" role="HbToolBar:addAction"/>
       
    47             <ref object="search" role="HbToolBar:addAction"/>
       
    48         </widget>
       
    49         <widget name="container" role="HbView:widget" type="HbWidget">
       
    50             <widget name="label" type="HbLabel">
       
    51                 <sizehint height="5un" type="PREFERRED"/>
       
    52                 <string name="plainText" value="Search Key"/>
       
    53             </widget>
       
    54             <widget name="playingBanner" type="IrNowPlayingBannerLabel">
       
    55                 <sizepolicy horizontalPolicy="Expanding" horizontalStretch="0" verticalPolicy="Fixed" verticalStretch="0"/>
       
    56                 <sizehint height="6un" type="PREFERRED"/>
       
    57                 <enums name="alignment" value="AlignVCenter|AlignHCenter"/>
       
    58             </widget>
       
    59             <widget name="searchKey" type="IrComboBox"/>
       
    60             <widget name="container_2" type="HbWidget">
       
    61                 <widget name="searchButton" type="HbPushButton">
       
    62                     <sizehint height="8un" type="PREFERRED" width="16un"/>
       
    63                     <sizehint height="5un" type="MINIMUM" width="12un"/>
       
    64                     <string name="text" value="Search"/>
       
    65                     <string name="state" value="normal"/>
       
    66                 </widget>
       
    67                 <widget name="label_2" type="HbLabel">
       
    68                     <icon iconName=":/mainview/search.png" name="icon"/>
       
    69                 </widget>
       
    70                 <real name="z" value="0"/>
       
    71                 <sizehint height="12un" type="PREFERRED" width="24un"/>
       
    72                 <layout orientation="Horizontal" type="linear">
       
    73                     <stretchitem stretchfactor="1"/>
       
    74                     <linearitem itemname="label_2"/>
       
    75                     <linearitem itemname="searchButton"/>
       
    76                     <stretchitem stretchfactor="1"/>
       
    77                 </layout>
       
    78             </widget>
       
    79             <real name="z" value="1"/>
       
    80             <layout orientation="Vertical" spacing="0un" type="linear">
       
    81                 <contentsmargins bottom="0un" left="0un" right="0un" top="6un"/>
       
    82                 <linearitem itemname="label"/>
       
    83                 <linearitem itemname="searchKey"/>
       
    84                 <stretchitem stretchfactor="1"/>
       
    85                 <linearitem itemname="container_2"/>
       
    86                 <stretchitem stretchfactor="1"/>
       
    87                 <linearitem itemname="playingBanner"/>
       
    88             </layout>
       
    89         </widget>
       
    90         <string locid="txt_irad_title_internet_radio" name="title"/>
       
    91     </widget>
       
    92     <section name="section_no_playingbanner">
       
    93         <widget name="playingBanner" type="IrNowPlayingBannerLabel">
       
    94             <sizehint height="0un" type="PREFERRED"/>
       
    95             <sizehint height="0un" type="MINIMUM"/>
       
    96             <sizehint height="0un" type="MAXIMUM"/>
       
    97         </widget>
       
    98     </section>
       
    99     <section name="section_with_playingbanner">
       
   100         <widget name="playingBanner" type="IrNowPlayingBannerLabel">
       
   101             <sizehint height="6un" type="PREFERRED"/>
       
   102             <sizehint height="6un" type="MINIMUM"/>
       
   103             <sizehint height="6un" type="MAXIMUM"/>
       
   104         </widget>
       
   105     </section>
       
   106     <metadata activeUIState="Common ui state" display="NHD portrait" unit="un">
       
   107         <uistate name="Common ui state" sections="#common"/>
       
   108     </metadata>
       
   109 </hbdocument>