Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Steve Lhomme
VLC
Commits
8fa5fe13
Commit
8fa5fe13
authored
Jun 05, 2020
by
Prince Gupta
Committed by
Pierre Lamot
Jun 09, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
qml: show play cover on VideoList cover images
parent
0ea1f979
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
1 deletion
+12
-1
modules/gui/qt/medialibrary/qml/VideoListDisplay.qml
modules/gui/qt/medialibrary/qml/VideoListDisplay.qml
+12
-1
No files found.
modules/gui/qt/medialibrary/qml/VideoListDisplay.qml
View file @
8fa5fe13
...
@@ -64,6 +64,8 @@ Widgets.KeyNavigableTableView {
...
@@ -64,6 +64,8 @@ Widgets.KeyNavigableTableView {
property
var
rowModel
:
parent
.
rowModel
property
var
rowModel
:
parent
.
rowModel
property
var
model
:
parent
.
colModel
property
var
model
:
parent
.
colModel
readonly
property
bool
currentlyFocused
:
parent
.
currentlyFocused
readonly
property
bool
containsMouse
:
parent
.
containsMouse
anchors.fill
:
parent
anchors.fill
:
parent
...
@@ -106,7 +108,7 @@ Widgets.KeyNavigableTableView {
...
@@ -106,7 +108,7 @@ Widgets.KeyNavigableTableView {
}
}
Widgets.VideoProgressBar
{
Widgets.VideoProgressBar
{
value
:
!
rowModel
?
0
:
rowModel
.
progress
value
:
!
rowModel
?
0
:
rowModel
.
progress
visible
:
value
>
0
visible
:
!
playCover
.
visible
&&
value
>
0
anchors
{
anchors
{
bottom
:
parent
.
bottom
bottom
:
parent
.
bottom
left
:
parent
.
left
left
:
parent
.
left
...
@@ -114,6 +116,15 @@ Widgets.KeyNavigableTableView {
...
@@ -114,6 +116,15 @@ Widgets.KeyNavigableTableView {
}
}
}
}
Widgets.PlayCover
{
id
:
playCover
anchors.fill
:
parent
iconSize
:
VLCStyle
.
play_cover_small
visible
:
colDel
.
currentlyFocused
||
colDel
.
containsMouse
onIconClicked
:
medialib
.
addAndPlay
(
rowModel
.
id
)
}
}
}
}
}
Loader
{
Loader
{
...
...
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