diff options
author | Marius Vlad <marius.vlad@collabora.com> | 2021-09-30 15:20:15 +0300 |
---|---|---|
committer | Marius Vlad <marius.vlad@collabora.com> | 2021-10-18 16:38:11 +0300 |
commit | 09b5eb1b42910e84612a37a0fb44629c73eee3e7 (patch) | |
tree | 582352c2f273a913658985485e784e4119127f81 /homescreen/qml/MediaAreaBlank.qml | |
parent | 187fffa9f0a05359678887f30b58091cf7c5fc47 (diff) |
Removal of libhomescreen and appfw depssandbox/mvlad/flatpak-integration
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: I794962edc5ad059182a0e324d74365fae6e9c8ed
Diffstat (limited to 'homescreen/qml/MediaAreaBlank.qml')
-rw-r--r-- | homescreen/qml/MediaAreaBlank.qml | 39 |
1 files changed, 21 insertions, 18 deletions
diff --git a/homescreen/qml/MediaAreaBlank.qml b/homescreen/qml/MediaAreaBlank.qml index c971f6e..cdaa1a0 100644 --- a/homescreen/qml/MediaAreaBlank.qml +++ b/homescreen/qml/MediaAreaBlank.qml @@ -18,8 +18,8 @@ import QtQuick 2.2 import QtQuick.Layouts 1.1 import QtQuick.Controls 2.0 -import AGL.Demo.Controls 1.0 -import MasterVolume 1.0 +//import AGL.Demo.Controls 1.0 +//import MasterVolume 1.0 Image { anchors.fill: parent @@ -55,13 +55,11 @@ Image { PropertyChanges { target: master_volume; opacity: 1.0 } PropertyChanges { target: slider; enabled: true } PropertyChanges { target: logo_image; opacity: 0.0 } - PropertyChanges { target: speech_chrome; visible: false } }, State { when: !displayVolume; PropertyChanges { target: master_volume; opacity: 0.0 } PropertyChanges { target: slider; enabled: false } PropertyChanges { target: logo_image; opacity: 1.0 } - PropertyChanges { target: speech_chrome; visible: speech_chrome.agentPresent } } ] @@ -69,13 +67,18 @@ Image { NumberAnimation { property: "opacity"; duration: 500} } - MasterVolume { - id: mv - objectName: "mv" - onVolumeChanged: slider.value = volume - Component.onCompleted: { - mv.open(bindingAddress); - } + //MasterVolume { + // id: mv + // objectName: "mv" + // onVolumeChanged: slider.value = volume + // Component.onCompleted: { + // mv.open(bindingAddress); + // } + //} + + Item { + id: mv + property double volume: 0 } Item { @@ -123,11 +126,11 @@ Image { } } - SpeechChrome { - id: speech_chrome - anchors.left: parent.left - anchors.right: parent.right - anchors.bottom: parent.bottom - height: parent.height - } + //SpeechChrome { + // id: speech_chrome + // anchors.left: parent.left + // anchors.right: parent.right + // anchors.bottom: parent.bottom + // height: parent.height + //} } |