|
1 <?xml version="1.0" encoding="UTF-8"?> |
|
2 <hbdocument context="RadioStationsView" version="0.9"> |
|
3 <object name="sv:scan_action" type="HbAction"> |
|
4 <string name="text" locid="txt_rad_opt_search_all_stations" /> |
|
5 </object> |
|
6 <object name="sv:clear_list_action" type="HbAction"> |
|
7 <string name="text" locid="txt_rad_opt_clear_list" /> |
|
8 </object> |
|
9 <object name="loudspeaker_action" type="HbAction"> |
|
10 <string name="text" locid="txt_common_opt_activate_loudspeaker" /> |
|
11 </object> |
|
12 <object name="exit_action" type="HbAction"> |
|
13 <string name="text" locid="txt_common_opt_exit" /> |
|
14 </object> |
|
15 <object name="sv:play_action" type="HbAction"> |
|
16 <string name="text" locid="txt_common_menu_play_music" /> |
|
17 </object> |
|
18 <object name="sv:rename_action" type="HbAction"> |
|
19 <string name="text" locid="txt_common_menu_rename_item" /> |
|
20 </object> |
|
21 <object name="sv:toggle_favorite_action" type="HbAction"> |
|
22 <string name="text" locid="txt_rad_menu_add_to_favourites" /> |
|
23 </object> |
|
24 <object name="sv:delete_action" type="HbAction"> |
|
25 <string name="text" locid="txt_common_menu_delete" /> |
|
26 </object> |
|
27 <object name="sv:local_stations_button" type="HbAction"> |
|
28 <bool name="checkable" value="TRUE"/> |
|
29 <icon iconName=":/images/removefavoriteicon.png" name="icon"/> |
|
30 <string name="text" locid="txt_rad_button_local_stations" /> |
|
31 </object> |
|
32 <object name="sv:favorite_stations_button" type="HbAction"> |
|
33 <bool name="checkable" value="TRUE"/> |
|
34 <icon iconName=":/images/setfavoriteicon.png" name="icon"/> |
|
35 <string name="text" locid="txt_rad_button_favourites" /> |
|
36 </object> |
|
37 <widget name="view" plugin="radiowidgetsplugin" type="RadioStationsView"> |
|
38 <icon name="nowPlayingIcon" iconName=":/images/nowplayingicon.png" /> |
|
39 <icon name="favoriteIcon" iconName=":/images/setfavoriteicon.png" /> |
|
40 <widget name="mMenu" role="HbView:menu" type="HbMenu"> |
|
41 <ref object="sv:scan_action" role="HbMenu:addAction"/> |
|
42 <ref object="sv:clear_list_action" role="HbMenu:addAction"/> |
|
43 <ref object="loudspeaker_action" role="HbMenu:addAction"/> |
|
44 <ref object="exit_action" role="HbMenu:addAction"/> |
|
45 </widget> |
|
46 <widget name="sv:toolbar" role="HbView:toolBar" type="HbToolBar"> |
|
47 <enums name="orientation" value="Horizontal"/> |
|
48 <ref object="sv:local_stations_button" role="HbToolBar:addAction"/> |
|
49 <ref object="sv:favorite_stations_button" role="HbToolBar:addAction"/> |
|
50 </widget> |
|
51 <widget name="content" role="HbView:widget" type="HbWidget"> |
|
52 <widget name="sv:heading_banner" plugin="radiowidgetsplugin" type="RadioBannerLabel"> |
|
53 <sizehint height="30" type="MAXIMUM"/> |
|
54 <string name="text" locid="txt_rad_subhead_all_stations" /> |
|
55 </widget> |
|
56 <widget name="sv:stacked_widget" type="HbWidget"> |
|
57 <widget name="sv:stations_list" type="HbListView"> |
|
58 <sizehint height="320" type="PREFERRED" width="240"/> |
|
59 <bool name="visible" value="FALSE"/> |
|
60 </widget> |
|
61 <widget name="sv:scan_button" type="HbPushButton"> |
|
62 <string name="text" locid="txt_rad_info_no_stations_search_stations_automat" /> |
|
63 <string name="state" value="normal"/> |
|
64 <icon name="background" value=" " /> |
|
65 </widget> |
|
66 <layout type="stacked"> |
|
67 <stackitem itemname="sv:stations_list"/> |
|
68 <stackitem itemname="sv:scan_button"/> |
|
69 </layout> |
|
70 </widget> |
|
71 <layout type="anchor"> |
|
72 <anchoritem dst="sv:heading_banner" dstEdge="TOP" spacing="0un" src="" srcEdge="TOP"/> |
|
73 <anchoritem dst="sv:heading_banner" dstEdge="LEFT" spacing="0un" src="" srcEdge="LEFT"/> |
|
74 <anchoritem dst="sv:heading_banner" dstEdge="RIGHT" spacing="0un" src="" srcEdge="RIGHT"/> |
|
75 <anchoritem dst="sv:stacked_widget" dstEdge="TOP" spacing="0un" src="sv:heading_banner" srcEdge="BOTTOM"/> |
|
76 <anchoritem dst="sv:stacked_widget" dstEdge="LEFT" spacing="0un" src="" srcEdge="LEFT"/> |
|
77 <anchoritem dst="sv:stacked_widget" dstEdge="RIGHT" spacing="0un" src="" srcEdge="RIGHT"/> |
|
78 <anchoritem dst="sv:stacked_widget" dstEdge="BOTTOM" spacing="0un" src="" srcEdge="BOTTOM"/> |
|
79 </layout> |
|
80 </widget> |
|
81 <string name="title" locid="txt_rad_title_fm_radio"/> |
|
82 </widget> |
|
83 <connect receiver="view" sender="sv:scan_action" signal="triggered()" slot="startScanning()"/> |
|
84 <connect receiver="view" sender="sv:scan_button" signal="clicked()" slot="startScanning()"/> |
|
85 <connect receiver="view" sender="exit_action" signal="triggered()" slot="quit()"/> |
|
86 <connect receiver="view" sender="sv:stations_list" signal="pressed(QModelIndex)" slot="listItemClicked(QModelIndex)"/> |
|
87 <connect receiver="view" sender="sv:stations_list" signal="longPressed(HbAbstractViewItem*,const QPointF)" slot="listItemLongPressed(HbAbstractViewItem*,const QPointF)"/> |
|
88 <connect receiver="sv:favorite_stations_button" sender="sv:local_stations_button" signal="triggered()" slot="toggle()"/> |
|
89 <connect receiver="sv:local_stations_button" sender="sv:favorite_stations_button" signal="triggered()" slot="toggle()"/> |
|
90 |
|
91 <widget name="sv:context_menu" type="HbMenu"> |
|
92 <ref object="sv:play_action" role="HbMenu:addAction" /> |
|
93 <ref object="sv:rename_action" role="HbMenu:addAction" /> |
|
94 <ref object="sv:toggle_favorite_action" role="HbMenu:addAction" /> |
|
95 <ref object="sv:delete_action" role="HbMenu:addAction" /> |
|
96 </widget> |
|
97 <connect receiver="view" sender="sv:rename_action" signal="triggered()" slot="rename()"/> |
|
98 <connect receiver="view" sender="sv:toggle_favorite_action" signal="triggered()" slot="toggleFavorite()"/> |
|
99 <connect receiver="view" sender="sv:delete_action" signal="triggered()" slot="deleteStation()"/> |
|
100 <section name="show_scan_text"> |
|
101 <widget name="sv:stations_list"> |
|
102 <bool name="visible" value="FALSE"/> |
|
103 </widget> |
|
104 <widget name="sv:scan_button"> |
|
105 <bool name="visible" value="TRUE"/> |
|
106 </widget> |
|
107 </section> |
|
108 <section name="hide_scan_text"> |
|
109 <widget name="sv:stations_list"> |
|
110 <bool name="visible" value="TRUE"/> |
|
111 </widget> |
|
112 <widget name="sv:scan_button"> |
|
113 <bool name="visible" value="FALSE"/> |
|
114 </widget> |
|
115 </section> |
|
116 <section name="show_all_stations"> |
|
117 <object name="sv:local_stations_button"> |
|
118 <bool name="checked" value="TRUE"/> |
|
119 </object> |
|
120 <object name="sv:favorite_stations_button"> |
|
121 <bool name="checked" value="FALSE"/> |
|
122 </object> |
|
123 <widget name="sv:heading_banner"> |
|
124 <string name="plainText" locid="txt_rad_subhead_all_stations" /> |
|
125 </widget> |
|
126 <widget name="sv:scan_button"> |
|
127 <string name="text" locid="txt_rad_info_no_stations_search_stations_automat" /> |
|
128 </widget> |
|
129 </section> |
|
130 <section name="show_favorites"> |
|
131 <object name="sv:local_stations_button"> |
|
132 <bool name="checked" value="FALSE"/> |
|
133 </object> |
|
134 <object name="sv:favorite_stations_button"> |
|
135 <bool name="checked" value="TRUE"/> |
|
136 </object> |
|
137 <widget name="sv:heading_banner"> |
|
138 <string name="plainText" locid="txt_rad_subhead_favorite_stations" /> |
|
139 </widget> |
|
140 <widget name="sv:scan_button"> |
|
141 <string name="text" locid="txt_rad_info_no_favourite_stations" /> |
|
142 </widget> |
|
143 </section> |
|
144 <metadata activeUIState="Common ui state" display="NHD portrait" unit="un"> |
|
145 <uistate name="Common ui state" sections="#common"/> |
|
146 </metadata> |
|
147 </hbdocument> |