qtinternetradio/ui/resources/layout/nowplayingview.docml
changeset 11 f683e24efca3
parent 5 0930554dc389
child 13 c9471d26c7f2
child 14 896e9dbc5f19
equal deleted inserted replaced
8:3b03c28289e6 11:f683e24efca3
     1 <?xml version="1.0" encoding="UTF-8"?>
     1 <?xml version="1.0" encoding="UTF-8"?>
     2 <hbdocument version="1.0">
     2 <hbdocument version="1.1">
     3     <object name="go2station_act" type="HbAction">
     3     <object name="go2station_act" type="HbAction">
     4         <string locid="txt_irad_opt_go_to_station" name="text"/>
     4         <string locid="txt_irad_opt_go_to_station" name="text"/>
     5     </object>
     5     </object>
     6     <object name="share_station_act" type="HbAction">
     6     <object name="share_station_act" type="HbAction">
     7         <string locid="txt_irad_opt_share" name="text"/>
     7         <string locid="txt_irad_opt_share" name="text"/>
    59                 <linearitem itemname="artist_name"/>
    59                 <linearitem itemname="artist_name"/>
    60                 <linearitem itemname="song_name"/>
    60                 <linearitem itemname="song_name"/>
    61                 <linearitem itemname="station_name"/>
    61                 <linearitem itemname="station_name"/>
    62             </layout>
    62             </layout>
    63         </widget>
    63         </widget>
    64         <widget name="viewToolbar" role="HbView:toolBar" type="HbToolBar">            
    64         <widget name="viewToolbar" role="HbView:toolBar" type="HbToolBar"/>
    65         </widget>
       
    66         <string locid="txt_irad_title_internet_radio" name="title"/>
    65         <string locid="txt_irad_title_internet_radio" name="title"/>
    67     </widget>
    66     </widget>
    68     <section name="song_recog_yes_section">
    67     <section name="song_recog_yes_section">
    69         <widget name="ext-nowplayingview" type="HbView">
    68         <widget name="ext-nowplayingview" type="HbView">
    70             <widget name="viewMenu" role="HbView:menu" type="HbMenu">
    69             <widget name="viewMenu" role="HbView:menu" type="HbMenu">
    71                 <ref object="songrecg_act" role="HbMenu:addAction"/>
    70                 <ref object="songrecg_act" role="HbWidget:addAction"/>
    72                 <ref object="go2station_act" role="HbMenu:addAction"/>
    71                 <ref object="go2station_act" role="HbWidget:addAction"/>
    73                 <ref object="share_station_act" role="HbMenu:addAction"/>
    72                 <ref object="share_station_act" role="HbWidget:addAction"/>
    74                 <ref object="setting_act" role="HbMenu:addAction"/>
    73                 <ref object="setting_act" role="HbWidget:addAction"/>
    75                 <ref object="exit_act" role="HbMenu:addAction"/>
    74                 <ref object="exit_act" role="HbWidget:addAction"/>
    76             </widget>
    75             </widget>
    77         </widget>
    76         </widget>
    78     </section>
    77     </section>
    79     <section name="song_recog_no_section">
    78     <section name="song_recog_no_section">
    80         <widget name="ext-nowplayingview" type="HbView">
    79         <widget name="ext-nowplayingview" type="HbView">
    81             <widget name="viewMenu" role="HbView:menu" type="HbMenu">
    80             <widget name="viewMenu" role="HbView:menu" type="HbMenu">
    82                 <ref object="go2station_act" role="HbMenu:addAction"/>
    81                 <ref object="go2station_act" role="HbWidget:addAction"/>
    83                 <ref object="share_station_act" role="HbMenu:addAction"/>
    82                 <ref object="share_station_act" role="HbWidget:addAction"/>
    84                 <ref object="setting_act" role="HbMenu:addAction"/>
    83                 <ref object="setting_act" role="HbWidget:addAction"/>
    85                 <ref object="exit_act" role="HbMenu:addAction"/>
    84                 <ref object="exit_act" role="HbWidget:addAction"/>
    86             </widget>
    85             </widget>
    87         </widget>
    86         </widget>
    88     </section>
    87     </section>
    89     <section name="prt_section">
    88     <section name="prt_section">
    90         <widget name="container" role="HbView:widget" type="HbWidget">
    89         <widget name="container" role="HbView:widget" type="HbWidget">
    91             <widget name="station_logo" type="HbLabel">
    90             <widget name="station_logo" type="HbLabel">
    92                 <enums name="alignment" value="AlignVCenter|AlignHCenter"/>
    91                 <enums name="alignment" value="AlignVCenter|AlignHCenter"/>
    93                 <sizepolicy horizontalPolicy="Fixed" horizontalStretch="0" verticalPolicy="Fixed" verticalStretch="0"/>
    92                 <sizepolicy horizontalPolicy="Fixed" horizontalStretch="0" verticalPolicy="Fixed" verticalStretch="0"/>
    94                 <sizehint height="30un" type="FIXED" width="30un"/>
    93                 <sizehint height="38un" type="FIXED" width="38un"/>
       
    94                 <sizehint height="38un" type="MAXIMUM" width="38un"/>
       
    95                 <sizehint height="38un" type="MINIMUM" width="38un"/>
    95             </widget>
    96             </widget>
    96             <contentsmargins bottom="var(hb-param-margin-gene-screen)" left="var(hb-param-margin-gene-screen)" right="var(hb-param-margin-gene-screen)" top="var(hb-param-margin-gene-screen)"/>
    97             <contentsmargins bottom="var(hb-param-margin-gene-screen)" left="var(hb-param-margin-gene-screen)" right="var(hb-param-margin-gene-screen)" top="var(hb-param-margin-gene-screen)"/>
    97             <layout type="anchor">
    98             <layout type="anchor">
    98                 <anchoritem dst="station_name" dstEdge="LEFT" spacing="0un" src="" srcEdge="LEFT"/>
    99                 <anchoritem dst="station_name" dstEdge="LEFT" spacing="0un" src="" srcEdge="LEFT"/>
    99                 <anchoritem dst="station_name" dstEdge="TOP" spacing="var(hb-param-margin-gene-middle-horizontal)" src="song_name" srcEdge="BOTTOM"/>
   100                 <anchoritem dst="station_name" dstEdge="TOP" spacing="var(hb-param-margin-gene-middle-horizontal)" src="song_name" srcEdge="BOTTOM"/>
   100                 <anchoritem dst="station_name" dstEdge="RIGHT" spacing="0un" src="" srcEdge="RIGHT"/>
   101                 <anchoritem dst="station_name" dstEdge="RIGHT" spacing="0un" src="" srcEdge="RIGHT"/>
   101                 <anchoritem dst="song_name" dstEdge="LEFT" spacing="0un" src="" srcEdge="LEFT"/>
   102                 <anchoritem dst="song_name" dstEdge="LEFT" spacing="0un" src="" srcEdge="LEFT"/>
   102                 <anchoritem dst="song_name" dstEdge="TOP" spacing="var(hb-param-margin-gene-middle-horizontal)" src="artist_name" srcEdge="BOTTOM"/>
   103                 <anchoritem dst="song_name" dstEdge="TOP" spacing="var(hb-param-margin-gene-middle-horizontal)" src="artist_name" srcEdge="BOTTOM"/>
   103                 <anchoritem dst="song_name" dstEdge="RIGHT" spacing="0un" src="" srcEdge="RIGHT"/>
   104                 <anchoritem dst="song_name" dstEdge="RIGHT" spacing="0un" src="" srcEdge="RIGHT"/>
   104                 <anchoritem dst="station_logo" dstEdge="TOP" spacing="12un" src="" srcEdge="TOP"/>
   105                 <anchoritem dst="station_logo" dstEdge="TOP" spacing="5un" src="" srcEdge="TOP"/>
   105                 <anchoritem dst="station_logo" dstEdge="CENTERH" spacing="0un" src="" srcEdge="CENTERH"/>
   106                 <anchoritem dst="station_logo" dstEdge="CENTERH" spacing="0un" src="" srcEdge="CENTERH"/>
   106                 <anchoritem dst="artist_name" dstEdge="LEFT" spacing="0un" src="" srcEdge="LEFT"/>
   107                 <anchoritem dst="artist_name" dstEdge="LEFT" spacing="0un" src="" srcEdge="LEFT"/>
   107                 <anchoritem dst="artist_name" dstEdge="TOP" spacing="8un" src="station_logo" srcEdge="BOTTOM"/>
   108                 <anchoritem dst="artist_name" dstEdge="TOP" spacing="4un" src="station_logo" srcEdge="BOTTOM"/>
   108                 <anchoritem dst="artist_name" dstEdge="RIGHT" spacing="0un" src="" srcEdge="RIGHT"/>
   109                 <anchoritem dst="artist_name" dstEdge="RIGHT" spacing="0un" src="" srcEdge="RIGHT"/>
   109             </layout>
   110             </layout>
   110         </widget>
   111         </widget>
   111     </section>
   112     </section>
   112     <section name="lsc_section">
   113     <section name="lsc_section">
   113         <widget name="container" role="HbView:widget" type="HbWidget">
   114         <widget name="container" role="HbView:widget" type="HbWidget">
   114             <widget name="station_logo" type="HbLabel">
   115             <widget name="station_logo" type="HbLabel">
   115                 <enums name="alignment" value="AlignVCenter|AlignHCenter"/>
   116                 <enums name="alignment" value="AlignVCenter|AlignHCenter"/>
   116                 <sizepolicy horizontalPolicy="Minimum" horizontalStretch="0" verticalPolicy="Fixed" verticalStretch="0"/>
   117                 <sizepolicy horizontalPolicy="Fixed" horizontalStretch="0" verticalPolicy="Fixed" verticalStretch="0"/>
   117                 <sizehint height="20un" type="PREFERRED" width="20un"/>
   118                 <sizehint height="20un" type="FIXED" width="20un"/>
       
   119                 <sizehint height="20un" type="MINIMUM" width="20un"/>
       
   120                 <sizehint height="20un" type="MAXIMUM" width="20un"/>
   118             </widget>
   121             </widget>
   119             <contentsmargins bottom="var(hb-param-margin-gene-screen)" left="var(hb-param-margin-gene-screen)" right="var(hb-param-margin-gene-screen)" top="var(hb-param-margin-gene-screen)"/>
   122             <contentsmargins bottom="var(hb-param-margin-gene-screen)" left="var(hb-param-margin-gene-screen)" right="var(hb-param-margin-gene-screen)" top="var(hb-param-margin-gene-screen)"/>
   120             <layout type="anchor">
   123             <layout type="anchor">
   121                 <anchoritem dst="artist_name" dstEdge="LEFT" spacing="6un" src="station_logo" srcEdge="RIGHT"/>
       
   122                 <anchoritem dst="artist_name" dstEdge="RIGHT" spacing="0un" src="" srcEdge="RIGHT"/>
       
   123                 <anchoritem dst="artist_name" dstEdge="BOTTOM" spacing="-var(hb-param-margin-gene-middle-vertical)" src="song_name" srcEdge="TOP"/>
       
   124                 <anchoritem dst="song_name" dstEdge="RIGHT" spacing="0un" src="" srcEdge="RIGHT"/>
       
   125                 <anchoritem dst="song_name" dstEdge="CENTERV" spacing="0un" src="" srcEdge="CENTERV"/>
       
   126                 <anchoritem dst="song_name" dstEdge="LEFT" spacing="6un" src="station_logo" srcEdge="RIGHT"/>
       
   127                 <anchoritem dst="station_name" dstEdge="TOP" spacing="var(hb-param-margin-gene-middle-vertical)" src="song_name" srcEdge="BOTTOM"/>
       
   128                 <anchoritem dst="station_name" dstEdge="RIGHT" spacing="0un" src="" srcEdge="RIGHT"/>
       
   129                 <anchoritem dst="station_name" dstEdge="LEFT" spacing="6un" src="station_logo" srcEdge="RIGHT"/>
       
   130                 <anchoritem dst="station_logo" dstEdge="LEFT" spacing="5un" src="" srcEdge="LEFT"/>
   124                 <anchoritem dst="station_logo" dstEdge="LEFT" spacing="5un" src="" srcEdge="LEFT"/>
   131                 <anchoritem dst="station_logo" dstEdge="TOP" spacing="5un" src="" srcEdge="TOP"/>
   125                 <anchoritem dst="station_logo" dstEdge="TOP" spacing="5un" src="" srcEdge="TOP"/>
       
   126                 <anchoritem dst="song_name" dstEdge="LEFT" spacing="5un" src="station_logo" srcEdge="RIGHT"/>
       
   127                 <anchoritem dst="song_name" dstEdge="RIGHT" spacing="-2un" src="" srcEdge="RIGHT"/>
       
   128                 <anchoritem dst="song_name" dstEdge="CENTERV" spacing="0un" src="" srcEdge="CENTERV"/>
       
   129                 <anchoritem dst="artist_name" dstEdge="LEFT" spacing="5un" src="station_logo" srcEdge="RIGHT"/>
       
   130                 <anchoritem dst="artist_name" dstEdge="RIGHT" spacing="-2un" src="" srcEdge="RIGHT"/>
       
   131                 <anchoritem dst="artist_name" dstEdge="BOTTOM" spacing="-var(hb-param-margin-gene-middle-vertical)" src="song_name" srcEdge="TOP"/>
       
   132                 <anchoritem dst="station_name" dstEdge="LEFT" spacing="5un" src="station_logo" srcEdge="RIGHT"/>
       
   133                 <anchoritem dst="station_name" dstEdge="TOP" spacing="var(hb-param-margin-gene-middle-vertical)" src="song_name" srcEdge="BOTTOM"/>
       
   134                 <anchoritem dst="station_name" dstEdge="RIGHT" spacing="-2un" src="" srcEdge="RIGHT"/>
   132             </layout>
   135             </layout>
   133         </widget>
   136         </widget>
   134     </section>
   137     </section>
   135     <metadata activeUIState="prt_ui" display="NHD portrait" unit="un">
   138     <metadata activeUIState="prt_ui" display="NHD-3.2-inch_portrait" unit="un">
   136         <uistate name="Common ui state" sections="#common"/>
   139         <uistate name="Common ui state" sections="#common"/>
   137         <uistate name="prt_ui" sections="#common prt_section"/>
   140         <uistate name="prt_ui" sections="#common prt_section"/>
   138         <uistate name="lsc_ui" sections="#common lsc_section"/>
   141         <uistate name="lsc_ui" sections="#common lsc_section"/>
   139     </metadata>
   142     </metadata>
   140 </hbdocument>
   143 </hbdocument>