qtinternetradio/ui/resources/layout/searchchannelsview.docml
changeset 8 3b03c28289e6
parent 5 0930554dc389
child 10 9b7c1f7fc4a6
child 11 f683e24efca3
equal deleted inserted replaced
5:0930554dc389 8:3b03c28289e6
     7             <widget name="headingText" type="HbGroupBox">
     7             <widget name="headingText" type="HbGroupBox">
     8                 <string locid="txt_irad_subtitle_search_result" name="heading"/>
     8                 <string locid="txt_irad_subtitle_search_result" name="heading"/>
     9                 <sizepolicy horizontalPolicy="Expanding" horizontalStretch="0" verticalPolicy="Fixed" verticalStretch="0"/>
     9                 <sizepolicy horizontalPolicy="Expanding" horizontalStretch="0" verticalPolicy="Fixed" verticalStretch="0"/>
    10                 <sizehint height="expr(var(hb-param-text-height-secondary)+2*var(hb-param-margin-gene-middle-vertical))" type="PREFERRED"/>
    10                 <sizehint height="expr(var(hb-param-text-height-secondary)+2*var(hb-param-margin-gene-middle-vertical))" type="PREFERRED"/>
    11                 <fontspec name="fontSpec" role="Secondary" textheight="var(hb-param-text-height-secondary)"/>
    11                 <fontspec name="fontSpec" role="Secondary" textheight="var(hb-param-text-height-secondary)"/>
    12                 <bool name="visible" value="FALSE"/>
    12                 <bool name="visible" value="TRUE"/>
    13             </widget>
    13             </widget>
    14             
    14             
    15             <widget name="search_listview" type="HbListView">                 
    15             <widget name="search_listview" type="HbListView">                 
    16             </widget>
    16             </widget>
    17             
    17             
    20             </widget>
    20             </widget>
    21             
    21             
    22             <real name="z" value="0"/>
    22             <real name="z" value="0"/>
    23             <layout orientation="Vertical" type="linear">
    23             <layout orientation="Vertical" type="linear">
    24                 <contentsmargins bottom="0un" left="0un" right="0un" top="0un"/>
    24                 <contentsmargins bottom="0un" left="0un" right="0un" top="0un"/>
    25                 <stretchitem stretchfactor="1"/>
    25                 <linearitem itemname="headingText" spacing="0un"/>
       
    26                 <linearitem itemname="search_listview" spacing="0un"/>                
    26                 <linearitem itemname="search_panel" spacing="0un"/>
    27                 <linearitem itemname="search_panel" spacing="0un"/>
    27             </layout>
    28             </layout>
    28         </widget> 
    29         </widget> 
    29         <string locid="txt_irad_title_internet_radio" name="title"/>
    30         <string locid="txt_irad_title_internet_radio" name="title"/>
    30     </widget>
    31     </widget>
    31     
    32     
    32     <section name="section_without_listview">
       
    33         <widget name="headingText" type="HbGroupBox">
       
    34             <bool name="visible" value="FALSE"/>
       
    35         </widget>
       
    36         
       
    37         <widget name="search_listview" type="HbListView">
       
    38             <bool name="visible" value="FALSE"/>
       
    39         </widget>
       
    40         
       
    41         <widget name="content" role="HbView:widget" type="HbWidget">             
       
    42             <layout orientation="Vertical" type="linear">               
       
    43                 <stretchitem stretchfactor="1"/>
       
    44                 <linearitem itemname="search_panel" spacing="0un"/>
       
    45             </layout>
       
    46         </widget> 
       
    47     </section>
       
    48     
       
    49     <section name="section_with_listview">
       
    50         <widget name="headingText" type="HbGroupBox">
       
    51              <bool name="visible" value="TRUE"/>
       
    52         </widget>
       
    53         
       
    54         <widget name="search_listview" type="HbListView">
       
    55             <bool name="visible" value="TRUE"/>
       
    56         </widget>
       
    57                     
       
    58         <widget name="content" role="HbView:widget" type="HbWidget">             
       
    59             <layout orientation="Vertical" type="linear">
       
    60                 <contentsmargins bottom="0un" left="0un" right="0un" top="0un"/>
       
    61                 <linearitem itemname="headingText" spacing="0un"/>
       
    62                 <linearitem itemname="search_listview" spacing="0un"/>
       
    63                 <stretchitem stretchfactor="1"/>                 
       
    64                 <linearitem itemname="search_panel" spacing="0un"/>
       
    65             </layout>
       
    66         </widget>        
       
    67     </section>
       
    68     
       
    69     <metadata activeUIState="ui_state_listview" display="NHD portrait" unit="un">
    33     <metadata activeUIState="ui_state_listview" display="NHD portrait" unit="un">
    70         <uistate name="Common ui state" sections="#common"/>       
    34         <uistate name="Common ui state" sections="#common"/>       
    71         <uistate name="ui_state_listview" sections="#common section_without_listview section_with_listview"/>        
       
    72     </metadata>
    35     </metadata>
    73 </hbdocument>
    36 </hbdocument>