Commit ce207dab authored by Camilo higuita's avatar Camilo higuita

changes for news in mauikit

parent 7b7391ef
......@@ -28,6 +28,7 @@ import "utils/Player.js" as Player
import org.kde.kirigami 2.2 as Kirigami
import org.kde.mauikit 1.0 as Maui
import FMList 1.0
Maui.ApplicationWindow
{
......@@ -276,6 +277,10 @@ Maui.ApplicationWindow
Maui.FileDialog
{
id: fmDialog
onlyDirs: false
filterType: FMList.AUDIO
sortBy: FMList.MODIFIED
mode: modes.OPEN
}
SourcesDialog
......@@ -345,15 +350,17 @@ Maui.ApplicationWindow
MenuSeparator{},
Maui.MenuItem
{
text: qsTr("Sources...")
onTriggered: sourcesDialog.open()
},
Maui.Menu
{
title: qsTr("Collection")
Maui.MenuItem
{
text: qsTr("Sources...")
}
Maui.MenuItem
{
......
......@@ -24,7 +24,6 @@
<file>widgets/InfoView/LyricsView.qml</file>
<file>widgets/PlaylistsView/PlaylistsViewModel.qml</file>
<file>utils/Props.js</file>
<file>widgets/SettingsView/SettingsView.qml</file>
<file>widgets/MyBeatView/LogginForm.qml</file>
<file>widgets/SettingsView/SourcesDialog.qml</file>
<file>assets/banner.png</file>
......
......@@ -17,7 +17,6 @@ Page
clip: true
SwipeView
{
id: infoSwipeView
......@@ -181,10 +180,7 @@ Page
wrapMode: Text.Wrap
}
}
}
}
}
}
import QtQuick 2.9
import QtQuick.Layouts 1.3
import QtQuick.Controls 2.2
import org.kde.kirigami 2.2 as Kirigami
import "../../utils/Help.js" as H
import "../../view_models"
import"../../services/local"
Kirigami.GlobalDrawer
{
id: settingsView
handleVisible: false
signal iconSizeChanged(int size)
readonly property bool activeBrainz : false /*bae.brainzState()*/
visible: false
y: header.height
height: parent.height - header.height - footer.height
// // width: root.pageStack.wideMode ? views.width -1: root.width
// edge: Qt.RightEdge
// interactive: true
// focus: true
modal:true
// dragMargin :0
topPadding: 0
bottomPadding: 0
leftPadding: 0
rightPadding: 0
// handle.y : 64
// handle.anchors.verticalCenter: parent.verticalCenter
// handle.anchors.top: parent.bottom
// handle.focus: false
// handle.y : coverSize
//handle.parent: ApplicationWindow.overlay
}
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