mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-30 12:49:40 +00:00
parent
d623c45b76
commit
dbc1f82678
1 changed files with 19 additions and 20 deletions
|
@ -64,6 +64,25 @@ ApplicationWindow {
|
||||||
height: parent.height
|
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 {
|
FileDialog {
|
||||||
id: fileDialog
|
id: fileDialog
|
||||||
//nameFilters: [TODO globs from mime types]
|
//nameFilters: [TODO globs from mime types]
|
||||||
|
@ -94,26 +113,6 @@ ApplicationWindow {
|
||||||
height: 40//childrenRect.height + 20
|
height: 40//childrenRect.height + 20
|
||||||
radius: 5
|
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 {
|
Rectangle {
|
||||||
id: settings
|
id: settings
|
||||||
width: 150; height: settingsView.contentHeight
|
width: 150; height: settingsView.contentHeight
|
||||||
|
|
Loading…
Reference in a new issue