From fe9e18e2c52dbe572076c9afd8710b9eef89d0ef Mon Sep 17 00:00:00 2001 From: Marius Vlad Date: Thu, 14 May 2020 00:35:24 +0300 Subject: app: Testing split type of surfaces Signed-off-by: Marius Vlad --- app/MediaPlayer.qml | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'app/MediaPlayer.qml') diff --git a/app/MediaPlayer.qml b/app/MediaPlayer.qml index 4138759..b153a18 100644 --- a/app/MediaPlayer.qml +++ b/app/MediaPlayer.qml @@ -100,6 +100,7 @@ ApplicationWindow { ColumnLayout { anchors.fill: parent + Item { Layout.fillWidth: true Layout.fillHeight: true @@ -235,6 +236,15 @@ ApplicationWindow { } } + // added button to simulate a close + ImageButton { + id: nforward + offImage: './images/AGL_MediaPlayer_ForwardArrow.svg' + onClicked: { + Qt.quit() + } + } + Item { Layout.fillWidth: true } ToggleButton { @@ -312,4 +322,5 @@ ApplicationWindow { } } } + } -- cgit 1.2.3-korg