Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Multimedia
Kdenlive
Commits
72c1fab0
Commit
72c1fab0
authored
Nov 08, 2019
by
Jean-Baptiste Mardelle
Browse files
Make sure clip name appears non faded on audio clips
parent
cf2a3630
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/monitor/view/kdenliveclipmonitor.qml
View file @
72c1fab0
...
...
@@ -70,36 +70,6 @@ Item {
root
.
overlayType
=
controller
.
overlayType
}
Label
{
id
:
clipNameLabel
font
:
fixedFont
anchors
{
top
:
parent
.
top
horizontalCenter
:
parent
.
horizontalCenter
}
color
:
"
white
"
text
:
clipName
background
:
Rectangle
{
color
:
"
#222277
"
}
opacity
:
0
visible
:
clipName
!=
""
height
:
marker
.
height
width
:
textMetricsName
.
width
+
10
padding
:
10
horizontalAlignment
:
TextInput
.
AlignHCenter
TextMetrics
{
id
:
textMetricsName
font
:
clipNameLabel
.
font
text
:
clipNameLabel
.
text
}
SequentialAnimation
{
id
:
showAnimate
running
:
false
NumberAnimation
{
target
:
clipNameLabel
;
duration
:
3000
}
NumberAnimation
{
target
:
clipNameLabel
;
property
:
"
opacity
"
;
to
:
0
;
duration
:
1000
}
}
}
MouseArea
{
id
:
barOverArea
hoverEnabled
:
true
...
...
@@ -203,6 +173,35 @@ Item {
x
:
controller
.
position
*
timeScale
}
}
Label
{
id
:
clipNameLabel
font
:
fixedFont
anchors
{
top
:
parent
.
top
horizontalCenter
:
parent
.
horizontalCenter
}
color
:
"
white
"
text
:
clipName
background
:
Rectangle
{
color
:
"
#222277
"
}
visible
:
clipName
!=
""
height
:
marker
.
height
width
:
textMetricsName
.
width
+
10
padding
:
10
horizontalAlignment
:
TextInput
.
AlignHCenter
TextMetrics
{
id
:
textMetricsName
font
:
clipNameLabel
.
font
text
:
clipNameLabel
.
text
}
SequentialAnimation
{
id
:
showAnimate
running
:
false
NumberAnimation
{
target
:
clipNameLabel
;
duration
:
3000
}
NumberAnimation
{
target
:
clipNameLabel
;
property
:
"
opacity
"
;
to
:
0
;
duration
:
1000
}
}
}
Text
{
id
:
timecode
...
...
Write
Preview
Supports
Markdown
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