aboutsummaryrefslogtreecommitdiffstats
path: root/qml/models/TemperatureModel.qml
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2016-11-24 17:41:34 +0100
committerRomain Forlot <romain.forlot@iot.bzh>2016-11-24 17:41:34 +0100
commit85f44017fb18205133d369bf16c5d0022984c510 (patch)
treee450a257b95e9c60defdfbe851edfdfa820c583a /qml/models/TemperatureModel.qml
parentb20eed56b0d712ea59a5f237eb933787e3fdf45d (diff)
Convert amb hvac plugin to app framework bindings
Change-Id: I7e67c653c7da219beb645d752fb7afca2c968de5 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'qml/models/TemperatureModel.qml')
-rw-r--r--qml/models/TemperatureModel.qml28
1 files changed, 28 insertions, 0 deletions
diff --git a/qml/models/TemperatureModel.qml b/qml/models/TemperatureModel.qml
new file mode 100644
index 0000000..85ca415
--- /dev/null
+++ b/qml/models/TemperatureModel.qml
@@ -0,0 +1,28 @@
+/* Copyright (C) 2015, Jaguar Land Rover. All Rights Reserved.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+
+pragma Singleton
+
+import QtQuick 2.0
+
+ListModel {
+ ListElement { text: "LO" }
+ ListElement { text: "16\u00b0" }
+ ListElement { text: "17\u00b0" }
+ ListElement { text: "18\u00b0" }
+ ListElement { text: "19\u00b0" }
+ ListElement { text: "20\u00b0" }
+ ListElement { text: "21\u00b0" }
+ ListElement { text: "22\u00b0" }
+ ListElement { text: "23\u00b0" }
+ ListElement { text: "24\u00b0" }
+ ListElement { text: "25\u00b0" }
+ ListElement { text: "26\u00b0" }
+ ListElement { text: "27\u00b0" }
+ ListElement { text: "28\u00b0" }
+ ListElement { text: "29\u00b0" }
+ ListElement { text: "HI" }
+}