Commit f1e9fd80 authored by Camilo higuita's avatar Camilo higuita

update props to changes on mauikit

parent ce207dab
...@@ -530,8 +530,8 @@ Maui.ApplicationWindow ...@@ -530,8 +530,8 @@ Maui.ApplicationWindow
footBarOverlap: true footBarOverlap: true
altToolBars: true altToolBars: true
footBarVisible: !mainlistEmpty footBar.visible: !mainlistEmpty
headBarVisible: !mainlistEmpty headBar.visible: !mainlistEmpty
footBar.leftContent: Label footBar.leftContent: Label
{ {
...@@ -613,7 +613,7 @@ Maui.ApplicationWindow ...@@ -613,7 +613,7 @@ Maui.ApplicationWindow
Maui.Page Maui.Page
{ {
id: views id: views
headBarVisible: false headBar.visible: false
margins: 0 margins: 0
// focusPolicy: Qt.WheelFocus // focusPolicy: Qt.WheelFocus
// visualFocus: true // visualFocus: true
......
...@@ -96,7 +96,7 @@ ColumnLayout ...@@ -96,7 +96,7 @@ ColumnLayout
trackRating: true trackRating: true
trackDuration: false trackDuration: false
allowMenu: false allowMenu: false
headBarVisible: true headBar.visible: true
headBarExitIcon: "go-previous" headBarExitIcon: "go-previous"
headBarExit: !linkingPage.wideMode headBarExit: !linkingPage.wideMode
headBarTitle: linkingPage.wideMode ? "" : linkingModel.model.get(linkingModel.currentIndex).playlist headBarTitle: linkingPage.wideMode ? "" : linkingModel.model.get(linkingModel.currentIndex).playlist
......
...@@ -125,7 +125,6 @@ void youtubedl::processFinished_totally(const int &state,const DB &info,const QP ...@@ -125,7 +125,6 @@ void youtubedl::processFinished_totally(const int &state,const DB &info,const QP
pulpo.setInfo(PULPO::INFO::METADATA); pulpo.setInfo(PULPO::INFO::METADATA);
QEventLoop loop; QEventLoop loop;
QTimer timer; QTimer timer;
connect(&timer, &QTimer::timeout, &loop, &QEventLoop::quit); connect(&timer, &QTimer::timeout, &loop, &QEventLoop::quit);
......
...@@ -240,7 +240,7 @@ Page ...@@ -240,7 +240,7 @@ Page
Layout.fillHeight: true Layout.fillHeight: true
Layout.fillWidth: true Layout.fillWidth: true
trackNumberVisible: false trackNumberVisible: false
headBarVisible: true headBar.visible: true
headBarExit: true headBarExit: true
headBarExitIcon: "edit-clear" headBarExitIcon: "edit-clear"
headBarTitle: "YouTube" headBarTitle: "YouTube"
......
...@@ -191,8 +191,6 @@ ItemDelegate ...@@ -191,8 +191,6 @@ ItemDelegate
{ {
Layout.fillWidth: true Layout.fillWidth: true
Layout.alignment: Qt.AlignTop Layout.alignment: Qt.AlignTop
// Layout.margins: space.medium
Label Label
{ {
......
...@@ -50,7 +50,7 @@ BabeList ...@@ -50,7 +50,7 @@ BabeList
headBar.leftContent: Maui.ToolButton headBar.leftContent: Maui.ToolButton
{ {
id : playAllBtn id : playAllBtn
visible : headBarVisible && count > 0 visible : headBar.visible && count > 0
anim : true anim : true
iconName : "media-playlist-play" iconName : "media-playlist-play"
onClicked : playAll() onClicked : playAll()
...@@ -61,7 +61,7 @@ BabeList ...@@ -61,7 +61,7 @@ BabeList
Maui.ToolButton Maui.ToolButton
{ {
id: appendBtn id: appendBtn
visible: headBarVisible && count > 0 visible: headBar.visible && count > 0
anim : true anim : true
iconName : "media-playlist-append"//"media-repeat-track-amarok" iconName : "media-playlist-append"//"media-repeat-track-amarok"
onClicked: appendAll() onClicked: appendAll()
......
...@@ -26,7 +26,7 @@ Maui.Dialog ...@@ -26,7 +26,7 @@ Maui.Dialog
Layout.fillHeight: true Layout.fillHeight: true
Layout.fillWidth: true Layout.fillWidth: true
headBarVisible: false headBar.visible: false
holder.message: "<h2>There's not playlists</h2><br><p>Create a new one and start adding tracks to it<p/>" holder.message: "<h2>There's not playlists</h2><br><p>Create a new one and start adding tracks to it<p/>"
ListModel { id: listModel } ListModel { id: listModel }
model: listModel model: listModel
......
...@@ -35,12 +35,12 @@ BabeGrid ...@@ -35,12 +35,12 @@ BabeGrid
visible: true visible: true
// topPadding: space.large // topPadding: space.large
onAlbumCoverPressed: albumCoverPressedAndHold(album, artist) onAlbumCoverPressed: albumCoverPressedAndHold(album, artist)
headBarVisible: true headBar.visible: true
headBarExit: false headBarExit: false
headBar.leftContent: Maui.ToolButton headBar.leftContent: Maui.ToolButton
{ {
id : playAllBtn id : playAllBtn
visible : headBarVisible && albumsViewGrid.count > 0 visible : headBar.visible && albumsViewGrid.count > 0
anim : true anim : true
iconName : "media-playlist-play" iconName : "media-playlist-play"
onClicked : playAll() onClicked : playAll()
...@@ -51,7 +51,7 @@ BabeGrid ...@@ -51,7 +51,7 @@ BabeGrid
Maui.ToolButton Maui.ToolButton
{ {
id: appendBtn id: appendBtn
visible: headBarVisible && albumsViewGrid.count > 0 visible: headBar.visible && albumsViewGrid.count > 0
anim : true anim : true
iconName : "media-playlist-append"//"media-repeat-track-amarok" iconName : "media-playlist-append"//"media-repeat-track-amarok"
onClicked: appendAll() onClicked: appendAll()
...@@ -88,7 +88,7 @@ BabeGrid ...@@ -88,7 +88,7 @@ BabeGrid
Layout.fillHeight: true Layout.fillHeight: true
Layout.fillWidth: true Layout.fillWidth: true
trackNumberVisible: true trackNumberVisible: true
headBarVisible: true headBar.visible: true
headBarExit: false headBarExit: false
coverArtVisible: true coverArtVisible: true
quickPlayVisible: true quickPlayVisible: true
......
...@@ -311,7 +311,7 @@ Maui.Page ...@@ -311,7 +311,7 @@ Maui.Page
initialItem: BabeTable initialItem: BabeTable
{ {
id: table id: table
headBarVisible: false headBar.visible: false
quickPlayVisible: false quickPlayVisible: false
coverArtVisible: true coverArtVisible: true
trackRating: true trackRating: true
......
...@@ -102,7 +102,7 @@ Kirigami.PageRow ...@@ -102,7 +102,7 @@ Kirigami.PageRow
coverArtVisible: true coverArtVisible: true
trackRating: true trackRating: true
trackDuration: false trackDuration: false
headBarVisible: !holder.visible headBar.visible: !holder.visible
headBarExitIcon: "go-previous" headBarExitIcon: "go-previous"
headBarExit: !playlistViewRoot.wideMode headBarExit: !playlistViewRoot.wideMode
headBarTitle: playlistViewModel.model.get(playlistViewModel.currentIndex).playlist headBarTitle: playlistViewModel.model.get(playlistViewModel.currentIndex).playlist
......
...@@ -18,7 +18,7 @@ Maui.Popup ...@@ -18,7 +18,7 @@ Maui.Popup
{ {
id: suggestionsList id: suggestionsList
anchors.fill: parent anchors.fill: parent
headBarVisible: false headBar.visible: false
model: ListModel {id: suggestionsModel} model: ListModel {id: suggestionsModel}
section.property : "type" section.property : "type"
......
...@@ -25,7 +25,7 @@ BabeTable ...@@ -25,7 +25,7 @@ BabeTable
Layout.fillHeight: true Layout.fillHeight: true
Layout.fillWidth: true Layout.fillWidth: true
trackNumberVisible: false trackNumberVisible: false
headBarVisible: true headBar.visible: true
headBarExit: true headBarExit: true
headBarExitIcon: "edit-clear" headBarExitIcon: "edit-clear"
holder.emoji: "qrc:/assets/BugSearch.png" holder.emoji: "qrc:/assets/BugSearch.png"
......
...@@ -32,7 +32,7 @@ Maui.Popup ...@@ -32,7 +32,7 @@ Maui.Popup
{ {
id: sources id: sources
anchors.fill: parent anchors.fill: parent
headBarVisible: true headBar.visible: true
headBarExit: true headBarExit: true
headBarTitle: qsTr("Sources") headBarTitle: qsTr("Sources")
Layout.fillWidth: true Layout.fillWidth: true
......
...@@ -11,7 +11,7 @@ BabeTable ...@@ -11,7 +11,7 @@ BabeTable
trackNumberVisible: false trackNumberVisible: false
trackDuration: true trackDuration: true
trackRating: true trackRating: true
headBarVisible: !holder.visible headBar.visible: !holder.visible
headBarTitle: count + " tracks" headBarTitle: count + " tracks"
headBarExit: false headBarExit: false
coverArtVisible: false coverArtVisible: false
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment