author | Pat Downey <patd@symbian.org> |
Tue, 18 May 2010 11:27:22 +0100 | |
changeset 21 | 6bac020dcc51 |
parent 19 | afea38384506 |
parent 17 | 2cf3bab7c5c6 |
child 29 | 29ba091146f4 |
child 37 | 451b2e1545b2 |
permissions | -rw-r--r-- |
17 | 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" /> |
|
19
afea38384506
Revision: 201017
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
26 |
</object> |
17 | 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"/> |
|
19
afea38384506
Revision: 201017
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
54 |
<string name="plainText" locid="txt_rad_subhead_all_stations" /> |
17 | 55 |
</widget> |
56 |
<widget name="sv:stacked_widget" type="HbWidget"> |
|
19
afea38384506
Revision: 201017
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
57 |
<widget name="sv:scan_button" type="HbPushButton"> |
afea38384506
Revision: 201017
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
58 |
<bool name="visible" value="TRUE"/> |
afea38384506
Revision: 201017
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
59 |
</widget> |
afea38384506
Revision: 201017
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
60 |
<widget name="sv:empty_container" type="HbWidget"> |
afea38384506
Revision: 201017
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
61 |
<bool name="visible" value="FALSE"/> |
afea38384506
Revision: 201017
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
62 |
<widget name="sv:empty_title" type="HbLabel"> |
afea38384506
Revision: 201017
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
63 |
<enums name="alignment" value="AlignVCenter|AlignHCenter"/> |
afea38384506
Revision: 201017
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
64 |
<string locid="txt_rad_info_no_stations" name="plainText"/> |
afea38384506
Revision: 201017
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
65 |
<fontspec name="fontSpec" role="Title" textheight="33.5"/> |
afea38384506
Revision: 201017
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
66 |
</widget> |
afea38384506
Revision: 201017
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
67 |
<widget name="sv:empty_text" type="HbLabel"> |
afea38384506
Revision: 201017
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
68 |
<enums name="textWrapping" value="TextWordWrap"/> |
afea38384506
Revision: 201017
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
69 |
<enums name="alignment" value="AlignVCenter|AlignHCenter"/> |
afea38384506
Revision: 201017
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
70 |
<sizehint height="320" type="PREFERRED" width="240"/> |
afea38384506
Revision: 201017
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
71 |
<string locid="txt_rad_info_no_stations_search_stations_automat" name="plainText"/> |
afea38384506
Revision: 201017
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
72 |
<fontspec name="fontSpec" role="Title" textheight="33.5"/> |
afea38384506
Revision: 201017
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
73 |
</widget> |
afea38384506
Revision: 201017
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
74 |
<layout orientation="Vertical" spacing="var(hb-param-margin-gene-middle-vertical)" type="linear"> |
afea38384506
Revision: 201017
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
75 |
<contentsmargins bottom="var(hb-param-margin-gene-bottom)" left="var(hb-param-margin-gene-left)" right="var(hb-param-margin-gene-right)" top="var(hb-param-margin-gene-top)"/> |
afea38384506
Revision: 201017
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
76 |
<stretchitem stretchfactor="2"/> |
afea38384506
Revision: 201017
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
77 |
<linearitem itemname="sv:empty_title"/> |
afea38384506
Revision: 201017
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
78 |
<stretchitem stretchfactor="1"/> |
afea38384506
Revision: 201017
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
79 |
<linearitem itemname="sv:empty_text"/> |
afea38384506
Revision: 201017
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
80 |
<stretchitem stretchfactor="2"/> |
afea38384506
Revision: 201017
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
81 |
</layout> |
afea38384506
Revision: 201017
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
82 |
</widget> |
17 | 83 |
<widget name="sv:stations_list" type="HbListView"> |
84 |
<sizehint height="320" type="PREFERRED" width="240"/> |
|
19
afea38384506
Revision: 201017
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
85 |
<bool name="visible" value="TRUE"/> |
17 | 86 |
</widget> |
87 |
<layout type="stacked"> |
|
19
afea38384506
Revision: 201017
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
88 |
<stackitem itemname="sv:scan_button"/> |
afea38384506
Revision: 201017
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
89 |
<stackitem itemname="sv:empty_container"/> |
17 | 90 |
<stackitem itemname="sv:stations_list"/> |
91 |
</layout> |
|
92 |
</widget> |
|
93 |
<layout type="anchor"> |
|
94 |
<anchoritem dst="sv:heading_banner" dstEdge="TOP" spacing="0un" src="" srcEdge="TOP"/> |
|
95 |
<anchoritem dst="sv:heading_banner" dstEdge="LEFT" spacing="0un" src="" srcEdge="LEFT"/> |
|
96 |
<anchoritem dst="sv:heading_banner" dstEdge="RIGHT" spacing="0un" src="" srcEdge="RIGHT"/> |
|
97 |
<anchoritem dst="sv:stacked_widget" dstEdge="TOP" spacing="0un" src="sv:heading_banner" srcEdge="BOTTOM"/> |
|
98 |
<anchoritem dst="sv:stacked_widget" dstEdge="LEFT" spacing="0un" src="" srcEdge="LEFT"/> |
|
99 |
<anchoritem dst="sv:stacked_widget" dstEdge="RIGHT" spacing="0un" src="" srcEdge="RIGHT"/> |
|
100 |
<anchoritem dst="sv:stacked_widget" dstEdge="BOTTOM" spacing="0un" src="" srcEdge="BOTTOM"/> |
|
101 |
</layout> |
|
102 |
</widget> |
|
103 |
<string name="title" locid="txt_rad_title_fm_radio"/> |
|
104 |
</widget> |
|
105 |
<connect receiver="view" sender="sv:scan_action" signal="triggered()" slot="startScanning()"/> |
|
106 |
<connect receiver="view" sender="sv:scan_button" signal="clicked()" slot="startScanning()"/> |
|
107 |
<connect receiver="view" sender="exit_action" signal="triggered()" slot="quit()"/> |
|
108 |
<connect receiver="view" sender="sv:stations_list" signal="pressed(QModelIndex)" slot="listItemClicked(QModelIndex)"/> |
|
109 |
<connect receiver="view" sender="sv:stations_list" signal="longPressed(HbAbstractViewItem*,const QPointF)" slot="listItemLongPressed(HbAbstractViewItem*,const QPointF)"/> |
|
110 |
<connect receiver="sv:favorite_stations_button" sender="sv:local_stations_button" signal="triggered()" slot="toggle()"/> |
|
111 |
<connect receiver="sv:local_stations_button" sender="sv:favorite_stations_button" signal="triggered()" slot="toggle()"/> |
|
112 |
||
113 |
<widget name="sv:context_menu" type="HbMenu"> |
|
114 |
<ref object="sv:play_action" role="HbMenu:addAction" /> |
|
115 |
<ref object="sv:rename_action" role="HbMenu:addAction" /> |
|
116 |
<ref object="sv:toggle_favorite_action" role="HbMenu:addAction" /> |
|
117 |
<ref object="sv:delete_action" role="HbMenu:addAction" /> |
|
118 |
</widget> |
|
119 |
<connect receiver="view" sender="sv:rename_action" signal="triggered()" slot="rename()"/> |
|
120 |
<connect receiver="view" sender="sv:toggle_favorite_action" signal="triggered()" slot="toggleFavorite()"/> |
|
121 |
<connect receiver="view" sender="sv:delete_action" signal="triggered()" slot="deleteStation()"/> |
|
19
afea38384506
Revision: 201017
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
122 |
|
17 | 123 |
<section name="show_scan_text"> |
124 |
<widget name="sv:stations_list"> |
|
125 |
<bool name="visible" value="FALSE"/> |
|
126 |
</widget> |
|
19
afea38384506
Revision: 201017
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
127 |
<widget name="sv:empty_container"> |
17 | 128 |
<bool name="visible" value="TRUE"/> |
129 |
</widget> |
|
130 |
</section> |
|
131 |
<section name="hide_scan_text"> |
|
132 |
<widget name="sv:stations_list"> |
|
133 |
<bool name="visible" value="TRUE"/> |
|
134 |
</widget> |
|
19
afea38384506
Revision: 201017
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
135 |
<widget name="sv:empty_container"> |
17 | 136 |
<bool name="visible" value="FALSE"/> |
137 |
</widget> |
|
138 |
</section> |
|
139 |
<section name="show_all_stations"> |
|
140 |
<object name="sv:local_stations_button"> |
|
141 |
<bool name="checked" value="TRUE"/> |
|
142 |
</object> |
|
143 |
<object name="sv:favorite_stations_button"> |
|
144 |
<bool name="checked" value="FALSE"/> |
|
145 |
</object> |
|
146 |
<widget name="sv:heading_banner"> |
|
147 |
<string name="plainText" locid="txt_rad_subhead_all_stations" /> |
|
148 |
</widget> |
|
149 |
<widget name="sv:scan_button"> |
|
19
afea38384506
Revision: 201017
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
150 |
<bool name="visible" value="TRUE"/> |
afea38384506
Revision: 201017
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
151 |
</widget> |
afea38384506
Revision: 201017
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
152 |
<widget name="sv:empty_title"> |
afea38384506
Revision: 201017
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
153 |
<string name="plainText" locid="txt_rad_info_no_stations" /> |
afea38384506
Revision: 201017
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
154 |
</widget> |
afea38384506
Revision: 201017
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
155 |
<widget name="sv:empty_text"> |
afea38384506
Revision: 201017
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
156 |
<string name="plainText" locid="txt_rad_info_no_stations_search_stations_automat" /> |
afea38384506
Revision: 201017
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
157 |
</widget> |
17 | 158 |
</section> |
159 |
<section name="show_favorites"> |
|
160 |
<object name="sv:local_stations_button"> |
|
161 |
<bool name="checked" value="FALSE"/> |
|
162 |
</object> |
|
163 |
<object name="sv:favorite_stations_button"> |
|
164 |
<bool name="checked" value="TRUE"/> |
|
165 |
</object> |
|
166 |
<widget name="sv:heading_banner"> |
|
167 |
<string name="plainText" locid="txt_rad_subhead_favorite_stations" /> |
|
168 |
</widget> |
|
169 |
<widget name="sv:scan_button"> |
|
19
afea38384506
Revision: 201017
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
170 |
<bool name="visible" value="FALSE"/> |
afea38384506
Revision: 201017
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
171 |
</widget> |
afea38384506
Revision: 201017
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
172 |
<widget name="sv:empty_title"> |
afea38384506
Revision: 201017
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
173 |
<string name="plainText" locid="txt_rad_info_no_favourite_stations" /> |
afea38384506
Revision: 201017
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
174 |
</widget> |
afea38384506
Revision: 201017
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
175 |
<widget name="sv:empty_text"> |
afea38384506
Revision: 201017
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
176 |
<string name="plainText" locid="txt_rad_info_no_favourites_add_favourites_to_see" /> |
17 | 177 |
</widget> |
178 |
</section> |
|
179 |
<metadata activeUIState="Common ui state" display="NHD portrait" unit="un"> |
|
180 |
<uistate name="Common ui state" sections="#common"/> |
|
181 |
</metadata> |
|
182 |
</hbdocument> |