Commit f1e9fd80 authored by Camilo higuita's avatar Camilo higuita

update props to changes on mauikit

parent ce207dab
......@@ -530,8 +530,8 @@ Maui.ApplicationWindow
footBarOverlap: true
altToolBars: true
footBarVisible: !mainlistEmpty
headBarVisible: !mainlistEmpty
footBar.visible: !mainlistEmpty
headBar.visible: !mainlistEmpty
footBar.leftContent: Label
{
......@@ -613,7 +613,7 @@ Maui.ApplicationWindow
Maui.Page
{
id: views
headBarVisible: false
headBar.visible: false
margins: 0
// focusPolicy: Qt.WheelFocus
// visualFocus: true
......
......@@ -96,7 +96,7 @@ ColumnLayout
trackRating: true
trackDuration: false
allowMenu: false
headBarVisible: true
headBar.visible: true
headBarExitIcon: "go-previous"
headBarExit: !linkingPage.wideMode
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
pulpo.setInfo(PULPO::INFO::METADATA);
QEventLoop loop;
QTimer timer;
connect(&timer, &QTimer::timeout, &loop, &QEventLoop::quit);
......
......@@ -240,7 +240,7 @@ Page
Layout.fillHeight: true
Layout.fillWidth: true
trackNumberVisible: false
headBarVisible: true
headBar.visible: true
headBarExit: true
headBarExitIcon: "edit-clear"
headBarTitle: "YouTube"
......
......@@ -191,8 +191,6 @@ ItemDelegate
{
Layout.fillWidth: true
Layout.alignment: Qt.AlignTop
// Layout.margins: space.medium
Label
{
......
......@@ -50,7 +50,7 @@ BabeList
headBar.leftContent: Maui.ToolButton
{
id : playAllBtn
visible : headBarVisible && count > 0
visible : headBar.visible && count > 0
anim : true
iconName : "media-playlist-play"
onClicked : playAll()
......@@ -61,7 +61,7 @@ BabeList
Maui.ToolButton
{
id: appendBtn
visible: headBarVisible && count > 0
visible: headBar.visible && count > 0
anim : true
iconName : "media-playlist-append"//"media-repeat-track-amarok"
onClicked: appendAll()
......
......@@ -26,7 +26,7 @@ Maui.Dialog
Layout.fillHeight: 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/>"
ListModel { id: listModel }
model: listModel
......
......@@ -35,12 +35,12 @@ BabeGrid
visible: true
// topPadding: space.large
onAlbumCoverPressed: albumCoverPressedAndHold(album, artist)
headBarVisible: true
headBar.visible: true
headBarExit: false
headBar.leftContent: Maui.ToolButton
{
id : playAllBtn
visible : headBarVisible && albumsViewGrid.count > 0
visible : headBar.visible && albumsViewGrid.count > 0
anim : true
iconName : "media-playlist-play"
onClicked : playAll()
......@@ -51,7 +51,7 @@ BabeGrid
Maui.ToolButton
{
id: appendBtn
visible: headBarVisible && albumsViewGrid.count > 0
visible: headBar.visible && albumsViewGrid.count > 0
anim : true
iconName : "media-playlist-append"//"media-repeat-track-amarok"
onClicked: appendAll()
......@@ -88,7 +88,7 @@ BabeGrid
Layout.fillHeight: true
Layout.fillWidth: true
trackNumberVisible: true
headBarVisible: true
headBar.visible: true
headBarExit: false
coverArtVisible: true
quickPlayVisible: true
......
......@@ -311,7 +311,7 @@ Maui.Page
initialItem: BabeTable
{
id: table
headBarVisible: false
headBar.visible: false
quickPlayVisible: false
coverArtVisible: true
trackRating: true
......
......@@ -102,7 +102,7 @@ Kirigami.PageRow
coverArtVisible: true
trackRating: true
trackDuration: false
headBarVisible: !holder.visible
headBar.visible: !holder.visible
headBarExitIcon: "go-previous"
headBarExit: !playlistViewRoot.wideMode
headBarTitle: playlistViewModel.model.get(playlistViewModel.currentIndex).playlist
......
......@@ -18,7 +18,7 @@ Maui.Popup
{
id: suggestionsList
anchors.fill: parent
headBarVisible: false
headBar.visible: false
model: ListModel {id: suggestionsModel}
section.property : "type"
......
......@@ -25,7 +25,7 @@ BabeTable
Layout.fillHeight: true
Layout.fillWidth: true
trackNumberVisible: false
headBarVisible: true
headBar.visible: true
headBarExit: true
headBarExitIcon: "edit-clear"
holder.emoji: "qrc:/assets/BugSearch.png"
......
......@@ -32,7 +32,7 @@ Maui.Popup
{
id: sources
anchors.fill: parent
headBarVisible: true
headBar.visible: true
headBarExit: true
headBarTitle: qsTr("Sources")
Layout.fillWidth: true
......
......@@ -11,7 +11,7 @@ BabeTable
trackNumberVisible: false
trackDuration: true
trackRating: true
headBarVisible: !holder.visible
headBar.visible: !holder.visible
headBarTitle: count + " tracks"
headBarExit: 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