Changeset View
Changeset View
Standalone View
Standalone View
src/qml/ListBrowserView.qml
Show All 35 Lines | 27 | FocusScope { | |||
---|---|---|---|---|---|
36 | property alias contentModel: contentDirectoryView.model | 36 | property alias contentModel: contentDirectoryView.model | ||
37 | property alias expandedFilterView: navigationBar.expandedFilterView | 37 | property alias expandedFilterView: navigationBar.expandedFilterView | ||
38 | property alias showRating: navigationBar.showRating | 38 | property alias showRating: navigationBar.showRating | ||
39 | property alias allowArtistNavigation: navigationBar.allowArtistNavigation | 39 | property alias allowArtistNavigation: navigationBar.allowArtistNavigation | ||
40 | property var delegateWidth: scrollBar.visible ? contentDirectoryView.width - scrollBar.width : contentDirectoryView.width | 40 | property var delegateWidth: scrollBar.visible ? contentDirectoryView.width - scrollBar.width : contentDirectoryView.width | ||
41 | property alias currentIndex: contentDirectoryView.currentIndex | 41 | property alias currentIndex: contentDirectoryView.currentIndex | ||
42 | property alias enableSorting: navigationBar.enableSorting | 42 | property alias enableSorting: navigationBar.enableSorting | ||
43 | property var stackView | 43 | property var stackView | ||
44 | property bool showEnqueueButton: true | ||||
44 | 45 | | |||
45 | signal goBack() | 46 | signal goBack() | ||
astippich: is this one used? | |||||
jguidon: Yes, it is now used in the Connection in DataListView.qml | |||||
46 | signal showArtist(var name) | 47 | signal showArtist(var name) | ||
47 | 48 | | |||
48 | SystemPalette { | 49 | SystemPalette { | ||
49 | id: myPalette | 50 | id: myPalette | ||
50 | colorGroup: SystemPalette.Active | 51 | colorGroup: SystemPalette.Active | ||
51 | } | 52 | } | ||
52 | 53 | | |||
53 | Theme { | 54 | Theme { | ||
Show All 11 Lines | 62 | NavigationActionBar { | |||
65 | sortOrder: contentModel.sortedAscending | 66 | sortOrder: contentModel.sortedAscending | ||
66 | 67 | | |||
67 | height: elisaTheme.navigationBarHeight | 68 | height: elisaTheme.navigationBarHeight | ||
68 | Layout.preferredHeight: height | 69 | Layout.preferredHeight: height | ||
69 | Layout.minimumHeight: height | 70 | Layout.minimumHeight: height | ||
70 | Layout.maximumHeight: height | 71 | Layout.maximumHeight: height | ||
71 | Layout.fillWidth: true | 72 | Layout.fillWidth: true | ||
72 | 73 | | |||
74 | showEnqueueButton: listView.showEnqueueButton | ||||
75 | | ||||
73 | Binding { | 76 | Binding { | ||
74 | target: contentModel | 77 | target: contentModel | ||
75 | property: 'filterText' | 78 | property: 'filterText' | ||
astippich: remove the extra two new lines | |||||
76 | value: navigationBar.filterText | 79 | value: navigationBar.filterText | ||
77 | } | 80 | } | ||
78 | 81 | | |||
79 | Binding { | 82 | Binding { | ||
80 | target: contentModel | 83 | target: contentModel | ||
81 | property: 'filterRating' | 84 | property: 'filterRating' | ||
82 | value: navigationBar.filterRating | 85 | value: navigationBar.filterRating | ||
83 | } | 86 | } | ||
▲ Show 20 Lines • Show All 49 Lines • Show Last 20 Lines |
is this one used?