summaryrefslogtreecommitdiffstats
path: root/sample-qml/dummyimports
diff options
context:
space:
mode:
authorTasuku Suzuki <tasuku.suzuki@qt.io>2016-12-02 11:37:58 +0900
committerTasuku Suzuki <tasuku.suzuki@qt.io>2016-12-02 11:44:24 +0900
commit346d1b3492fcbc26e7bff085b5d480fd7a627911 (patch)
tree33aa09304daa26b9c47d86d6bd6e9949fb0360ce /sample-qml/dummyimports
parent6130b67afe48de7eb0e4594d3210963b88e93fe5 (diff)
sample-qml: load qml from Qt resources
embed every assets in the binary and load its contents from there Change-Id: If0ca9342f82ab3ac8badf6bd75755a24001d2da7 Signed-off-by: Tasuku Suzuki <tasuku.suzuki@qt.io>
Diffstat (limited to 'sample-qml/dummyimports')
-rw-r--r--sample-qml/dummyimports/Automotive/ClimateControl/ClimateControlItem.qml13
-rw-r--r--sample-qml/dummyimports/Automotive/ClimateControl/ClimateControlItem.qmlcbin0 -> 1389 bytes
-rw-r--r--sample-qml/dummyimports/Automotive/ClimateControl/qmldir1
3 files changed, 14 insertions, 0 deletions
diff --git a/sample-qml/dummyimports/Automotive/ClimateControl/ClimateControlItem.qml b/sample-qml/dummyimports/Automotive/ClimateControl/ClimateControlItem.qml
new file mode 100644
index 0000000..2688db6
--- /dev/null
+++ b/sample-qml/dummyimports/Automotive/ClimateControl/ClimateControlItem.qml
@@ -0,0 +1,13 @@
+import QtQuick 2.0
+
+QtObject {
+ property int zone: 0
+ property int fanSpeedLevel: 0
+ property int targetTemperature: 0
+ property bool airConditioning: false
+ property bool heater: false
+ property int seatHeater: 0
+ property int seatCooler: 0
+ property bool airCirculation: false
+ property int steeringWheelHeater: 0
+}
diff --git a/sample-qml/dummyimports/Automotive/ClimateControl/ClimateControlItem.qmlc b/sample-qml/dummyimports/Automotive/ClimateControl/ClimateControlItem.qmlc
new file mode 100644
index 0000000..9961cde
--- /dev/null
+++ b/sample-qml/dummyimports/Automotive/ClimateControl/ClimateControlItem.qmlc
Binary files differ
diff --git a/sample-qml/dummyimports/Automotive/ClimateControl/qmldir b/sample-qml/dummyimports/Automotive/ClimateControl/qmldir
new file mode 100644
index 0000000..8a44272
--- /dev/null
+++ b/sample-qml/dummyimports/Automotive/ClimateControl/qmldir
@@ -0,0 +1 @@
+ClimateControlItem 1.0 ClimateControlItem.qml