|
1 <?xml version="1.0" encoding="UTF-8"?> |
|
2 <hbdocument context="RadioHistoryView" version="1.0"> |
|
3 <object name="hv:clear_list_action" type="HbAction"> |
|
4 <string locid="txt_rad_opt_clear_list" name="text"/> |
|
5 </object> |
|
6 <object name="hv:add_songs_action" type="HbAction"> |
|
7 <string value="DEBUG: Add Songs" name="text"/> |
|
8 </object> |
|
9 <object name="loudspeaker_action" type="HbAction"> |
|
10 <string locid="txt_common_opt_activate_loudspeaker" name="text"/> |
|
11 </object> |
|
12 <object name="exit_action" type="HbAction"> |
|
13 <string locid="txt_common_opt_exit" name="text"/> |
|
14 </object> |
|
15 <object name="hv:all_songs_button" type="HbAction"> |
|
16 <bool name="checkable" value="TRUE"/> |
|
17 <string locid="txt_rad_button_recently_played_songs" name="text"/> |
|
18 </object> |
|
19 <object name="hv:tagged_songs_button" type="HbAction"> |
|
20 <bool name="checkable" value="TRUE"/> |
|
21 <string locid="txt_rad_button_tagged_songs" name="text"/> |
|
22 </object> |
|
23 <object name="hv:toggle_tag_action" type="HbAction"> |
|
24 <string locid="txt_rad_menu_tag_song" name="text"/> |
|
25 </object> |
|
26 <object name="hv:search_from_ovi_store_action" type="HbAction"> |
|
27 <string locid="txt_rad_menu_search_from_music_store" name="text"/> |
|
28 </object> |
|
29 <object name="hv:search_from_other_store_action" type="HbAction"> |
|
30 <string locid="txt_rad_menu_search_from_other_store" name="text"/> |
|
31 </object> |
|
32 <widget name="view" plugin="radiowidgetsplugin" type="RadioHistoryView"> |
|
33 <icon name="nonTaggedIcon" iconName=":/images/qtg_mono_tag.svg" /> |
|
34 <icon name="taggedIcon" iconName=":/images/pri_small_tag.svg" /> |
|
35 <widget name="hv:menu" role="HbView:menu" type="HbMenu"> |
|
36 <ref object="hv:clear_list_action" role="HbMenu:addAction"/> |
|
37 <ref object="hv:add_songs_action" role="HbMenu:addAction"/> |
|
38 <ref object="loudspeaker_action" role="HbMenu:addAction"/> |
|
39 <ref object="exit_action" role="HbMenu:addAction"/> |
|
40 </widget> |
|
41 <widget name="hv:toolbar" role="HbView:toolBar" type="HbToolBar"> |
|
42 <enums name="orientation" value="Horizontal"/> |
|
43 <ref object="hv:all_songs_button" role="HbToolBar:addAction"/> |
|
44 <ref object="hv:tagged_songs_button" role="HbToolBar:addAction"/> |
|
45 </widget> |
|
46 <widget name="content" role="HbView:widget" type="HbWidget"> |
|
47 <widget name="hv:heading_banner" plugin="radiowidgetsplugin" type="RadioBannerLabel"> |
|
48 <sizehint height="30" type="MAXIMUM"/> |
|
49 <string name="plainText" locid="txt_rad_subhead_play_history" /> |
|
50 </widget> |
|
51 <widget name="hv:stacked_widget" type="HbWidget"> |
|
52 <widget name="hv:history_list" type="HbListView"> |
|
53 <sizehint height="320" type="PREFERRED" width="240"/> |
|
54 <bool name="visible" value="FALSE"/> |
|
55 </widget> |
|
56 <widget name="hv:empty_container" type="HbWidget"> |
|
57 <widget name="hv:empty_title" type="HbLabel"> |
|
58 <enums name="alignment" value="AlignVCenter|AlignHCenter"/> |
|
59 <string locid="txt_rad_info_play_history_is_empty" name="plainText"/> |
|
60 <fontspec name="fontSpec" role="Title" textheight="33.5"/> |
|
61 </widget> |
|
62 <widget name="hv:empty_text" type="HbLabel"> |
|
63 <enums name="textWrapping" value="TextWordWrap"/> |
|
64 <enums name="alignment" value="AlignVCenter|AlignHCenter"/> |
|
65 <sizehint height="320" type="PREFERRED" width="240"/> |
|
66 <string locid="txt_rad_info_recently_played_songs_collects_song2" name="plainText"/> |
|
67 <fontspec name="fontSpec" role="Title" textheight="33.5"/> |
|
68 </widget> |
|
69 <layout orientation="Vertical" spacing="var(hb-param-margin-gene-middle-vertical)" type="linear"> |
|
70 <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)"/> |
|
71 <stretchitem stretchfactor="2"/> |
|
72 <linearitem itemname="hv:empty_title"/> |
|
73 <stretchitem stretchfactor="1"/> |
|
74 <linearitem itemname="hv:empty_text"/> |
|
75 <stretchitem stretchfactor="2"/> |
|
76 </layout> |
|
77 </widget> |
|
78 <layout type="stacked"> |
|
79 <stackitem itemname="hv:history_list"/> |
|
80 <stackitem itemname="hv:empty_container"/> |
|
81 </layout> |
|
82 </widget> |
|
83 <layout type="anchor"> |
|
84 <anchoritem dst="hv:heading_banner" dstEdge="TOP" spacing="0un" src="" srcEdge="TOP"/> |
|
85 <anchoritem dst="hv:heading_banner" dstEdge="LEFT" spacing="0un" src="" srcEdge="LEFT"/> |
|
86 <anchoritem dst="hv:heading_banner" dstEdge="RIGHT" spacing="0un" src="" srcEdge="RIGHT"/> |
|
87 <anchoritem dst="hv:stacked_widget" dstEdge="TOP" spacing="0un" src="hv:heading_banner" srcEdge="BOTTOM"/> |
|
88 <anchoritem dst="hv:stacked_widget" dstEdge="BOTTOM" spacing="0un" src="" srcEdge="BOTTOM"/> |
|
89 <anchoritem dst="hv:stacked_widget" dstEdge="LEFT" spacing="0un" src="" srcEdge="LEFT"/> |
|
90 <anchoritem dst="hv:stacked_widget" dstEdge="RIGHT" spacing="0un" src="" srcEdge="RIGHT"/> |
|
91 </layout> |
|
92 </widget> |
|
93 <string locid="txt_rad_title_fm_radio" name="title"/> |
|
94 </widget> |
|
95 <widget name="hv:context_menu" type="HbMenu"> |
|
96 <ref object="hv:toggle_tag_action" role="HbMenu:addAction"/> |
|
97 <ref object="hv:search_from_ovi_store_action" role="HbMenu:addAction"/> |
|
98 <ref object="hv:search_from_other_store_action" role="HbMenu:addAction"/> |
|
99 </widget> |
|
100 <connect receiver="view" sender="exit_action" signal="triggered()" slot="quit()"/> |
|
101 <connect receiver="hv:tagged_songs_button" sender="hv:all_songs_button" signal="triggered()" slot="toggle()"/> |
|
102 <connect receiver="hv:all_songs_button" sender="hv:tagged_songs_button" signal="triggered()" slot="toggle()"/> |
|
103 <connect receiver="view" sender="hv:history_list" signal="activated(QModelIndex)" slot="showContextMenu(QModelIndex)"/> |
|
104 <connect receiver="view" sender="hv:toggle_tag_action" signal="triggered()" slot="toggleTagging()"/> |
|
105 <connect receiver="view" sender="hv:search_from_ovi_store_action" signal="triggered()" slot="openOviStore()"/> |
|
106 <connect receiver="view" sender="hv:search_from_other_store_action" signal="triggered()" slot="openOtherStore()"/> |
|
107 <section name="hv:show_list"> |
|
108 <widget name="hv:history_list"> |
|
109 <bool name="visible" value="TRUE"/> |
|
110 </widget> |
|
111 <widget name="hv:empty_container"> |
|
112 <bool name="visible" value="FALSE"/> |
|
113 </widget> |
|
114 <object name="hv:clear_list_action"> |
|
115 <bool name="visible" value="TRUE"/> |
|
116 </object> |
|
117 </section> |
|
118 <section name="hv:hide_list"> |
|
119 <widget name="hv:history_list"> |
|
120 <bool name="visible" value="FALSE"/> |
|
121 </widget> |
|
122 <widget name="hv:empty_container"> |
|
123 <bool name="visible" value="TRUE"/> |
|
124 </widget> |
|
125 <object name="hv:clear_list_action"> |
|
126 <bool name="visible" value="FALSE"/> |
|
127 </object> |
|
128 </section> |
|
129 <section name="hv:history_mode"> |
|
130 <object name="hv:all_songs_button"> |
|
131 <bool name="checked" value="TRUE"/> |
|
132 </object> |
|
133 <object name="hv:tagged_songs_button"> |
|
134 <bool name="checked" value="FALSE"/> |
|
135 </object> |
|
136 <widget name="hv:empty_text"> |
|
137 <string locid="txt_rad_info_recently_played_songs_collects_song2" name="plainText"/> |
|
138 </widget> |
|
139 <widget name="hv:heading_banner"> |
|
140 <string name="plainText" locid="txt_rad_subhead_play_history" /> |
|
141 </widget> |
|
142 </section> |
|
143 <section name="hv:tagged_mode"> |
|
144 <object name="hv:all_songs_button"> |
|
145 <bool name="checked" value="FALSE"/> |
|
146 </object> |
|
147 <object name="hv:tagged_songs_button"> |
|
148 <bool name="checked" value="TRUE"/> |
|
149 </object> |
|
150 <widget name="hv:empty_text"> |
|
151 <string locid="txt_rad_info_you_can_add_song_to_the_tagged_songs" name="plainText"/> |
|
152 </widget> |
|
153 <widget name="hv:heading_banner"> |
|
154 <string name="plainText" locid="txt_rad_button_tagged_songs" /> |
|
155 </widget> |
|
156 </section> |
|
157 <metadata activeUIState="Common ui state" display="NHD portrait" unit="un"> |
|
158 <uistate name="Common ui state" sections="#common"/> |
|
159 <dummydata objectName="hv:history_list" section="#common" value="app_list_template5"/> |
|
160 </metadata> |
|
161 </hbdocument> |