summaryrefslogtreecommitdiffstats
path: root/basicsuite/mediaplayer/ControlBar.qml
diff options
context:
space:
mode:
authorJuho Annunen <juho.annunen@qt.io>2018-06-18 14:37:08 +0300
committerJuho Annunen <juho.annunen@qt.io>2018-06-18 11:57:54 +0000
commitc20966fc4163ceccaa884e6b6253729dfa4776a7 (patch)
tree6496090c619e4a1e8858db0662a1dfa0fdf219f1 /basicsuite/mediaplayer/ControlBar.qml
parent0b0d77ed36616ec7c10d7ceb5ea90196b11d4ff8 (diff)
Move info button to mediaplayer-demo footer
Task-number: QTBUG-68674 Change-Id: I4e2c3dc499461dcbb9c4d6e8a03027d70419c160 Reviewed-by: Kimmo Ollila <kimmo.ollila@qt.io>
Diffstat (limited to 'basicsuite/mediaplayer/ControlBar.qml')
-rw-r--r--basicsuite/mediaplayer/ControlBar.qml10
1 files changed, 10 insertions, 0 deletions
diff --git a/basicsuite/mediaplayer/ControlBar.qml b/basicsuite/mediaplayer/ControlBar.qml
index f05cea8..fed8a77 100644
--- a/basicsuite/mediaplayer/ControlBar.qml
+++ b/basicsuite/mediaplayer/ControlBar.qml
@@ -172,6 +172,7 @@ Rectangle {
imageSource: "images/FXButton.png"
checkable: true
checked: effectSelectionPanel.visible
+
onClicked: {
openFX();
}
@@ -179,6 +180,7 @@ Rectangle {
ImageButton {
id: fileButton
imageSource: "images/FileButton.png"
+
onClicked: {
openFile();
}
@@ -186,10 +188,18 @@ Rectangle {
ImageButton {
id: urlButton
imageSource: "images/UrlButton.png"
+
onClicked: {
openURL();
}
}
+ ImageButton{
+ id: infoButton
+
+ imageSource: "images/info_icon.svg"
+ onClicked: metadataView.opacity = 1
+ visible: content.videoPlayer.mediaPlayer.status !== MediaPlayer.NoMedia && content.videoPlayer.mediaPlayer.status !== MediaPlayer.InvalidMedia
+ }
}
VolumeControl {