Changeset View
Changeset View
Standalone View
Standalone View
src/qml/ElisaMainWindow.qml
Show First 20 Lines • Show All 191 Lines • ▼ Show 20 Line(s) | 188 | HeaderBar { | |||
---|---|---|---|---|---|
192 | 192 | | |||
193 | anchors.fill: parent | 193 | anchors.fill: parent | ||
194 | 194 | | |||
195 | tracksCount: elisa.manageHeaderBar.remainingTracks | 195 | tracksCount: elisa.manageHeaderBar.remainingTracks | ||
196 | album: elisa.manageHeaderBar.album | 196 | album: elisa.manageHeaderBar.album | ||
197 | title: elisa.manageHeaderBar.title | 197 | title: elisa.manageHeaderBar.title | ||
198 | artist: elisa.manageHeaderBar.artist | 198 | artist: elisa.manageHeaderBar.artist | ||
199 | image: elisa.manageHeaderBar.image | 199 | image: elisa.manageHeaderBar.image | ||
200 | albumID: elisa.manageHeaderBar.albumId | ||||
200 | 201 | | |||
201 | ratingVisible: false | 202 | ratingVisible: false | ||
202 | 203 | | |||
203 | playerControl.duration: elisa.audioPlayer.duration | 204 | playerControl.duration: elisa.audioPlayer.duration | ||
204 | playerControl.seekable: elisa.audioPlayer.seekable | 205 | playerControl.seekable: elisa.audioPlayer.seekable | ||
205 | 206 | | |||
206 | playerControl.volume: persistentSettings.playControlItemVolume | 207 | playerControl.volume: persistentSettings.playControlItemVolume | ||
207 | playerControl.muted: persistentSettings.playControlItemMuted | 208 | playerControl.muted: persistentSettings.playControlItemMuted | ||
Show All 9 Lines | |||||
217 | playerControl.onSeek: elisa.audioPlayer.seek(position) | 218 | playerControl.onSeek: elisa.audioPlayer.seek(position) | ||
218 | 219 | | |||
219 | playerControl.onPlay: elisa.audioControl.playPause() | 220 | playerControl.onPlay: elisa.audioControl.playPause() | ||
220 | playerControl.onPause: elisa.audioControl.playPause() | 221 | playerControl.onPause: elisa.audioControl.playPause() | ||
221 | playerControl.onPlayPrevious: elisa.mediaPlayList.skipPreviousTrack() | 222 | playerControl.onPlayPrevious: elisa.mediaPlayList.skipPreviousTrack() | ||
222 | playerControl.onPlayNext: elisa.mediaPlayList.skipNextTrack() | 223 | playerControl.onPlayNext: elisa.mediaPlayList.skipNextTrack() | ||
223 | 224 | | |||
224 | playerControl.isMaximized: persistentSettings.headerBarIsMaximized | 225 | playerControl.isMaximized: persistentSettings.headerBarIsMaximized | ||
226 | onOpenArtist: { contentView.openArtist(artist) } | ||||
227 | onOpenNowPlaying: { contentView.openNowPlaying() } | ||||
228 | onOpenAlbum: { contentView.openAlbum(album, artist, image, albumID) } | ||||
225 | 229 | | |||
226 | TrackImportNotification { | 230 | TrackImportNotification { | ||
227 | id: importedTracksCountNotification | 231 | id: importedTracksCountNotification | ||
228 | 232 | | |||
229 | anchors | 233 | anchors | ||
230 | { | 234 | { | ||
231 | right: headerBar.right | 235 | right: headerBar.right | ||
232 | top: headerBar.top | 236 | top: headerBar.top | ||
▲ Show 20 Lines • Show All 110 Lines • Show Last 20 Lines |