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