mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-13 12:51:16 +00:00
parent
d623c45b76
commit
dbc1f82678
1 changed files with 19 additions and 20 deletions
|
@ -64,6 +64,25 @@ ApplicationWindow {
|
|||
height: parent.height
|
||||
}
|
||||
|
||||
MouseArea {
|
||||
anchors.fill: parent
|
||||
hoverEnabled: true
|
||||
onPositionChanged: {
|
||||
playbar.opacity = 1.0
|
||||
hidetimer.start()
|
||||
}
|
||||
}
|
||||
|
||||
Timer {
|
||||
id: hidetimer
|
||||
interval: 5000
|
||||
onTriggered: {
|
||||
playbar.opacity = 0.0
|
||||
settings.visible = false
|
||||
stop()
|
||||
}
|
||||
}
|
||||
|
||||
FileDialog {
|
||||
id: fileDialog
|
||||
//nameFilters: [TODO globs from mime types]
|
||||
|
@ -94,26 +113,6 @@ ApplicationWindow {
|
|||
height: 40//childrenRect.height + 20
|
||||
radius: 5
|
||||
|
||||
MouseArea {
|
||||
id: mousearea
|
||||
anchors.fill: parent
|
||||
hoverEnabled: true
|
||||
onEntered: {
|
||||
parent.opacity = 1.0
|
||||
hidetimer.start()
|
||||
}
|
||||
}
|
||||
|
||||
Timer {
|
||||
id: hidetimer
|
||||
interval: 10000
|
||||
onTriggered: {
|
||||
parent.opacity = 0.0
|
||||
settings.visible = false
|
||||
stop()
|
||||
}
|
||||
}
|
||||
|
||||
Rectangle {
|
||||
id: settings
|
||||
width: 150; height: settingsView.contentHeight
|
||||
|
|
Loading…
Reference in a new issue