summaryrefslogtreecommitdiffstats
path: root/examples/multimedia/video/mediaplayer
diff options
context:
space:
mode:
authorAssam Boudjelthia <assam.boudjelthia@qt.io>2021-09-15 14:25:49 +0300
committerAssam Boudjelthia <assam.boudjelthia@qt.io>2021-09-17 10:06:43 +0300
commita3c15ba4984f2e7f903e48cfd273af2f3861f083 (patch)
tree0791d136baf681e59bd94f7c8cd04fc7ab86211c /examples/multimedia/video/mediaplayer
parent34bb2dbfa3b8cce2f8deaf300e410420ea5749b8 (diff)
Hide the metadata and tracks side bar when videoOutput is tapped
Pick-to: 6.2 6.2.0 Change-Id: I7ec3e321335877831930b7ffa1076b79c87fcdef Reviewed-by: Samuel Mira <samuel.mira@qt.io> Reviewed-by: Piotr Srebrny <piotr.srebrny@qt.io> Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'examples/multimedia/video/mediaplayer')
-rw-r--r--examples/multimedia/video/mediaplayer/main.qml6
1 files changed, 6 insertions, 0 deletions
diff --git a/examples/multimedia/video/mediaplayer/main.qml b/examples/multimedia/video/mediaplayer/main.qml
index c818b17fa..0bbf672ac 100644
--- a/examples/multimedia/video/mediaplayer/main.qml
+++ b/examples/multimedia/video/mediaplayer/main.qml
@@ -126,6 +126,12 @@ Window {
parent.fullScreen ? showNormal() : showFullScreen()
parent.fullScreen = !parent.fullScreen
}
+ onTapped: {
+ metadataInfo.visible = false
+ audioTracksInfo.visible = false
+ videoTracksInfo.visible = false
+ subtitleTracksInfo.visible = false
+ }
}
}