mirror of
https://github.com/HenkKalkwater/harbour-sailfin.git
synced 2025-09-05 18:22:46 +00:00
Small UI modifications
* Fixed pulleyindicator staying busy in collectionpage * PlaybackBar now correctly disables next/previous buttons * AppWindow now handles the pushing for pages when an items needs to be visited. * Clicking on an item of type audio now starts the audio player
This commit is contained in:
parent
5d521ee189
commit
40d8a58a5a
7 changed files with 35 additions and 17 deletions
|
@ -325,10 +325,10 @@ PanelBackground {
|
|||
}
|
||||
|
||||
PropertyChanges {
|
||||
target: previousButton; opacity: 1; enabled: true;
|
||||
target: previousButton; opacity: 1; enabled: playbackManager.hasPrevious;
|
||||
}
|
||||
PropertyChanges {
|
||||
target: nextButton; opacity: 1; enabled: true;
|
||||
target: nextButton; opacity: 1; enabled: playbackManager.hasNext;
|
||||
}
|
||||
PropertyChanges {
|
||||
target: playModeButton; opacity: 1; enabled: true;
|
||||
|
@ -423,16 +423,24 @@ PanelBackground {
|
|||
allowedOrientations: appWindow.allowedOrientations
|
||||
SilicaFlickable {
|
||||
anchors.fill: parent
|
||||
/*PullDownMenu {
|
||||
MenuItem {
|
||||
PullDownMenu {
|
||||
/*MenuItem {
|
||||
//: Pulley menu item to view detailed media information of a song
|
||||
text: qsTr("Info")
|
||||
}
|
||||
MenuItem {
|
||||
//: Pulley menu item: add music to a playlist
|
||||
text: qsTr("Add to playlist")
|
||||
}*/
|
||||
MenuItem {
|
||||
//: Pulley menu item: stops playback of music
|
||||
text: qsTr("Stop")
|
||||
onClicked: {
|
||||
playbackManager.stop()
|
||||
pageStack.pop()
|
||||
}
|
||||
}
|
||||
}*/
|
||||
}
|
||||
Loader {
|
||||
Component.onCompleted: setSource(Qt.resolvedUrl("PlaybackBar.qml"),
|
||||
{"isFullPage": true, "manager": manager, "y": 0})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue