aboutsummaryrefslogtreecommitdiffstats
path: root/homescreen/qml
diff options
context:
space:
mode:
Diffstat (limited to 'homescreen/qml')
-rw-r--r--homescreen/qml/MediaAreaBlank.qml18
-rw-r--r--homescreen/qml/StatusArea.qml8
-rw-r--r--homescreen/qml/TopArea.qml3
-rw-r--r--homescreen/qml/qml.qrc1
4 files changed, 14 insertions, 16 deletions
diff --git a/homescreen/qml/MediaAreaBlank.qml b/homescreen/qml/MediaAreaBlank.qml
index c971f6e..7a9e8af 100644
--- a/homescreen/qml/MediaAreaBlank.qml
+++ b/homescreen/qml/MediaAreaBlank.qml
@@ -19,7 +19,9 @@ import QtQuick 2.2
import QtQuick.Layouts 1.1
import QtQuick.Controls 2.0
import AGL.Demo.Controls 1.0
+/*
import MasterVolume 1.0
+*/
Image {
anchors.fill: parent
@@ -55,20 +57,18 @@ 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 }
}
]
transitions: Transition {
NumberAnimation { property: "opacity"; duration: 500}
}
-
+/*
MasterVolume {
id: mv
objectName: "mv"
@@ -77,7 +77,7 @@ Image {
mv.open(bindingAddress);
}
}
-
+*/
Item {
id: master_volume
anchors.fill: parent
@@ -108,8 +108,10 @@ Image {
to: 100
stepSize: 1
snapMode: Slider.SnapOnRelease
+/*
onValueChanged: mv.volume = value
Component.onCompleted: value = mv.volume
+*/
onPressedChanged: {
if (pressed) {volume_timer.stop()}
else {volume_timer.restart()}
@@ -122,12 +124,4 @@ Image {
}
}
}
-
- SpeechChrome {
- id: speech_chrome
- anchors.left: parent.left
- anchors.right: parent.right
- anchors.bottom: parent.bottom
- height: parent.height
- }
}
diff --git a/homescreen/qml/StatusArea.qml b/homescreen/qml/StatusArea.qml
index 4a8fbc0..87b27ad 100644
--- a/homescreen/qml/StatusArea.qml
+++ b/homescreen/qml/StatusArea.qml
@@ -30,7 +30,7 @@ Item {
interval: 100; running: true; repeat: true;
onTriggered: root.now = new Date
}
-
+/*
Connections {
target: weather
@@ -54,7 +54,7 @@ Item {
temperature_item.text = temperature.split(".")[0] + '°F'
}
}
-
+*/
RowLayout {
anchors.fill: parent
spacing: 0
@@ -126,6 +126,7 @@ Item {
fillMode: Image.PreserveAspectFit
property string deviceName: "none"
property bool connStatus: false
+/*
Connections {
target: bluetooth
@@ -133,7 +134,9 @@ Item {
bt_icon.connStatus = state
}
}
+*/
}
+/*
Repeater {
model: StatusBarModel { objectName: "statusBar" }
delegate: Image {
@@ -143,6 +146,7 @@ Item {
fillMode: Image.PreserveAspectFit
}
}
+*/
}
}
}
diff --git a/homescreen/qml/TopArea.qml b/homescreen/qml/TopArea.qml
index 19bed91..3b0b25a 100644
--- a/homescreen/qml/TopArea.qml
+++ b/homescreen/qml/TopArea.qml
@@ -41,7 +41,7 @@ Image {
Layout.preferredWidth: 291
}
}
-
+/*
Timer {
id: launching
interval: 500
@@ -56,4 +56,5 @@ Image {
indeterminate: visible
visible: launcher.launching && !launching.running
}
+*/
}
diff --git a/homescreen/qml/qml.qrc b/homescreen/qml/qml.qrc
index 7a0be7c..319e1da 100644
--- a/homescreen/qml/qml.qrc
+++ b/homescreen/qml/qml.qrc
@@ -6,7 +6,6 @@
<file>MediaAreaRadio.qml</file>
<file>ShortcutArea.qml</file>
<file>ShortcutIcon.qml</file>
- <file>SpeechChrome.qml</file>
<file>StatusArea.qml</file>
<file>TopArea.qml</file>
<file>IconItem.qml</file>