Changeset View
Changeset View
Standalone View
Standalone View
src/qml/MediaAlbumView.qml
Show All 25 Lines | |||||
26 | 26 | | |||
27 | FocusScope { | 27 | FocusScope { | ||
28 | id: topListing | 28 | id: topListing | ||
29 | 29 | | |||
30 | property var albumName | 30 | property var albumName | ||
31 | property var artistName | 31 | property var artistName | ||
32 | property var albumArtUrl | 32 | property var albumArtUrl | ||
33 | property bool isSingleDiscAlbum | 33 | property bool isSingleDiscAlbum | ||
34 | property alias filterState: navigationBar.state | 34 | property alias expandedFilterView: navigationBar.expandedFilterView | ||
35 | property var albumId | 35 | property var albumId | ||
36 | property alias contentModel: contentDirectoryView.model | 36 | property alias contentModel: contentDirectoryView.model | ||
37 | 37 | | |||
38 | signal showArtist(var name) | 38 | signal showArtist(var name) | ||
39 | signal goBack(); | 39 | signal goBack(); | ||
40 | signal filterViewChanged(string filterState) | 40 | signal filterViewChanged(bool expandedFilterView) | ||
41 | 41 | | |||
42 | SystemPalette { | 42 | SystemPalette { | ||
43 | id: myPalette | 43 | id: myPalette | ||
44 | colorGroup: SystemPalette.Active | 44 | colorGroup: SystemPalette.Active | ||
45 | } | 45 | } | ||
46 | 46 | | |||
47 | Theme { | 47 | Theme { | ||
48 | id: elisaTheme | 48 | id: elisaTheme | ||
Show All 27 Lines | 55 | NavigationActionBar { | |||
76 | Binding { | 76 | Binding { | ||
77 | target: contentModel | 77 | target: contentModel | ||
78 | property: 'filterRating' | 78 | property: 'filterRating' | ||
79 | value: navigationBar.filterRating | 79 | value: navigationBar.filterRating | ||
80 | } | 80 | } | ||
81 | 81 | | |||
82 | onGoBack: topListing.goBack() | 82 | onGoBack: topListing.goBack() | ||
83 | 83 | | |||
84 | onFilterViewChanged: topListing.filterViewChanged(filterState) | 84 | onFilterViewChanged: topListing.filterViewChanged(expandedFilterView) | ||
85 | 85 | | |||
86 | onShowArtist: topListing.showArtist(topListing.contentModel.sourceModel.author) | 86 | onShowArtist: topListing.showArtist(topListing.contentModel.sourceModel.author) | ||
87 | 87 | | |||
88 | onEnqueue: contentModel.enqueueToPlayList() | 88 | onEnqueue: contentModel.enqueueToPlayList() | ||
89 | 89 | | |||
90 | onReplaceAndPlay: contentModel.replaceAndPlayOfPlayList() | 90 | onReplaceAndPlay: contentModel.replaceAndPlayOfPlayList() | ||
91 | } | 91 | } | ||
92 | 92 | | |||
Show All 39 Lines |