Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
VLC
Manage
Activity
Members
Labels
Plan
Issues
4k
Issue boards
Milestones
Code
Merge requests
450
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
VideoLAN
VLC
Commits
ba3b8ef1
Commit
ba3b8ef1
authored
4 years ago
by
Prince Gupta
Committed by
Pierre Lamot
4 years ago
Browse files
Options
Downloads
Patches
Plain Diff
qml: add shadows to TableColumns.titleDelegate
Signed-off-by:
Pierre Lamot
<
pierre@videolabs.io
>
parent
ad0ad3b3
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
modules/gui/qt/widgets/qml/TableColumns.qml
+19
-9
19 additions, 9 deletions
modules/gui/qt/widgets/qml/TableColumns.qml
with
19 additions
and
9 deletions
modules/gui/qt/widgets/qml/TableColumns.qml
+
19
−
9
View file @
ba3b8ef1
...
...
@@ -44,17 +44,27 @@ Item {
anchors.fill
:
parent
spacing
:
VLCStyle
.
margin_normal
Widgets.MediaCover
{
source
:
(
!
rowModel
||
root
.
showTitleText
?
rowModel
.
cover
:
rowModel
[
model
.
criteria
])
||
VLCStyle
.
noArtCover
mipmap
:
true
// this widget can down scale the source a lot, so for better visuals we use mipmap
playCoverVisible
:
currentlyFocused
||
containsMouse
playIconSize
:
VLCStyle
.
play_cover_small
onPlayIconClicked
:
medialib
.
addAndPlay
(
rowModel
.
id
)
radius
:
root
.
titleCover_radius
labels
:
root
.
titlecoverLabels
(
rowModel
)
Item
{
Layout.preferredHeight
:
root
.
titleCover_height
Layout.preferredWidth
:
root
.
titleCover_width
ListCoverShadow
{
source
:
cover
anchors.fill
:
cover
}
Widgets.MediaCover
{
id
:
cover
anchors.fill
:
parent
source
:
(
!
rowModel
||
root
.
showTitleText
?
rowModel
.
cover
:
rowModel
[
model
.
criteria
])
||
VLCStyle
.
noArtCover
mipmap
:
true
// this widget can down scale the source a lot, so for better visuals we use mipmap
playCoverVisible
:
currentlyFocused
||
containsMouse
playIconSize
:
VLCStyle
.
play_cover_small
onPlayIconClicked
:
medialib
.
addAndPlay
(
rowModel
.
id
)
radius
:
root
.
titleCover_radius
labels
:
root
.
titlecoverLabels
(
rowModel
)
}
}
Widgets.ListLabel
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment