Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Matthieu Gallien
Elisa
Commits
975dc099
Commit
975dc099
authored
Aug 26, 2019
by
Alexander Stippich
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove unrequired file
parent
aa0cd617
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
89 deletions
+0
-89
src/qml/MediaAlbumTrackDelegate.qml
src/qml/MediaAlbumTrackDelegate.qml
+0
-89
No files found.
src/qml/MediaAlbumTrackDelegate.qml
deleted
100644 → 0
View file @
aa0cd617
/*
* Copyright 2016-2017 Matthieu Gallien <matthieu_gallien@yahoo.fr>
* Copyright 2017 Alexander Stippich <a.stippich@gmx.net>
*
* This program is free software: you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 3 of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
import
QtQuick
2.7
import
QtQuick
.
Layouts
1.2
FocusScope
{
id
:
albumTrack
property
alias
mediaTrack
:
mediaTrack
property
alias
databaseId
:
mediaTrack
.
databaseId
property
alias
title
:
mediaTrack
.
title
property
alias
artist
:
mediaTrack
.
artist
property
alias
album
:
mediaTrack
.
album
property
alias
albumArtist
:
mediaTrack
.
albumArtist
property
alias
duration
:
mediaTrack
.
duration
property
alias
imageUrl
:
mediaTrack
.
imageUrl
property
alias
trackNumber
:
mediaTrack
.
trackNumber
property
alias
discNumber
:
mediaTrack
.
discNumber
property
alias
rating
:
mediaTrack
.
rating
property
alias
isFirstTrackOfDisc
:
mediaTrack
.
isFirstTrackOfDisc
property
alias
isSingleDiscAlbum
:
mediaTrack
.
isSingleDiscAlbum
property
alias
isSelected
:
mediaTrack
.
isSelected
property
alias
isAlternateColor
:
mediaTrack
.
isAlternateColor
Accessible.role
:
Accessible
.
ListItem
Accessible.name
:
title
Accessible.description
:
title
ColumnLayout
{
anchors.fill
:
parent
spacing
:
0
Rectangle
{
Layout.preferredHeight
:
elisaTheme
.
delegateHeight
Layout.minimumHeight
:
elisaTheme
.
delegateHeight
Layout.maximumHeight
:
elisaTheme
.
delegateHeight
Layout.fillWidth
:
true
color
:
(
isAlternateColor
?
myPalette
.
alternateBase
:
myPalette
.
base
)
visible
:
isFirstTrackOfDisc
&&
!
isSingleDiscAlbum
LabelWithToolTip
{
id
:
discHeaderLabel
text
:
'
CD
'
+
discNumber
font.weight
:
Font
.
Bold
font.italic
:
true
color
:
myPalette
.
text
anchors.fill
:
parent
anchors.topMargin
:
elisaTheme
.
layoutVerticalMargin
anchors.leftMargin
:
elisaTheme
.
layoutHorizontalMargin
elide
:
Text
.
ElideRight
}
}
MediaTrackDelegate
{
id
:
mediaTrack
Layout.preferredHeight
:
elisaTheme
.
delegateHeight
Layout.minimumHeight
:
elisaTheme
.
delegateHeight
Layout.maximumHeight
:
elisaTheme
.
delegateHeight
Layout.fillWidth
:
true
focus
:
true
detailedView
:
false
}
}
}
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