Code Review
/
apps
/
homescreen.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Add VIS vehicle signal support
[apps/homescreen.git]
/
homescreen
/
qml
/
MediaAreaBlank.qml
diff --git
a/homescreen/qml/MediaAreaBlank.qml
b/homescreen/qml/MediaAreaBlank.qml
index
7a9e8af
..
b758a7d
100644
(file)
--- a/
homescreen/qml/MediaAreaBlank.qml
+++ b/
homescreen/qml/MediaAreaBlank.qml
@@
-19,9
+19,7
@@
import QtQuick 2.2
import QtQuick.Layouts 1.1
import QtQuick.Controls 2.0
import AGL.Demo.Controls 1.0
import QtQuick.Layouts 1.1
import QtQuick.Controls 2.0
import AGL.Demo.Controls 1.0
-/*
import MasterVolume 1.0
import MasterVolume 1.0
-*/
Image {
anchors.fill: parent
Image {
anchors.fill: parent
@@
-68,16
+66,13
@@
Image {
transitions: Transition {
NumberAnimation { property: "opacity"; duration: 500}
}
transitions: Transition {
NumberAnimation { property: "opacity"; duration: 500}
}
-/*
+
MasterVolume {
id: mv
objectName: "mv"
onVolumeChanged: slider.value = volume
MasterVolume {
id: mv
objectName: "mv"
onVolumeChanged: slider.value = volume
- Component.onCompleted: {
- mv.open(bindingAddress);
- }
}
}
-*/
+
Item {
id: master_volume
anchors.fill: parent
Item {
id: master_volume
anchors.fill: parent
@@
-108,10
+103,9
@@
Image {
to: 100
stepSize: 1
snapMode: Slider.SnapOnRelease
to: 100
stepSize: 1
snapMode: Slider.SnapOnRelease
-/*
onValueChanged: mv.volume = value
Component.onCompleted: value = mv.volume
onValueChanged: mv.volume = value
Component.onCompleted: value = mv.volume
-*/
+
onPressedChanged: {
if (pressed) {volume_timer.stop()}
else {volume_timer.restart()}
onPressedChanged: {
if (pressed) {volume_timer.stop()}
else {volume_timer.restart()}