Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
VVave
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Boards
Labels
Milestones
Merge Requests
3
Merge Requests
3
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
KDE
VVave
Commits
3f14bad9
Commit
3f14bad9
authored
Jul 20, 2019
by
camilo higuita
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
more fixes for new page
parent
0cb4a908
Changes
9
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
215 additions
and
204 deletions
+215
-204
main.qml
main.qml
+158
-157
models/basemodel.cpp
models/basemodel.cpp
+3
-0
models/playlists/playlistsmodel.cpp
models/playlists/playlistsmodel.cpp
+2
-0
view_models/BabeTable/PlaylistDialog.qml
view_models/BabeTable/PlaylistDialog.qml
+1
-0
widgets/AlbumsView.qml
widgets/AlbumsView.qml
+2
-0
widgets/MainPlaylist/AlbumsRoll.qml
widgets/MainPlaylist/AlbumsRoll.qml
+1
-1
widgets/MainPlaylist/MainPlaylist.qml
widgets/MainPlaylist/MainPlaylist.qml
+44
-45
widgets/PlaylistsView/PlaylistsView.qml
widgets/PlaylistsView/PlaylistsView.qml
+2
-0
widgets/PlaylistsView/PlaylistsViewModel.qml
widgets/PlaylistsView/PlaylistsViewModel.qml
+2
-1
No files found.
main.qml
View file @
3f14bad9
This diff is collapsed.
Click to expand it.
models/basemodel.cpp
View file @
3f14bad9
...
...
@@ -114,7 +114,10 @@ void BaseModel::setList(BaseList *value)
QVariantMap
BaseModel
::
get
(
const
int
&
index
)
const
{
if
(
this
->
mList
)
return
this
->
mList
->
get
(
index
);
return
QVariantMap
();
}
void
BaseModel
::
clear
()
...
...
models/playlists/playlistsmodel.cpp
View file @
3f14bad9
...
...
@@ -80,6 +80,8 @@ void PlaylistsModel::setList()
this
->
list
<<
this
->
db
->
getPlaylists
();
this
->
list
<<
this
->
defaultPlaylists
();
qDebug
()
<<
this
->
list
;
// this->sortList();
emit
this
->
postListChanged
();
}
...
...
view_models/BabeTable/PlaylistDialog.qml
View file @
3f14bad9
...
...
@@ -14,6 +14,7 @@ Maui.Dialog
property
var
tracks
:
[]
maxHeight
:
400
*
unit
page.padding
:
space
.
medium
ColumnLayout
{
...
...
widgets/AlbumsView.qml
View file @
3f14bad9
...
...
@@ -102,6 +102,8 @@ BabeGrid
maxHeight
:
maxWidth
maxWidth
:
unit
*
600
defaultButtons
:
false
page.padding
:
0
// verticalAlignment: Qt.AlignBottom
ColumnLayout
...
...
widgets/MainPlaylist/AlbumsRoll.qml
View file @
3f14bad9
...
...
@@ -108,7 +108,7 @@ ListView
{
anchors.fill
:
parent
preventStealing
:
true
parent
:
applicationWindow
().
overlay
.
parent
//
parent: applicationWindow().overlay.parent
onPressed
:
{
...
...
widgets/MainPlaylist/MainPlaylist.qml
View file @
3f14bad9
...
...
@@ -51,51 +51,50 @@ Maui.Page
id
:
albumsRoll
}
// footBar.background: Rectangle
// {
// id: footerBg
// clip : true
// height: footBar.implicitHeight
// color: "transparent"
// Image
// {
// id: artworkBg
// height: parent.height
// width: parent.width
// sourceSize.width: parent.width
// sourceSize.height: parent.height
// fillMode: Image.PreserveAspectCrop
// cache: true
// antialiasing: true
// smooth: true
// asynchronous: true
// source: "file://"+encodeURIComponent(currentArtwork)
// }
// FastBlur
// {
// id: fastBlur
// anchors.fill: parent
// y:1
// source: artworkBg
// radius: 100
// transparentBorder: false
// cached: true
// z:1
// clip: true
// Rectangle
// {
// anchors.fill: parent
// color: viewBackgroundColor
// opacity: 0.85
// }
// }
// }
footBar.background
:
Item
{
id
:
footerBg
clip
:
true
height
:
footBar
.
implicitHeight
Image
{
id
:
artworkBg
height
:
parent
.
height
width
:
parent
.
width
sourceSize.width
:
parent
.
width
sourceSize.height
:
parent
.
height
fillMode
:
Image
.
PreserveAspectCrop
cache
:
true
antialiasing
:
true
smooth
:
true
asynchronous
:
true
source
:
"
file://
"
+
encodeURIComponent
(
currentArtwork
)
}
FastBlur
{
id
:
fastBlur
anchors.fill
:
parent
y
:
1
source
:
artworkBg
radius
:
100
transparentBorder
:
false
cached
:
true
z
:
1
clip
:
true
Rectangle
{
anchors.fill
:
parent
color
:
viewBackgroundColor
opacity
:
0.85
}
}
}
ColumnLayout
...
...
widgets/PlaylistsView/PlaylistsView.qml
View file @
3f14bad9
...
...
@@ -44,6 +44,7 @@ ColumnLayout
BabeList
{
id
:
playlistViewModelFilter
// headBarExitIcon: "go-previous"
headBar.leftContent
:
ToolButton
{
icon.name
:
"
go-previous
"
...
...
@@ -58,6 +59,7 @@ ColumnLayout
Connections
{
target
:
delegate
onClicked
:
{}
}
}
...
...
widgets/PlaylistsView/PlaylistsViewModel.qml
View file @
3f14bad9
...
...
@@ -19,6 +19,8 @@ BabeList
id
:
control
property
alias
list
:
_playlistsList
signal
playSync
(
int
index
)
title
:
"
Playlists
"
Maui.NewDialog
...
...
@@ -30,7 +32,6 @@ BabeList
rejectButton.visible
:
false
}
signal
playSync
(
int
index
)
headBar.rightContent
:
Kirigami.ActionToolBar
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment