Changeset View
Changeset View
Standalone View
Standalone View
src/qml/NavigationActionBar.qml
Show All 27 Lines | 24 | ColumnLayout { | |||
---|---|---|---|---|---|
28 | 28 | | |||
29 | anchors.topMargin: elisaTheme.layoutVerticalMargin | 29 | anchors.topMargin: elisaTheme.layoutVerticalMargin | ||
30 | anchors.bottomMargin: elisaTheme.layoutVerticalMargin | 30 | anchors.bottomMargin: elisaTheme.layoutVerticalMargin | ||
31 | 31 | | |||
32 | property string mainTitle | 32 | property string mainTitle | ||
33 | property string secondaryTitle | 33 | property string secondaryTitle | ||
34 | property url image | 34 | property url image | ||
35 | property bool allowArtistNavigation: false | 35 | property bool allowArtistNavigation: false | ||
36 | property bool showEnqueueButton: true | ||||
36 | 37 | | |||
37 | property string labelText | 38 | property string labelText | ||
38 | property bool showRating: true | 39 | property bool showRating: true | ||
39 | property alias filterText: filterTextInput.text | 40 | property alias filterText: filterTextInput.text | ||
40 | property alias filterRating: ratingFilter.starRating | 41 | property alias filterRating: ratingFilter.starRating | ||
41 | property bool enableGoBack: true | 42 | property bool enableGoBack: true | ||
42 | property bool expandedFilterView: persistentSettings.expandedFilterView | 43 | property bool expandedFilterView: persistentSettings.expandedFilterView | ||
43 | property bool enableSorting: true | 44 | property bool enableSorting: true | ||
▲ Show 20 Lines • Show All 144 Lines • ▼ Show 20 Line(s) | 184 | Controls1.Button { | |||
188 | activeFocusOnTab: true | 189 | activeFocusOnTab: true | ||
189 | focus: true | 190 | focus: true | ||
190 | 191 | | |||
191 | onClicked: enqueue() | 192 | onClicked: enqueue() | ||
192 | Keys.onReturnPressed: enqueue() | 193 | Keys.onReturnPressed: enqueue() | ||
193 | 194 | | |||
194 | Layout.leftMargin: 0 | 195 | Layout.leftMargin: 0 | ||
195 | Layout.rightMargin: 0 | 196 | Layout.rightMargin: 0 | ||
197 | | ||||
198 | visible: navigationBar.showEnqueueButton | ||||
196 | } | 199 | } | ||
197 | 200 | | |||
198 | Controls1.Button { | 201 | Controls1.Button { | ||
199 | objectName: 'replaceAndPlayButton' | 202 | objectName: 'replaceAndPlayButton' | ||
200 | text: i18nc("Clear playlist and play", "Replace and Play") | 203 | text: i18nc("Clear playlist and play", "Replace and Play") | ||
201 | tooltip: i18nc("Clear playlist and add current list to it", "Replace PlayList and Play Now") | 204 | tooltip: i18nc("Clear playlist and add current list to it", "Replace PlayList and Play Now") | ||
202 | iconName: "media-playback-start" | 205 | iconName: "media-playback-start" | ||
203 | 206 | | |||
204 | activeFocusOnTab: true | 207 | activeFocusOnTab: true | ||
205 | 208 | | |||
206 | onClicked: replaceAndPlay() | 209 | onClicked: replaceAndPlay() | ||
207 | Keys.onReturnPressed: replaceAndPlay() | 210 | Keys.onReturnPressed: replaceAndPlay() | ||
208 | 211 | | |||
209 | Layout.leftMargin: !LayoutMirroring.enabled ? elisaTheme.layoutHorizontalMargin : 0 | 212 | Layout.leftMargin: !LayoutMirroring.enabled ? elisaTheme.layoutHorizontalMargin : 0 | ||
210 | Layout.rightMargin: LayoutMirroring.enabled ? elisaTheme.layoutHorizontalMargin : 0 | 213 | Layout.rightMargin: LayoutMirroring.enabled ? elisaTheme.layoutHorizontalMargin : 0 | ||
214 | | ||||
215 | visible: navigationBar.showEnqueueButton | ||||
211 | } | 216 | } | ||
212 | 217 | | |||
213 | Controls1.Button { | 218 | Controls1.Button { | ||
214 | objectName: 'showArtistButton' | 219 | objectName: 'showArtistButton' | ||
215 | id: showArtistButton | 220 | id: showArtistButton | ||
216 | 221 | | |||
217 | visible: allowArtistNavigation | 222 | visible: allowArtistNavigation | ||
218 | text: i18nc("Button to navigate to the artist of the album", "Display Artist") | 223 | text: i18nc("Button to navigate to the artist of the album", "Display Artist") | ||
▲ Show 20 Lines • Show All 195 Lines • Show Last 20 Lines |