From a4f5c7d97fcbb97ece05cfbca38fb1963ab11377 Mon Sep 17 00:00:00 2001 From: "Bocklage, Jens" Date: Thu, 15 Dec 2016 05:50:29 +0100 Subject: Delete unneeded files - sample-qml no longer needed - widgets no longer needed - images replaced by new HMI before Signed-off-by: Bocklage, Jens --- sample-qml/MainForm.ui.qml | 82 -- sample-qml/README | 16 - sample-qml/agl-image.png | Bin 6501 -> 0 bytes sample-qml/apps/HVAC/ClimateButton.qml | 34 - sample-qml/apps/HVAC/FanControl.qml | 54 - sample-qml/apps/HVAC/HVAC.qml | 93 -- sample-qml/apps/HVAC/HazardButton.qml | 37 - sample-qml/apps/HVAC/MiddleColumn.qml | 33 - sample-qml/apps/HVAC/SeatHeatButton.qml | 41 - sample-qml/apps/HVAC/TempSlider.qml | 61 -- sample-qml/apps/HVAC/TemperatureWheel.qml | 56 -- sample-qml/apps/HVAC/images/defrost_front_off.png | Bin 3972 -> 0 bytes sample-qml/apps/HVAC/images/defrost_front_off.svg | 94 -- sample-qml/apps/HVAC/images/defrost_front_on.png | Bin 15311 -> 0 bytes sample-qml/apps/HVAC/images/defrost_front_on.svg | 247 ----- sample-qml/apps/HVAC/images/defrost_max_off.png | Bin 10833 -> 0 bytes sample-qml/apps/HVAC/images/defrost_max_off.svg | 189 ---- sample-qml/apps/HVAC/images/defrost_max_on.png | Bin 16751 -> 0 bytes sample-qml/apps/HVAC/images/defrost_max_on.svg | 267 ----- sample-qml/apps/HVAC/images/defrost_rear_off.png | Bin 3298 -> 0 bytes sample-qml/apps/HVAC/images/defrost_rear_off.svg | 80 -- sample-qml/apps/HVAC/images/defrost_rear_on.png | Bin 13514 -> 0 bytes sample-qml/apps/HVAC/images/defrost_rear_on.svg | 244 ----- sample-qml/apps/HVAC/images/drag_knob.svg | 13 - sample-qml/apps/HVAC/images/fan_bar_off.png | Bin 1238 -> 0 bytes sample-qml/apps/HVAC/images/fan_bar_on.png | Bin 1638 -> 0 bytes sample-qml/apps/HVAC/images/fan_bar_on.svg | 39 - sample-qml/apps/HVAC/images/fan_control_ac_off.png | Bin 1869 -> 0 bytes sample-qml/apps/HVAC/images/fan_control_ac_off.svg | 68 -- sample-qml/apps/HVAC/images/fan_control_ac_on.png | Bin 11527 -> 0 bytes sample-qml/apps/HVAC/images/fan_control_ac_on.svg | 275 ------ .../apps/HVAC/images/fan_control_auto_off.png | Bin 2043 -> 0 bytes .../apps/HVAC/images/fan_control_auto_off.svg | 63 -- .../apps/HVAC/images/fan_control_auto_on.png | Bin 7572 -> 0 bytes .../apps/HVAC/images/fan_control_auto_on.svg | 282 ------ .../apps/HVAC/images/fan_control_circ_off.png | Bin 2519 -> 0 bytes .../apps/HVAC/images/fan_control_circ_off.svg | 70 -- .../apps/HVAC/images/fan_control_circ_on.png | Bin 13733 -> 0 bytes .../apps/HVAC/images/fan_control_circ_on.svg | 173 ---- sample-qml/apps/HVAC/images/fan_dir_down_off.png | Bin 5972 -> 0 bytes sample-qml/apps/HVAC/images/fan_dir_down_off.svg | 196 ---- sample-qml/apps/HVAC/images/fan_dir_down_on.png | Bin 16004 -> 0 bytes sample-qml/apps/HVAC/images/fan_dir_down_on.svg | 201 ---- sample-qml/apps/HVAC/images/fan_dir_right_off.png | Bin 2208 -> 0 bytes sample-qml/apps/HVAC/images/fan_dir_right_off.svg | 67 -- sample-qml/apps/HVAC/images/fan_dir_right_on.png | Bin 9662 -> 0 bytes sample-qml/apps/HVAC/images/fan_dir_right_on.svg | 227 ----- sample-qml/apps/HVAC/images/fan_dir_up_off.png | Bin 2229 -> 0 bytes sample-qml/apps/HVAC/images/fan_dir_up_off.svg | 64 -- sample-qml/apps/HVAC/images/fan_dir_up_on.png | Bin 12961 -> 0 bytes sample-qml/apps/HVAC/images/fan_dir_up_on.svg | 244 ----- sample-qml/apps/HVAC/images/fan_icon_off.png | Bin 2178 -> 0 bytes sample-qml/apps/HVAC/images/hazard_blink.png | Bin 3441 -> 0 bytes sample-qml/apps/HVAC/images/hazard_blink.svg | 14 - sample-qml/apps/HVAC/images/hazard_off.png | Bin 3572 -> 0 bytes sample-qml/apps/HVAC/images/hazard_off.svg | 40 - sample-qml/apps/HVAC/images/hazard_on.png | Bin 15998 -> 0 bytes sample-qml/apps/HVAC/images/hazard_on.svg | 174 ---- sample-qml/apps/HVAC/images/left_heat_seat_off.png | Bin 12313 -> 0 bytes sample-qml/apps/HVAC/images/left_heat_seat_off.svg | 27 - sample-qml/apps/HVAC/images/left_heat_seat_on.png | Bin 1614 -> 0 bytes sample-qml/apps/HVAC/images/left_heat_seat_on.svg | 66 -- sample-qml/apps/HVAC/images/left_number_bg.svg | 35 - sample-qml/apps/HVAC/images/left_number_cover.svg | 19 - .../apps/HVAC/images/right_heat_seat_off.png | Bin 12275 -> 0 bytes .../apps/HVAC/images/right_heat_seat_off.svg | 52 - sample-qml/apps/HVAC/images/right_heat_seat_on.png | Bin 1712 -> 0 bytes sample-qml/apps/HVAC/images/right_heat_seat_on.svg | 117 --- sample-qml/apps/HVAC/images/right_number_bg.svg | 37 - sample-qml/apps/HVAC/images/right_number_cover.svg | 40 - sample-qml/apps/HVAC/images/separator.png | Bin 3645 -> 0 bytes sample-qml/apps/HVAC/images/static_parts_bg.svg | 1031 -------------------- sample-qml/apps/HVAC/images/temp_bar_on_left.svg | 271 ----- sample-qml/apps/HVAC/images/temp_bar_on_right.svg | 282 ------ sample-qml/apps/HVAC/models/HVACModel.qml | 47 - sample-qml/apps/HVAC/models/TemperatureModel.qml | 28 - sample-qml/apps/HVAC/models/qmldir | 8 - sample-qml/apps/HVAC_org/ClimateButton.qml | 30 - sample-qml/apps/HVAC_org/FanControl.qml | 54 - sample-qml/apps/HVAC_org/HVAC.qml | 89 -- sample-qml/apps/HVAC_org/HazardButton.qml | 37 - sample-qml/apps/HVAC_org/MiddleColumn.qml | 33 - sample-qml/apps/HVAC_org/SeatHeatButton.qml | 39 - sample-qml/apps/HVAC_org/TempSlider.qml | 61 -- sample-qml/apps/HVAC_org/TemperatureWheel.qml | 56 -- .../apps/HVAC_org/images/defrost_front_off.png | Bin 9832 -> 0 bytes .../apps/HVAC_org/images/defrost_front_off.svg | 94 -- .../apps/HVAC_org/images/defrost_front_on.png | Bin 15576 -> 0 bytes .../apps/HVAC_org/images/defrost_front_on.svg | 247 ----- .../apps/HVAC_org/images/defrost_max_off.png | Bin 10958 -> 0 bytes .../apps/HVAC_org/images/defrost_max_off.svg | 189 ---- sample-qml/apps/HVAC_org/images/defrost_max_on.png | Bin 17034 -> 0 bytes sample-qml/apps/HVAC_org/images/defrost_max_on.svg | 267 ----- .../apps/HVAC_org/images/defrost_rear_off.png | Bin 6949 -> 0 bytes .../apps/HVAC_org/images/defrost_rear_off.svg | 80 -- .../apps/HVAC_org/images/defrost_rear_on.png | Bin 13723 -> 0 bytes .../apps/HVAC_org/images/defrost_rear_on.svg | 244 ----- sample-qml/apps/HVAC_org/images/drag_knob.svg | 13 - sample-qml/apps/HVAC_org/images/fan_bar_off.png | Bin 1694 -> 0 bytes sample-qml/apps/HVAC_org/images/fan_bar_on.png | Bin 18765 -> 0 bytes sample-qml/apps/HVAC_org/images/fan_bar_on.svg | 39 - .../apps/HVAC_org/images/fan_control_ac_off.png | Bin 3332 -> 0 bytes .../apps/HVAC_org/images/fan_control_ac_off.svg | 68 -- .../apps/HVAC_org/images/fan_control_ac_on.png | Bin 11685 -> 0 bytes .../apps/HVAC_org/images/fan_control_ac_on.svg | 275 ------ .../apps/HVAC_org/images/fan_control_auto_off.png | Bin 3702 -> 0 bytes .../apps/HVAC_org/images/fan_control_auto_off.svg | 63 -- .../apps/HVAC_org/images/fan_control_auto_on.png | Bin 7717 -> 0 bytes .../apps/HVAC_org/images/fan_control_auto_on.svg | 282 ------ .../apps/HVAC_org/images/fan_control_circ_off.png | Bin 5149 -> 0 bytes .../apps/HVAC_org/images/fan_control_circ_off.svg | 70 -- .../apps/HVAC_org/images/fan_control_circ_on.png | Bin 13892 -> 0 bytes .../apps/HVAC_org/images/fan_control_circ_on.svg | 173 ---- .../apps/HVAC_org/images/fan_dir_down_off.png | Bin 6050 -> 0 bytes .../apps/HVAC_org/images/fan_dir_down_off.svg | 196 ---- .../apps/HVAC_org/images/fan_dir_down_on.png | Bin 16220 -> 0 bytes .../apps/HVAC_org/images/fan_dir_down_on.svg | 201 ---- .../apps/HVAC_org/images/fan_dir_right_off.png | Bin 4396 -> 0 bytes .../apps/HVAC_org/images/fan_dir_right_off.svg | 67 -- .../apps/HVAC_org/images/fan_dir_right_on.png | Bin 9849 -> 0 bytes .../apps/HVAC_org/images/fan_dir_right_on.svg | 227 ----- sample-qml/apps/HVAC_org/images/fan_dir_up_off.png | Bin 4419 -> 0 bytes sample-qml/apps/HVAC_org/images/fan_dir_up_off.svg | 64 -- sample-qml/apps/HVAC_org/images/fan_dir_up_on.png | Bin 13095 -> 0 bytes sample-qml/apps/HVAC_org/images/fan_dir_up_on.svg | 244 ----- sample-qml/apps/HVAC_org/images/fan_icon_off.png | Bin 3867 -> 0 bytes sample-qml/apps/HVAC_org/images/hazard_blink.png | Bin 6517 -> 0 bytes sample-qml/apps/HVAC_org/images/hazard_blink.svg | 14 - sample-qml/apps/HVAC_org/images/hazard_off.png | Bin 7614 -> 0 bytes sample-qml/apps/HVAC_org/images/hazard_off.svg | 40 - sample-qml/apps/HVAC_org/images/hazard_on.png | Bin 16182 -> 0 bytes sample-qml/apps/HVAC_org/images/hazard_on.svg | 174 ---- .../apps/HVAC_org/images/left_heat_seat_off.png | Bin 12426 -> 0 bytes .../apps/HVAC_org/images/left_heat_seat_off.svg | 27 - .../apps/HVAC_org/images/left_heat_seat_on.png | Bin 1883 -> 0 bytes .../apps/HVAC_org/images/left_heat_seat_on.svg | 66 -- sample-qml/apps/HVAC_org/images/left_number_bg.svg | 35 - .../apps/HVAC_org/images/left_number_cover.svg | 19 - .../apps/HVAC_org/images/right_heat_seat_off.png | Bin 12372 -> 0 bytes .../apps/HVAC_org/images/right_heat_seat_off.svg | 52 - .../apps/HVAC_org/images/right_heat_seat_on.png | Bin 1973 -> 0 bytes .../apps/HVAC_org/images/right_heat_seat_on.svg | 117 --- .../apps/HVAC_org/images/right_number_bg.svg | 37 - .../apps/HVAC_org/images/right_number_cover.svg | 40 - sample-qml/apps/HVAC_org/images/separator.png | Bin 5633 -> 0 bytes .../apps/HVAC_org/images/static_parts_bg.svg | 1031 -------------------- .../apps/HVAC_org/images/temp_bar_on_left.svg | 271 ----- .../apps/HVAC_org/images/temp_bar_on_right.svg | 282 ------ sample-qml/apps/HVAC_org/models/HVACModel.qml | 47 - .../apps/HVAC_org/models/TemperatureModel.qml | 28 - sample-qml/apps/HVAC_org/models/qmldir | 8 - sample-qml/calledbyqml.cpp | 38 - sample-qml/calledbyqml.h | 22 - sample-qml/config.xml | 9 - sample-qml/deployment.pri | 13 - .../ClimateControl/ClimateControlItem.qml | 13 - .../ClimateControl/ClimateControlItem.qmlc | Bin 1389 -> 0 bytes .../dummyimports/Automotive/ClimateControl/qmldir | 1 - .../dummyimports/amb/AutomotivePropertyItem.qml | 7 - sample-qml/dummyimports/amb/qmldir | 2 - .../com/pelagicore/qmldevinfo/DevInfo.qml | 18 - .../dummyimports/com/pelagicore/qmldevinfo/qmldir | 7 - sample-qml/dummyimports/radio/Radio.qml | 6 - sample-qml/dummyimports/radio/qmldir | 2 - sample-qml/imports/components/AwesomeIcon.qml | 26 - sample-qml/imports/components/Box.qml | 49 - sample-qml/imports/components/BoxButton.qml | 36 - sample-qml/imports/components/BoxHeading.qml | 37 - sample-qml/imports/components/Button.qml | 30 - sample-qml/imports/components/DateTime.qml | 35 - sample-qml/imports/components/HexGrid.qml | 32 - sample-qml/imports/components/HexSwitch.qml | 80 -- sample-qml/imports/components/InShadow.qml | 33 - sample-qml/imports/components/InsetShadow.qml | 40 - sample-qml/imports/components/Label.qml | 27 - sample-qml/imports/components/NumberPad.qml | 101 -- sample-qml/imports/components/OutShadow.qml | 41 - sample-qml/imports/components/Switch.qml | 13 - sample-qml/imports/components/qmldir | 16 - sample-qml/imports/radio/Radio.qml | 6 - sample-qml/imports/radio/qmldir | 2 - sample-qml/imports/system/App.qml | 35 - sample-qml/imports/system/App.qml.org | 29 - sample-qml/imports/system/System.qml | 15 - sample-qml/imports/system/qmldir | 8 - sample-qml/imports/utils/Marker.qml | 60 -- sample-qml/imports/utils/Style.qml | 37 - sample-qml/imports/utils/qmldir | 8 - sample-qml/imports/vehicle/ClimateModel.qml | 44 - sample-qml/imports/vehicle/FuelModel.qml | 46 - sample-qml/imports/vehicle/PositionModel.qml | 33 - sample-qml/imports/vehicle/SpeedModel.qml | 38 - sample-qml/imports/vehicle/TemperatureModel.qml | 26 - sample-qml/imports/vehicle/qmldir | 11 - sample-qml/main.cpp | 63 -- sample-qml/main.qml | 38 - sample-qml/main2.qml | 27 - sample-qml/qml.qrc | 118 --- sample-qml/sample-qml.pro | 22 - sample-qml/zip-command | 1 - 200 files changed, 13089 deletions(-) delete mode 100644 sample-qml/MainForm.ui.qml delete mode 100644 sample-qml/README delete mode 100644 sample-qml/agl-image.png delete mode 100644 sample-qml/apps/HVAC/ClimateButton.qml delete mode 100644 sample-qml/apps/HVAC/FanControl.qml delete mode 100644 sample-qml/apps/HVAC/HVAC.qml delete mode 100644 sample-qml/apps/HVAC/HazardButton.qml delete mode 100644 sample-qml/apps/HVAC/MiddleColumn.qml delete mode 100644 sample-qml/apps/HVAC/SeatHeatButton.qml delete mode 100644 sample-qml/apps/HVAC/TempSlider.qml delete mode 100644 sample-qml/apps/HVAC/TemperatureWheel.qml delete mode 100644 sample-qml/apps/HVAC/images/defrost_front_off.png delete mode 100644 sample-qml/apps/HVAC/images/defrost_front_off.svg delete mode 100644 sample-qml/apps/HVAC/images/defrost_front_on.png delete mode 100644 sample-qml/apps/HVAC/images/defrost_front_on.svg delete mode 100644 sample-qml/apps/HVAC/images/defrost_max_off.png delete mode 100644 sample-qml/apps/HVAC/images/defrost_max_off.svg delete mode 100644 sample-qml/apps/HVAC/images/defrost_max_on.png delete mode 100644 sample-qml/apps/HVAC/images/defrost_max_on.svg delete mode 100644 sample-qml/apps/HVAC/images/defrost_rear_off.png delete mode 100644 sample-qml/apps/HVAC/images/defrost_rear_off.svg delete mode 100644 sample-qml/apps/HVAC/images/defrost_rear_on.png delete mode 100644 sample-qml/apps/HVAC/images/defrost_rear_on.svg delete mode 100644 sample-qml/apps/HVAC/images/drag_knob.svg delete mode 100644 sample-qml/apps/HVAC/images/fan_bar_off.png delete mode 100755 sample-qml/apps/HVAC/images/fan_bar_on.png delete mode 100644 sample-qml/apps/HVAC/images/fan_bar_on.svg delete mode 100644 sample-qml/apps/HVAC/images/fan_control_ac_off.png delete mode 100644 sample-qml/apps/HVAC/images/fan_control_ac_off.svg delete mode 100644 sample-qml/apps/HVAC/images/fan_control_ac_on.png delete mode 100644 sample-qml/apps/HVAC/images/fan_control_ac_on.svg delete mode 100644 sample-qml/apps/HVAC/images/fan_control_auto_off.png delete mode 100644 sample-qml/apps/HVAC/images/fan_control_auto_off.svg delete mode 100644 sample-qml/apps/HVAC/images/fan_control_auto_on.png delete mode 100644 sample-qml/apps/HVAC/images/fan_control_auto_on.svg delete mode 100644 sample-qml/apps/HVAC/images/fan_control_circ_off.png delete mode 100644 sample-qml/apps/HVAC/images/fan_control_circ_off.svg delete mode 100644 sample-qml/apps/HVAC/images/fan_control_circ_on.png delete mode 100644 sample-qml/apps/HVAC/images/fan_control_circ_on.svg delete mode 100644 sample-qml/apps/HVAC/images/fan_dir_down_off.png delete mode 100644 sample-qml/apps/HVAC/images/fan_dir_down_off.svg delete mode 100644 sample-qml/apps/HVAC/images/fan_dir_down_on.png delete mode 100644 sample-qml/apps/HVAC/images/fan_dir_down_on.svg delete mode 100644 sample-qml/apps/HVAC/images/fan_dir_right_off.png delete mode 100644 sample-qml/apps/HVAC/images/fan_dir_right_off.svg delete mode 100644 sample-qml/apps/HVAC/images/fan_dir_right_on.png delete mode 100644 sample-qml/apps/HVAC/images/fan_dir_right_on.svg delete mode 100644 sample-qml/apps/HVAC/images/fan_dir_up_off.png delete mode 100644 sample-qml/apps/HVAC/images/fan_dir_up_off.svg delete mode 100644 sample-qml/apps/HVAC/images/fan_dir_up_on.png delete mode 100644 sample-qml/apps/HVAC/images/fan_dir_up_on.svg delete mode 100644 sample-qml/apps/HVAC/images/fan_icon_off.png delete mode 100644 sample-qml/apps/HVAC/images/hazard_blink.png delete mode 100644 sample-qml/apps/HVAC/images/hazard_blink.svg delete mode 100644 sample-qml/apps/HVAC/images/hazard_off.png delete mode 100644 sample-qml/apps/HVAC/images/hazard_off.svg delete mode 100644 sample-qml/apps/HVAC/images/hazard_on.png delete mode 100644 sample-qml/apps/HVAC/images/hazard_on.svg delete mode 100644 sample-qml/apps/HVAC/images/left_heat_seat_off.png delete mode 100644 sample-qml/apps/HVAC/images/left_heat_seat_off.svg delete mode 100644 sample-qml/apps/HVAC/images/left_heat_seat_on.png delete mode 100644 sample-qml/apps/HVAC/images/left_heat_seat_on.svg delete mode 100644 sample-qml/apps/HVAC/images/left_number_bg.svg delete mode 100644 sample-qml/apps/HVAC/images/left_number_cover.svg delete mode 100644 sample-qml/apps/HVAC/images/right_heat_seat_off.png delete mode 100644 sample-qml/apps/HVAC/images/right_heat_seat_off.svg delete mode 100644 sample-qml/apps/HVAC/images/right_heat_seat_on.png delete mode 100644 sample-qml/apps/HVAC/images/right_heat_seat_on.svg delete mode 100644 sample-qml/apps/HVAC/images/right_number_bg.svg delete mode 100644 sample-qml/apps/HVAC/images/right_number_cover.svg delete mode 100644 sample-qml/apps/HVAC/images/separator.png delete mode 100644 sample-qml/apps/HVAC/images/static_parts_bg.svg delete mode 100644 sample-qml/apps/HVAC/images/temp_bar_on_left.svg delete mode 100644 sample-qml/apps/HVAC/images/temp_bar_on_right.svg delete mode 100644 sample-qml/apps/HVAC/models/HVACModel.qml delete mode 100644 sample-qml/apps/HVAC/models/TemperatureModel.qml delete mode 100644 sample-qml/apps/HVAC/models/qmldir delete mode 100644 sample-qml/apps/HVAC_org/ClimateButton.qml delete mode 100644 sample-qml/apps/HVAC_org/FanControl.qml delete mode 100644 sample-qml/apps/HVAC_org/HVAC.qml delete mode 100644 sample-qml/apps/HVAC_org/HazardButton.qml delete mode 100644 sample-qml/apps/HVAC_org/MiddleColumn.qml delete mode 100644 sample-qml/apps/HVAC_org/SeatHeatButton.qml delete mode 100644 sample-qml/apps/HVAC_org/TempSlider.qml delete mode 100644 sample-qml/apps/HVAC_org/TemperatureWheel.qml delete mode 100644 sample-qml/apps/HVAC_org/images/defrost_front_off.png delete mode 100644 sample-qml/apps/HVAC_org/images/defrost_front_off.svg delete mode 100644 sample-qml/apps/HVAC_org/images/defrost_front_on.png delete mode 100644 sample-qml/apps/HVAC_org/images/defrost_front_on.svg delete mode 100644 sample-qml/apps/HVAC_org/images/defrost_max_off.png delete mode 100644 sample-qml/apps/HVAC_org/images/defrost_max_off.svg delete mode 100644 sample-qml/apps/HVAC_org/images/defrost_max_on.png delete mode 100644 sample-qml/apps/HVAC_org/images/defrost_max_on.svg delete mode 100644 sample-qml/apps/HVAC_org/images/defrost_rear_off.png delete mode 100644 sample-qml/apps/HVAC_org/images/defrost_rear_off.svg delete mode 100644 sample-qml/apps/HVAC_org/images/defrost_rear_on.png delete mode 100644 sample-qml/apps/HVAC_org/images/defrost_rear_on.svg delete mode 100644 sample-qml/apps/HVAC_org/images/drag_knob.svg delete mode 100644 sample-qml/apps/HVAC_org/images/fan_bar_off.png delete mode 100644 sample-qml/apps/HVAC_org/images/fan_bar_on.png delete mode 100644 sample-qml/apps/HVAC_org/images/fan_bar_on.svg delete mode 100644 sample-qml/apps/HVAC_org/images/fan_control_ac_off.png delete mode 100644 sample-qml/apps/HVAC_org/images/fan_control_ac_off.svg delete mode 100644 sample-qml/apps/HVAC_org/images/fan_control_ac_on.png delete mode 100644 sample-qml/apps/HVAC_org/images/fan_control_ac_on.svg delete mode 100644 sample-qml/apps/HVAC_org/images/fan_control_auto_off.png delete mode 100644 sample-qml/apps/HVAC_org/images/fan_control_auto_off.svg delete mode 100644 sample-qml/apps/HVAC_org/images/fan_control_auto_on.png delete mode 100644 sample-qml/apps/HVAC_org/images/fan_control_auto_on.svg delete mode 100644 sample-qml/apps/HVAC_org/images/fan_control_circ_off.png delete mode 100644 sample-qml/apps/HVAC_org/images/fan_control_circ_off.svg delete mode 100644 sample-qml/apps/HVAC_org/images/fan_control_circ_on.png delete mode 100644 sample-qml/apps/HVAC_org/images/fan_control_circ_on.svg delete mode 100644 sample-qml/apps/HVAC_org/images/fan_dir_down_off.png delete mode 100644 sample-qml/apps/HVAC_org/images/fan_dir_down_off.svg delete mode 100644 sample-qml/apps/HVAC_org/images/fan_dir_down_on.png delete mode 100644 sample-qml/apps/HVAC_org/images/fan_dir_down_on.svg delete mode 100644 sample-qml/apps/HVAC_org/images/fan_dir_right_off.png delete mode 100644 sample-qml/apps/HVAC_org/images/fan_dir_right_off.svg delete mode 100644 sample-qml/apps/HVAC_org/images/fan_dir_right_on.png delete mode 100644 sample-qml/apps/HVAC_org/images/fan_dir_right_on.svg delete mode 100644 sample-qml/apps/HVAC_org/images/fan_dir_up_off.png delete mode 100644 sample-qml/apps/HVAC_org/images/fan_dir_up_off.svg delete mode 100644 sample-qml/apps/HVAC_org/images/fan_dir_up_on.png delete mode 100644 sample-qml/apps/HVAC_org/images/fan_dir_up_on.svg delete mode 100644 sample-qml/apps/HVAC_org/images/fan_icon_off.png delete mode 100644 sample-qml/apps/HVAC_org/images/hazard_blink.png delete mode 100644 sample-qml/apps/HVAC_org/images/hazard_blink.svg delete mode 100644 sample-qml/apps/HVAC_org/images/hazard_off.png delete mode 100644 sample-qml/apps/HVAC_org/images/hazard_off.svg delete mode 100644 sample-qml/apps/HVAC_org/images/hazard_on.png delete mode 100644 sample-qml/apps/HVAC_org/images/hazard_on.svg delete mode 100644 sample-qml/apps/HVAC_org/images/left_heat_seat_off.png delete mode 100644 sample-qml/apps/HVAC_org/images/left_heat_seat_off.svg delete mode 100644 sample-qml/apps/HVAC_org/images/left_heat_seat_on.png delete mode 100644 sample-qml/apps/HVAC_org/images/left_heat_seat_on.svg delete mode 100644 sample-qml/apps/HVAC_org/images/left_number_bg.svg delete mode 100644 sample-qml/apps/HVAC_org/images/left_number_cover.svg delete mode 100644 sample-qml/apps/HVAC_org/images/right_heat_seat_off.png delete mode 100644 sample-qml/apps/HVAC_org/images/right_heat_seat_off.svg delete mode 100644 sample-qml/apps/HVAC_org/images/right_heat_seat_on.png delete mode 100644 sample-qml/apps/HVAC_org/images/right_heat_seat_on.svg delete mode 100644 sample-qml/apps/HVAC_org/images/right_number_bg.svg delete mode 100644 sample-qml/apps/HVAC_org/images/right_number_cover.svg delete mode 100644 sample-qml/apps/HVAC_org/images/separator.png delete mode 100644 sample-qml/apps/HVAC_org/images/static_parts_bg.svg delete mode 100644 sample-qml/apps/HVAC_org/images/temp_bar_on_left.svg delete mode 100644 sample-qml/apps/HVAC_org/images/temp_bar_on_right.svg delete mode 100644 sample-qml/apps/HVAC_org/models/HVACModel.qml delete mode 100644 sample-qml/apps/HVAC_org/models/TemperatureModel.qml delete mode 100644 sample-qml/apps/HVAC_org/models/qmldir delete mode 100644 sample-qml/calledbyqml.cpp delete mode 100644 sample-qml/calledbyqml.h delete mode 100644 sample-qml/config.xml delete mode 100644 sample-qml/deployment.pri delete mode 100644 sample-qml/dummyimports/Automotive/ClimateControl/ClimateControlItem.qml delete mode 100644 sample-qml/dummyimports/Automotive/ClimateControl/ClimateControlItem.qmlc delete mode 100644 sample-qml/dummyimports/Automotive/ClimateControl/qmldir delete mode 100644 sample-qml/dummyimports/amb/AutomotivePropertyItem.qml delete mode 100644 sample-qml/dummyimports/amb/qmldir delete mode 100644 sample-qml/dummyimports/com/pelagicore/qmldevinfo/DevInfo.qml delete mode 100644 sample-qml/dummyimports/com/pelagicore/qmldevinfo/qmldir delete mode 100644 sample-qml/dummyimports/radio/Radio.qml delete mode 100644 sample-qml/dummyimports/radio/qmldir delete mode 100644 sample-qml/imports/components/AwesomeIcon.qml delete mode 100644 sample-qml/imports/components/Box.qml delete mode 100644 sample-qml/imports/components/BoxButton.qml delete mode 100644 sample-qml/imports/components/BoxHeading.qml delete mode 100644 sample-qml/imports/components/Button.qml delete mode 100644 sample-qml/imports/components/DateTime.qml delete mode 100644 sample-qml/imports/components/HexGrid.qml delete mode 100644 sample-qml/imports/components/HexSwitch.qml delete mode 100644 sample-qml/imports/components/InShadow.qml delete mode 100644 sample-qml/imports/components/InsetShadow.qml delete mode 100644 sample-qml/imports/components/Label.qml delete mode 100644 sample-qml/imports/components/NumberPad.qml delete mode 100644 sample-qml/imports/components/OutShadow.qml delete mode 100644 sample-qml/imports/components/Switch.qml delete mode 100644 sample-qml/imports/components/qmldir delete mode 100644 sample-qml/imports/radio/Radio.qml delete mode 100644 sample-qml/imports/radio/qmldir delete mode 100644 sample-qml/imports/system/App.qml delete mode 100644 sample-qml/imports/system/App.qml.org delete mode 100644 sample-qml/imports/system/System.qml delete mode 100644 sample-qml/imports/system/qmldir delete mode 100644 sample-qml/imports/utils/Marker.qml delete mode 100644 sample-qml/imports/utils/Style.qml delete mode 100644 sample-qml/imports/utils/qmldir delete mode 100644 sample-qml/imports/vehicle/ClimateModel.qml delete mode 100644 sample-qml/imports/vehicle/FuelModel.qml delete mode 100644 sample-qml/imports/vehicle/PositionModel.qml delete mode 100644 sample-qml/imports/vehicle/SpeedModel.qml delete mode 100644 sample-qml/imports/vehicle/TemperatureModel.qml delete mode 100644 sample-qml/imports/vehicle/qmldir delete mode 100644 sample-qml/main.cpp delete mode 100644 sample-qml/main.qml delete mode 100644 sample-qml/main2.qml delete mode 100644 sample-qml/qml.qrc delete mode 100644 sample-qml/sample-qml.pro delete mode 100644 sample-qml/zip-command (limited to 'sample-qml') diff --git a/sample-qml/MainForm.ui.qml b/sample-qml/MainForm.ui.qml deleted file mode 100644 index 23f26fb..0000000 --- a/sample-qml/MainForm.ui.qml +++ /dev/null @@ -1,82 +0,0 @@ -import QtQuick 2.6 - -Rectangle { - id: rectangle1 - property alias mouseArea: mouseArea - - width: 360 - height: 360 - color: "#dfe259" - property alias layout_permission: layout_permission - z: 2147483646 - property alias image1: image1 - - MouseArea { - id: mouseArea - anchors.rightMargin: 0 - anchors.bottomMargin: 0 - anchors.leftMargin: 0 - anchors.topMargin: 0 - anchors.fill: parent - - Rectangle { - id: layout_permission - x: 35 - y: 53 - width: 160 - height: 47 - gradient: Gradient { - GradientStop { - position: 0 - color: "#ffffff" - } - - GradientStop { - position: 1 - color: "#ecfcec" - } - } - signal buttonClick() - - - Text { - id: text1 - x: 5 - y: 9 - width: 151 - height: 30 - color: "#f25728" - text: qsTr("Ask layout permission") - style: Text.Normal - styleColor: "#86ecae" - verticalAlignment: Text.AlignVCenter - horizontalAlignment: Text.AlignHCenter - wrapMode: Text.NoWrap - font.pixelSize: 12 - } - } - - Image { - id: image1 - x: -2 - y: 90 - width: 360 - height: 267 - opacity: 0.2 - z: 0 - source: "agl-image.png" - } - } - - Text { - text: "AGL sample app" - anchors.bottom: parent.bottom - anchors.bottomMargin: 326 - anchors.horizontalCenter: parent.horizontalCenter - anchors.top: parent.top - anchors.topMargin: 17 - font.italic: true - font.bold: true - anchors.horizontalCenterOffset: -104 - } -} diff --git a/sample-qml/README b/sample-qml/README deleted file mode 100644 index 9ff6d67..0000000 --- a/sample-qml/README +++ /dev/null @@ -1,16 +0,0 @@ -How to create and install sample qml application - -$ cd ${sample-qml-build-directory} // in build directory -Copy appropriate file to build-directory. See following example -$ ls ${sample-qml-build-directory} -MainForm.ui.qml apps dummyimports main.qml sample-qml -agl-image.png config.xml imports main2.qml - -$ zip -q -r sample-qml.wgt . -$ cp sample-qml.wgt ${SDCARD}/home/root - -then boot sd card -# afm-util install sample-qml.wgt -reboot -# afm-util start sample-qml@0.1 -or Click and start from HomeScreen diff --git a/sample-qml/agl-image.png b/sample-qml/agl-image.png deleted file mode 100644 index 799ae6f..0000000 Binary files a/sample-qml/agl-image.png and /dev/null differ diff --git a/sample-qml/apps/HVAC/ClimateButton.qml b/sample-qml/apps/HVAC/ClimateButton.qml deleted file mode 100644 index 9a59202..0000000 --- a/sample-qml/apps/HVAC/ClimateButton.qml +++ /dev/null @@ -1,34 +0,0 @@ -/* 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/. */ - -import QtQuick 2.0 -import "models" - -Rectangle { - id: root - - width: imageItem.width - height: imageItem.height - color: "#aa000000" - - property string target: "" - property string image: "" - property bool value: HVACModel[target] - - Image { - id: imageItem - source: "images/" + image + "_" + (value ? "on" : "off") + ".png" - } - - MouseArea { - anchors.fill: parent - onClicked: { - HVACModel[target] = !HVACModel[target] - hsa.consoleout() - hsa.refresh() - } - } -} diff --git a/sample-qml/apps/HVAC/FanControl.qml b/sample-qml/apps/HVAC/FanControl.qml deleted file mode 100644 index 00e6f9e..0000000 --- a/sample-qml/apps/HVAC/FanControl.qml +++ /dev/null @@ -1,54 +0,0 @@ -/* 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/. */ - -import QtQuick 2.0 -import "models" - -Item { - width: childrenRect.width - height: childrenRect.height - - property real value: 0 - - Image { - y: 15 - source: "images/fan_icon_off.png" - } - - Image { - id: fanBar - x: 100 - source: "images/fan_bar_off.png" - } - - Image { - x: 100 - width: value * fanBar.width - fillMode: Image.PreserveAspectCrop - horizontalAlignment: Image.AlignLeft - source: "images/fan_bar_on.png" - - Image { - width: 20 - height: width - anchors.verticalCenter: parent.bottom - anchors.verticalCenterOffset: -1 - anchors.horizontalCenter: parent.right - source: "images/drag_knob.svg" - } - } - - MouseArea { - x: 100 - width: fanBar.width - height: parent.height - - onPositionChanged: { - value = Math.min(Math.max(mouse.x / fanBar.width, 0), 1) - HVACModel.fanSpeed = value; - } - } -} diff --git a/sample-qml/apps/HVAC/HVAC.qml b/sample-qml/apps/HVAC/HVAC.qml deleted file mode 100644 index bde9889..0000000 --- a/sample-qml/apps/HVAC/HVAC.qml +++ /dev/null @@ -1,93 +0,0 @@ -/* 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/. */ - -import QtQuick 2.0 -import system 1.0 -import utils 1.0 -import "models" - -App { - appId: "hvac" - - HazardButton { - id: hazardButton - y: 100 - anchors.horizontalCenter: parent.horizontalCenter - } - - TempSlider { - id: lTempSlider - x: 30 - anchors.top: hazardButton.bottom - anchors.topMargin: 115 - side: "left" - } - - Row { - anchors.horizontalCenter: parent.horizontalCenter - anchors.top: hazardButton.bottom - anchors.topMargin: 90 - spacing: 200 - - - MiddleColumn { side: "left" } - MiddleColumn { side: "right" } - } - - TempSlider { - id: rTempSlider - anchors.top: hazardButton.bottom - anchors.topMargin: 115 - anchors.right: parent.right - anchors.rightMargin: 30 - side: "right" - } - - Image { - y: 1057 - source: "images/separator.png" - } - - FanControl { - x: 259 - y: 1092 - } - - Item { - anchors.horizontalCenter: parent.horizontalCenter - width: childrenRect.width - height: childrenRect.height - anchors.bottom: parent.bottom - anchors.bottomMargin: 40 - - Row { - spacing: 20 - - Column { - spacing: 10 - - ClimateButton { image: "fan_dir_down"; target: "fanDown" } - ClimateButton { image: "fan_dir_right"; target: "fanRight" } - ClimateButton { image: "fan_dir_up"; target: "fanUp" } - } - - ClimateButton { - y: 156 - image: "fan_control_ac"; target: "fanAC" - } - ClimateButton { y: 156; image: "fan_control_auto"; target: "fanAuto" } - ClimateButton { y: 156; image: "fan_control_circ"; target: "fanRecirc" } - - Column { - spacing: 10 - - ClimateButton { image: "defrost_max"; target: "defrostMax" } - ClimateButton { image: "defrost_rear"; target: "defrostRear" } - ClimateButton { image: "defrost_front"; target: "defrostFront" } - } - } - } -} diff --git a/sample-qml/apps/HVAC/HazardButton.qml b/sample-qml/apps/HVAC/HazardButton.qml deleted file mode 100644 index ffae370..0000000 --- a/sample-qml/apps/HVAC/HazardButton.qml +++ /dev/null @@ -1,37 +0,0 @@ -/* 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/. */ - -import QtQuick 2.0 - -Rectangle { - id: hazardButton - width: 624 - height: 122 - color: "#aa000000" - border.color: "#ff53b5ce" - - property bool value: false - property bool flash: false - - Image { - id: image - source: "./images/hazard_" + (value ? (flash ? "blink" : "on") : "off") + ".png" - } - - MouseArea { - anchors.fill: parent - onClicked: value = !value - } - - Timer { - id: timer - interval: 500 - repeat: true - running: value - - onTriggered: flash = !flash - } -} diff --git a/sample-qml/apps/HVAC/MiddleColumn.qml b/sample-qml/apps/HVAC/MiddleColumn.qml deleted file mode 100644 index 89f0ebe..0000000 --- a/sample-qml/apps/HVAC/MiddleColumn.qml +++ /dev/null @@ -1,33 +0,0 @@ -/* 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/. */ - -import QtQuick 2.0 -import components 1.0 -import utils 1.0 - -Item { - id: root - - width: 239 - height: 800 - - property string side: "left" - - Column { - spacing: 50 - - BoxHeading { - color: Style.orangeViv - boxWidth: 45 - boxHeight: 19 - fontSize: 27 - text: (side === "left" ? "L" : "R" ) + " CLIMATE" - } - - SeatHeatButton { side: root.side } - TemperatureWheel { side: root.side } - } -} diff --git a/sample-qml/apps/HVAC/SeatHeatButton.qml b/sample-qml/apps/HVAC/SeatHeatButton.qml deleted file mode 100644 index fc5a2eb..0000000 --- a/sample-qml/apps/HVAC/SeatHeatButton.qml +++ /dev/null @@ -1,41 +0,0 @@ -/* 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/. */ - -import QtQuick 2.0 -import "models" - -Rectangle { - width: 239 - height: 194 - color: "#aa000000" - border.color: "#ff53b5ce" - - property string side: "left" - property string propertyName: side + "SeatHeat" - property int seatHeat: HVACModel[propertyName] - - Image { - source: "./images/" + side + "_heat_seat_off.png" - } - - Image { - y: 150 - seatHeat*40 - height: implicitHeight - y - fillMode: Image.Tile - verticalAlignment: Image.AlignBottom - source: "./images/" + side + "_heat_seat_on.png" - } - - MouseArea { - anchors.fill: parent - onClicked: { - var value = HVACModel[propertyName] - HVACModel[propertyName] = value > 0 ? value - 1 : 3 - console.log("seatheatButton is pushed") - hsa.showup() - } - } -} diff --git a/sample-qml/apps/HVAC/TempSlider.qml b/sample-qml/apps/HVAC/TempSlider.qml deleted file mode 100644 index f5500e4..0000000 --- a/sample-qml/apps/HVAC/TempSlider.qml +++ /dev/null @@ -1,61 +0,0 @@ -/* 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/. */ - -import QtQuick 2.0 -import utils 1.0 -import "models" - -Item { - id: root - width: 64 - height: 716 - - property real value: HVACModel[propertyName] - property string propertyName: side + "Temperature" - property string side: "left" - - function setProperty(v) { - HVACModel[propertyName] = Math.min(Math.max(v, 0), 1) - } - - Rectangle { - anchors.fill: parent - color: "#4a53b5ce" - } - - Rectangle { - width: parent.width - height: value * parent.height - color: Style.orangeViv - anchors.bottom: parent.bottom - } - - Rectangle { - x: side === "left" ? parent.width + 30 : -30 - width: 2 - height: value * parent.height - anchors.bottom: parent.bottom - color: Style.orangeLt - - Image { - width: 30 - height: width - anchors.verticalCenter: parent.top - anchors.horizontalCenter: parent.horizontalCenter - source: "images/drag_knob.svg" - } - } - - MouseArea { - x: side === "left" ? 0 : -45 - width: parent.width + 45 - height: parent.height - - onPressed: setProperty(1 - mouse.y / height) - onPositionChanged: setProperty(1 - mouse.y / height) - } -} - diff --git a/sample-qml/apps/HVAC/TemperatureWheel.qml b/sample-qml/apps/HVAC/TemperatureWheel.qml deleted file mode 100644 index 7a59dde..0000000 --- a/sample-qml/apps/HVAC/TemperatureWheel.qml +++ /dev/null @@ -1,56 +0,0 @@ -/* 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/. */ - -import QtQuick 2.0 -import "models" - -Rectangle { - width: 237 - height: 350 - color: "#aa000000" - - property string side: "left" - property string propertyName: side + "Temperature" - property real value: HVACModel[propertyName] - - ListView { - anchors.fill: parent - clip: true - snapMode: ListView.SnapToItem - model: TemperatureModel - header: Item { height: 120 } - footer: Item { height: 120 } - currentIndex: Math.min(value * count, count - 1) - flickDeceleration: 5000 - onContentYChanged: { - if (dragging || flicking) { - var item = Math.round((contentY + 120) / 110) - item = Math.max(Math.min(item, count - 1), 0) - if (item != currentIndex) { - var temperature = item / (count - 1) - HVACModel[propertyName] = temperature - } - } - } - highlightMoveDuration: 100 - interactive: true - - delegate: Text { - x: side === "right" ? 40 : 10 - height: 110 - verticalAlignment: Text.AlignVCenter - color: "white" - font.pixelSize: 70 - text: model.text - } - } - - Image { - mirror: side === "left" - source: "./images/right_number_cover.svg" - anchors.fill: parent - } -} diff --git a/sample-qml/apps/HVAC/images/defrost_front_off.png b/sample-qml/apps/HVAC/images/defrost_front_off.png deleted file mode 100644 index fe7e5ac..0000000 Binary files a/sample-qml/apps/HVAC/images/defrost_front_off.png and /dev/null differ diff --git a/sample-qml/apps/HVAC/images/defrost_front_off.svg b/sample-qml/apps/HVAC/images/defrost_front_off.svg deleted file mode 100644 index d2f0a6a..0000000 --- a/sample-qml/apps/HVAC/images/defrost_front_off.svg +++ /dev/null @@ -1,94 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -FRONT - - - diff --git a/sample-qml/apps/HVAC/images/defrost_front_on.png b/sample-qml/apps/HVAC/images/defrost_front_on.png deleted file mode 100644 index 5e5bf27..0000000 Binary files a/sample-qml/apps/HVAC/images/defrost_front_on.png and /dev/null differ diff --git a/sample-qml/apps/HVAC/images/defrost_front_on.svg b/sample-qml/apps/HVAC/images/defrost_front_on.svg deleted file mode 100644 index c4ed46a..0000000 --- a/sample-qml/apps/HVAC/images/defrost_front_on.svg +++ /dev/null @@ -1,247 +0,0 @@ - - - -image/svg+xmlFRONT - \ No newline at end of file diff --git a/sample-qml/apps/HVAC/images/defrost_max_off.png b/sample-qml/apps/HVAC/images/defrost_max_off.png deleted file mode 100644 index 1ded238..0000000 Binary files a/sample-qml/apps/HVAC/images/defrost_max_off.png and /dev/null differ diff --git a/sample-qml/apps/HVAC/images/defrost_max_off.svg b/sample-qml/apps/HVAC/images/defrost_max_off.svg deleted file mode 100644 index a027d25..0000000 --- a/sample-qml/apps/HVAC/images/defrost_max_off.svg +++ /dev/null @@ -1,189 +0,0 @@ - - - -image/svg+xmlMAX - \ No newline at end of file diff --git a/sample-qml/apps/HVAC/images/defrost_max_on.png b/sample-qml/apps/HVAC/images/defrost_max_on.png deleted file mode 100644 index 620d176..0000000 Binary files a/sample-qml/apps/HVAC/images/defrost_max_on.png and /dev/null differ diff --git a/sample-qml/apps/HVAC/images/defrost_max_on.svg b/sample-qml/apps/HVAC/images/defrost_max_on.svg deleted file mode 100644 index 9385c42..0000000 --- a/sample-qml/apps/HVAC/images/defrost_max_on.svg +++ /dev/null @@ -1,267 +0,0 @@ - - - -image/svg+xmlMAX - \ No newline at end of file diff --git a/sample-qml/apps/HVAC/images/defrost_rear_off.png b/sample-qml/apps/HVAC/images/defrost_rear_off.png deleted file mode 100644 index d648a67..0000000 Binary files a/sample-qml/apps/HVAC/images/defrost_rear_off.png and /dev/null differ diff --git a/sample-qml/apps/HVAC/images/defrost_rear_off.svg b/sample-qml/apps/HVAC/images/defrost_rear_off.svg deleted file mode 100644 index 0f5142e..0000000 --- a/sample-qml/apps/HVAC/images/defrost_rear_off.svg +++ /dev/null @@ -1,80 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -REAR - - - - - diff --git a/sample-qml/apps/HVAC/images/defrost_rear_on.png b/sample-qml/apps/HVAC/images/defrost_rear_on.png deleted file mode 100644 index 205ec2a..0000000 Binary files a/sample-qml/apps/HVAC/images/defrost_rear_on.png and /dev/null differ diff --git a/sample-qml/apps/HVAC/images/defrost_rear_on.svg b/sample-qml/apps/HVAC/images/defrost_rear_on.svg deleted file mode 100644 index a44e246..0000000 --- a/sample-qml/apps/HVAC/images/defrost_rear_on.svg +++ /dev/null @@ -1,244 +0,0 @@ - - - -image/svg+xmlREAR - \ No newline at end of file diff --git a/sample-qml/apps/HVAC/images/drag_knob.svg b/sample-qml/apps/HVAC/images/drag_knob.svg deleted file mode 100644 index 774c1b6..0000000 --- a/sample-qml/apps/HVAC/images/drag_knob.svg +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - diff --git a/sample-qml/apps/HVAC/images/fan_bar_off.png b/sample-qml/apps/HVAC/images/fan_bar_off.png deleted file mode 100644 index 29e71e2..0000000 Binary files a/sample-qml/apps/HVAC/images/fan_bar_off.png and /dev/null differ diff --git a/sample-qml/apps/HVAC/images/fan_bar_on.png b/sample-qml/apps/HVAC/images/fan_bar_on.png deleted file mode 100755 index 774897a..0000000 Binary files a/sample-qml/apps/HVAC/images/fan_bar_on.png and /dev/null differ diff --git a/sample-qml/apps/HVAC/images/fan_bar_on.svg b/sample-qml/apps/HVAC/images/fan_bar_on.svg deleted file mode 100644 index f65fe74..0000000 --- a/sample-qml/apps/HVAC/images/fan_bar_on.svg +++ /dev/null @@ -1,39 +0,0 @@ - - - - - - - - - - - - - - - - - - - - 20° - 21° - 19° - 18° - 17° - 16° - - - - - - - - - - - diff --git a/sample-qml/apps/HVAC/images/fan_control_ac_off.png b/sample-qml/apps/HVAC/images/fan_control_ac_off.png deleted file mode 100644 index e109810..0000000 Binary files a/sample-qml/apps/HVAC/images/fan_control_ac_off.png and /dev/null differ diff --git a/sample-qml/apps/HVAC/images/fan_control_ac_off.svg b/sample-qml/apps/HVAC/images/fan_control_ac_off.svg deleted file mode 100644 index 13af676..0000000 --- a/sample-qml/apps/HVAC/images/fan_control_ac_off.svg +++ /dev/null @@ -1,68 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - 20° - 21° - 19° - 18° - 17° - 16° - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - A/C - - diff --git a/sample-qml/apps/HVAC/images/fan_control_ac_on.png b/sample-qml/apps/HVAC/images/fan_control_ac_on.png deleted file mode 100644 index 4a778bb..0000000 Binary files a/sample-qml/apps/HVAC/images/fan_control_ac_on.png and /dev/null differ diff --git a/sample-qml/apps/HVAC/images/fan_control_ac_on.svg b/sample-qml/apps/HVAC/images/fan_control_ac_on.svg deleted file mode 100644 index 040fa44..0000000 --- a/sample-qml/apps/HVAC/images/fan_control_ac_on.svg +++ /dev/null @@ -1,275 +0,0 @@ - - - -image/svg+xml20° -21° -19° -18° -17° -16° -A/C - \ No newline at end of file diff --git a/sample-qml/apps/HVAC/images/fan_control_auto_off.png b/sample-qml/apps/HVAC/images/fan_control_auto_off.png deleted file mode 100644 index a98dae7..0000000 Binary files a/sample-qml/apps/HVAC/images/fan_control_auto_off.png and /dev/null differ diff --git a/sample-qml/apps/HVAC/images/fan_control_auto_off.svg b/sample-qml/apps/HVAC/images/fan_control_auto_off.svg deleted file mode 100644 index f560a54..0000000 --- a/sample-qml/apps/HVAC/images/fan_control_auto_off.svg +++ /dev/null @@ -1,63 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - 20° - 21° - 19° - 18° - 17° - 16° - - - - - - - - - - - - - - - - - - - - - - -AUTO - diff --git a/sample-qml/apps/HVAC/images/fan_control_auto_on.png b/sample-qml/apps/HVAC/images/fan_control_auto_on.png deleted file mode 100644 index 65a799a..0000000 Binary files a/sample-qml/apps/HVAC/images/fan_control_auto_on.png and /dev/null differ diff --git a/sample-qml/apps/HVAC/images/fan_control_auto_on.svg b/sample-qml/apps/HVAC/images/fan_control_auto_on.svg deleted file mode 100644 index 2cdc613..0000000 --- a/sample-qml/apps/HVAC/images/fan_control_auto_on.svg +++ /dev/null @@ -1,282 +0,0 @@ - - - -image/svg+xml20° -21° -19° -18° -17° -16° -AUTO - \ No newline at end of file diff --git a/sample-qml/apps/HVAC/images/fan_control_circ_off.png b/sample-qml/apps/HVAC/images/fan_control_circ_off.png deleted file mode 100644 index 27745f7..0000000 Binary files a/sample-qml/apps/HVAC/images/fan_control_circ_off.png and /dev/null differ diff --git a/sample-qml/apps/HVAC/images/fan_control_circ_off.svg b/sample-qml/apps/HVAC/images/fan_control_circ_off.svg deleted file mode 100644 index d37814b..0000000 --- a/sample-qml/apps/HVAC/images/fan_control_circ_off.svg +++ /dev/null @@ -1,70 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/sample-qml/apps/HVAC/images/fan_control_circ_on.png b/sample-qml/apps/HVAC/images/fan_control_circ_on.png deleted file mode 100644 index 5d19029..0000000 Binary files a/sample-qml/apps/HVAC/images/fan_control_circ_on.png and /dev/null differ diff --git a/sample-qml/apps/HVAC/images/fan_control_circ_on.svg b/sample-qml/apps/HVAC/images/fan_control_circ_on.svg deleted file mode 100644 index a55b0aa..0000000 --- a/sample-qml/apps/HVAC/images/fan_control_circ_on.svg +++ /dev/null @@ -1,173 +0,0 @@ - - - -image/svg+xml \ No newline at end of file diff --git a/sample-qml/apps/HVAC/images/fan_dir_down_off.png b/sample-qml/apps/HVAC/images/fan_dir_down_off.png deleted file mode 100644 index cbbc22a..0000000 Binary files a/sample-qml/apps/HVAC/images/fan_dir_down_off.png and /dev/null differ diff --git a/sample-qml/apps/HVAC/images/fan_dir_down_off.svg b/sample-qml/apps/HVAC/images/fan_dir_down_off.svg deleted file mode 100644 index 616162b..0000000 --- a/sample-qml/apps/HVAC/images/fan_dir_down_off.svg +++ /dev/null @@ -1,196 +0,0 @@ - - - -image/svg+xml \ No newline at end of file diff --git a/sample-qml/apps/HVAC/images/fan_dir_down_on.png b/sample-qml/apps/HVAC/images/fan_dir_down_on.png deleted file mode 100644 index 71407e6..0000000 Binary files a/sample-qml/apps/HVAC/images/fan_dir_down_on.png and /dev/null differ diff --git a/sample-qml/apps/HVAC/images/fan_dir_down_on.svg b/sample-qml/apps/HVAC/images/fan_dir_down_on.svg deleted file mode 100644 index f5e5771..0000000 --- a/sample-qml/apps/HVAC/images/fan_dir_down_on.svg +++ /dev/null @@ -1,201 +0,0 @@ - - - -image/svg+xml \ No newline at end of file diff --git a/sample-qml/apps/HVAC/images/fan_dir_right_off.png b/sample-qml/apps/HVAC/images/fan_dir_right_off.png deleted file mode 100644 index 90a0acf..0000000 Binary files a/sample-qml/apps/HVAC/images/fan_dir_right_off.png and /dev/null differ diff --git a/sample-qml/apps/HVAC/images/fan_dir_right_off.svg b/sample-qml/apps/HVAC/images/fan_dir_right_off.svg deleted file mode 100644 index 7df2d2a..0000000 --- a/sample-qml/apps/HVAC/images/fan_dir_right_off.svg +++ /dev/null @@ -1,67 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/sample-qml/apps/HVAC/images/fan_dir_right_on.png b/sample-qml/apps/HVAC/images/fan_dir_right_on.png deleted file mode 100644 index 7f59d9e..0000000 Binary files a/sample-qml/apps/HVAC/images/fan_dir_right_on.png and /dev/null differ diff --git a/sample-qml/apps/HVAC/images/fan_dir_right_on.svg b/sample-qml/apps/HVAC/images/fan_dir_right_on.svg deleted file mode 100644 index 585dc61..0000000 --- a/sample-qml/apps/HVAC/images/fan_dir_right_on.svg +++ /dev/null @@ -1,227 +0,0 @@ - - - -image/svg+xml \ No newline at end of file diff --git a/sample-qml/apps/HVAC/images/fan_dir_up_off.png b/sample-qml/apps/HVAC/images/fan_dir_up_off.png deleted file mode 100644 index f5a0189..0000000 Binary files a/sample-qml/apps/HVAC/images/fan_dir_up_off.png and /dev/null differ diff --git a/sample-qml/apps/HVAC/images/fan_dir_up_off.svg b/sample-qml/apps/HVAC/images/fan_dir_up_off.svg deleted file mode 100644 index a89f804..0000000 --- a/sample-qml/apps/HVAC/images/fan_dir_up_off.svg +++ /dev/null @@ -1,64 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/sample-qml/apps/HVAC/images/fan_dir_up_on.png b/sample-qml/apps/HVAC/images/fan_dir_up_on.png deleted file mode 100644 index e6dcb48..0000000 Binary files a/sample-qml/apps/HVAC/images/fan_dir_up_on.png and /dev/null differ diff --git a/sample-qml/apps/HVAC/images/fan_dir_up_on.svg b/sample-qml/apps/HVAC/images/fan_dir_up_on.svg deleted file mode 100644 index e17278b..0000000 --- a/sample-qml/apps/HVAC/images/fan_dir_up_on.svg +++ /dev/null @@ -1,244 +0,0 @@ - - - -image/svg+xml \ No newline at end of file diff --git a/sample-qml/apps/HVAC/images/fan_icon_off.png b/sample-qml/apps/HVAC/images/fan_icon_off.png deleted file mode 100644 index a579c25..0000000 Binary files a/sample-qml/apps/HVAC/images/fan_icon_off.png and /dev/null differ diff --git a/sample-qml/apps/HVAC/images/hazard_blink.png b/sample-qml/apps/HVAC/images/hazard_blink.png deleted file mode 100644 index bda2c88..0000000 Binary files a/sample-qml/apps/HVAC/images/hazard_blink.png and /dev/null differ diff --git a/sample-qml/apps/HVAC/images/hazard_blink.svg b/sample-qml/apps/HVAC/images/hazard_blink.svg deleted file mode 100644 index 983c8e1..0000000 --- a/sample-qml/apps/HVAC/images/hazard_blink.svg +++ /dev/null @@ -1,14 +0,0 @@ - - - - - - - - - - - diff --git a/sample-qml/apps/HVAC/images/hazard_off.png b/sample-qml/apps/HVAC/images/hazard_off.png deleted file mode 100644 index 923bfb5..0000000 Binary files a/sample-qml/apps/HVAC/images/hazard_off.png and /dev/null differ diff --git a/sample-qml/apps/HVAC/images/hazard_off.svg b/sample-qml/apps/HVAC/images/hazard_off.svg deleted file mode 100644 index e9ad198..0000000 --- a/sample-qml/apps/HVAC/images/hazard_off.svg +++ /dev/null @@ -1,40 +0,0 @@ - - - - - - - - - - - - - - - - - - - - 53b5ce - - - - - - - - - - - - - - - diff --git a/sample-qml/apps/HVAC/images/hazard_on.png b/sample-qml/apps/HVAC/images/hazard_on.png deleted file mode 100644 index 7c5e314..0000000 Binary files a/sample-qml/apps/HVAC/images/hazard_on.png and /dev/null differ diff --git a/sample-qml/apps/HVAC/images/hazard_on.svg b/sample-qml/apps/HVAC/images/hazard_on.svg deleted file mode 100644 index f2ba8e0..0000000 --- a/sample-qml/apps/HVAC/images/hazard_on.svg +++ /dev/null @@ -1,174 +0,0 @@ - - - -image/svg+xml \ No newline at end of file diff --git a/sample-qml/apps/HVAC/images/left_heat_seat_off.png b/sample-qml/apps/HVAC/images/left_heat_seat_off.png deleted file mode 100644 index ee3444b..0000000 Binary files a/sample-qml/apps/HVAC/images/left_heat_seat_off.png and /dev/null differ diff --git a/sample-qml/apps/HVAC/images/left_heat_seat_off.svg b/sample-qml/apps/HVAC/images/left_heat_seat_off.svg deleted file mode 100644 index 5823221..0000000 --- a/sample-qml/apps/HVAC/images/left_heat_seat_off.svg +++ /dev/null @@ -1,27 +0,0 @@ - - - - - - - - - - - - - - - - diff --git a/sample-qml/apps/HVAC/images/left_heat_seat_on.png b/sample-qml/apps/HVAC/images/left_heat_seat_on.png deleted file mode 100644 index 02627f9..0000000 Binary files a/sample-qml/apps/HVAC/images/left_heat_seat_on.png and /dev/null differ diff --git a/sample-qml/apps/HVAC/images/left_heat_seat_on.svg b/sample-qml/apps/HVAC/images/left_heat_seat_on.svg deleted file mode 100644 index 4cd0841..0000000 --- a/sample-qml/apps/HVAC/images/left_heat_seat_on.svg +++ /dev/null @@ -1,66 +0,0 @@ - - - -image/svg+xml \ No newline at end of file diff --git a/sample-qml/apps/HVAC/images/left_number_bg.svg b/sample-qml/apps/HVAC/images/left_number_bg.svg deleted file mode 100644 index cdba6d5..0000000 --- a/sample-qml/apps/HVAC/images/left_number_bg.svg +++ /dev/null @@ -1,35 +0,0 @@ - - - - - - - - - - - - - - - - 20° - 21° - 19° - 18° - 17° - 16° - - - - - - - - - - - - diff --git a/sample-qml/apps/HVAC/images/left_number_cover.svg b/sample-qml/apps/HVAC/images/left_number_cover.svg deleted file mode 100644 index 6bcfc16..0000000 --- a/sample-qml/apps/HVAC/images/left_number_cover.svg +++ /dev/null @@ -1,19 +0,0 @@ - - - - - - - - - - - - - - - - - diff --git a/sample-qml/apps/HVAC/images/right_heat_seat_off.png b/sample-qml/apps/HVAC/images/right_heat_seat_off.png deleted file mode 100644 index b803ea0..0000000 Binary files a/sample-qml/apps/HVAC/images/right_heat_seat_off.png and /dev/null differ diff --git a/sample-qml/apps/HVAC/images/right_heat_seat_off.svg b/sample-qml/apps/HVAC/images/right_heat_seat_off.svg deleted file mode 100644 index a260e8a..0000000 --- a/sample-qml/apps/HVAC/images/right_heat_seat_off.svg +++ /dev/null @@ -1,52 +0,0 @@ - - - - - - - - - - - - - - - - - - 20° - 21° - 19° - 18° - 17° - - - - - - - - - - - - - - - - - - - diff --git a/sample-qml/apps/HVAC/images/right_heat_seat_on.png b/sample-qml/apps/HVAC/images/right_heat_seat_on.png deleted file mode 100644 index 60fb43b..0000000 Binary files a/sample-qml/apps/HVAC/images/right_heat_seat_on.png and /dev/null differ diff --git a/sample-qml/apps/HVAC/images/right_heat_seat_on.svg b/sample-qml/apps/HVAC/images/right_heat_seat_on.svg deleted file mode 100644 index 893a546..0000000 --- a/sample-qml/apps/HVAC/images/right_heat_seat_on.svg +++ /dev/null @@ -1,117 +0,0 @@ - - - -image/svg+xml20° -21° -19° -18° -17° - \ No newline at end of file diff --git a/sample-qml/apps/HVAC/images/right_number_bg.svg b/sample-qml/apps/HVAC/images/right_number_bg.svg deleted file mode 100644 index f9b7d71..0000000 --- a/sample-qml/apps/HVAC/images/right_number_bg.svg +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - - - - - - - - 20° - 21° - 19° - 18° - 17° - - - - - - - - - - - - - diff --git a/sample-qml/apps/HVAC/images/right_number_cover.svg b/sample-qml/apps/HVAC/images/right_number_cover.svg deleted file mode 100644 index 370acd3..0000000 --- a/sample-qml/apps/HVAC/images/right_number_cover.svg +++ /dev/null @@ -1,40 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - 20° - 21° - 19° - 18° - 17° - - - - - - - - - - - - diff --git a/sample-qml/apps/HVAC/images/separator.png b/sample-qml/apps/HVAC/images/separator.png deleted file mode 100644 index 02466ff..0000000 Binary files a/sample-qml/apps/HVAC/images/separator.png and /dev/null differ diff --git a/sample-qml/apps/HVAC/images/static_parts_bg.svg b/sample-qml/apps/HVAC/images/static_parts_bg.svg deleted file mode 100644 index f850fcb..0000000 --- a/sample-qml/apps/HVAC/images/static_parts_bg.svg +++ /dev/null @@ -1,1031 +0,0 @@ - - - -image/svg+xml20° -21° -19° -18° -17° -16° -20° -21° -19° -18° -17° -MAX - \ No newline at end of file diff --git a/sample-qml/apps/HVAC/images/temp_bar_on_left.svg b/sample-qml/apps/HVAC/images/temp_bar_on_left.svg deleted file mode 100644 index 66cac81..0000000 --- a/sample-qml/apps/HVAC/images/temp_bar_on_left.svg +++ /dev/null @@ -1,271 +0,0 @@ - - - -image/svg+xml \ No newline at end of file diff --git a/sample-qml/apps/HVAC/images/temp_bar_on_right.svg b/sample-qml/apps/HVAC/images/temp_bar_on_right.svg deleted file mode 100644 index 95bd894..0000000 --- a/sample-qml/apps/HVAC/images/temp_bar_on_right.svg +++ /dev/null @@ -1,282 +0,0 @@ - - - -image/svg+xml \ No newline at end of file diff --git a/sample-qml/apps/HVAC/models/HVACModel.qml b/sample-qml/apps/HVAC/models/HVACModel.qml deleted file mode 100644 index e737af4..0000000 --- a/sample-qml/apps/HVAC/models/HVACModel.qml +++ /dev/null @@ -1,47 +0,0 @@ -/* 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 -import vehicle 1.0 - -Item { - property bool fanUp: false - property bool fanRight: false - property bool fanDown: false - - property bool fanAC: false - property bool fanAuto: false - property bool fanRecirc: false - - property real fanSpeed: 0 - - property bool defrostMax: false - property bool defrostFront: false - property bool defrostRear: false - - property real leftTemperature: 0 - property real rightTemperature: 0 - - property int leftSeatHeat: 0 - property int rightSeatHeat: 0 - - onFanSpeedChanged: { - var currentFan = ClimateModel.getRangeValue(fanSpeed,ClimateModel.fanStepSize); - ClimateModel.fanSpeed = currentFan; - } - - onLeftTemperatureChanged: { - var temperature = ClimateModel.getRangeValue(leftTemperature,ClimateModel.temperatureStepSize); - ClimateModel.leftTemp = temperature; - } - - onRightTemperatureChanged: { - var temperature = ClimateModel.getRangeValue(rightTemperature,ClimateModel.temperatureStepSize); - ClimateModel.rightTemp = temperature; - } -} diff --git a/sample-qml/apps/HVAC/models/TemperatureModel.qml b/sample-qml/apps/HVAC/models/TemperatureModel.qml deleted file mode 100644 index 85ca415..0000000 --- a/sample-qml/apps/HVAC/models/TemperatureModel.qml +++ /dev/null @@ -1,28 +0,0 @@ -/* 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" } -} diff --git a/sample-qml/apps/HVAC/models/qmldir b/sample-qml/apps/HVAC/models/qmldir deleted file mode 100644 index d757168..0000000 --- a/sample-qml/apps/HVAC/models/qmldir +++ /dev/null @@ -1,8 +0,0 @@ -#/* 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/. */ - -singleton HVACModel 1.0 HVACModel.qml -singleton TemperatureModel 1.0 TemperatureModel.qml diff --git a/sample-qml/apps/HVAC_org/ClimateButton.qml b/sample-qml/apps/HVAC_org/ClimateButton.qml deleted file mode 100644 index 24802c7..0000000 --- a/sample-qml/apps/HVAC_org/ClimateButton.qml +++ /dev/null @@ -1,30 +0,0 @@ -/* 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/. */ - -import QtQuick 2.0 -import "models" - -Rectangle { - id: root - - width: imageItem.width - height: imageItem.height - color: "#aa000000" - - property string target: "" - property string image: "" - property bool value: HVACModel[target] - - Image { - id: imageItem - source: "images/" + image + "_" + (value ? "on" : "off") + ".png" - } - - MouseArea { - anchors.fill: parent - onClicked: HVACModel[target] = !HVACModel[target] - } -} diff --git a/sample-qml/apps/HVAC_org/FanControl.qml b/sample-qml/apps/HVAC_org/FanControl.qml deleted file mode 100644 index 00e6f9e..0000000 --- a/sample-qml/apps/HVAC_org/FanControl.qml +++ /dev/null @@ -1,54 +0,0 @@ -/* 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/. */ - -import QtQuick 2.0 -import "models" - -Item { - width: childrenRect.width - height: childrenRect.height - - property real value: 0 - - Image { - y: 15 - source: "images/fan_icon_off.png" - } - - Image { - id: fanBar - x: 100 - source: "images/fan_bar_off.png" - } - - Image { - x: 100 - width: value * fanBar.width - fillMode: Image.PreserveAspectCrop - horizontalAlignment: Image.AlignLeft - source: "images/fan_bar_on.png" - - Image { - width: 20 - height: width - anchors.verticalCenter: parent.bottom - anchors.verticalCenterOffset: -1 - anchors.horizontalCenter: parent.right - source: "images/drag_knob.svg" - } - } - - MouseArea { - x: 100 - width: fanBar.width - height: parent.height - - onPositionChanged: { - value = Math.min(Math.max(mouse.x / fanBar.width, 0), 1) - HVACModel.fanSpeed = value; - } - } -} diff --git a/sample-qml/apps/HVAC_org/HVAC.qml b/sample-qml/apps/HVAC_org/HVAC.qml deleted file mode 100644 index 8ca981e..0000000 --- a/sample-qml/apps/HVAC_org/HVAC.qml +++ /dev/null @@ -1,89 +0,0 @@ -/* 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/. */ - -import QtQuick 2.0 -import system 1.0 -import utils 1.0 -import "models" - -App { - appId: "hvac" - - HazardButton { - id: hazardButton - y: 100 - anchors.horizontalCenter: parent.horizontalCenter - } - - TempSlider { - id: lTempSlider - x: 30 - anchors.top: hazardButton.bottom - anchors.topMargin: 115 - side: "left" - } - - Row { - anchors.horizontalCenter: parent.horizontalCenter - anchors.top: hazardButton.bottom - anchors.topMargin: 90 - spacing: 200 - - MiddleColumn { side: "left" } - MiddleColumn { side: "right" } - } - - TempSlider { - id: rTempSlider - anchors.top: hazardButton.bottom - anchors.topMargin: 115 - anchors.right: parent.right - anchors.rightMargin: 30 - side: "right" - } - - Image { - y: 1057 - source: "images/separator.png" - } - - FanControl { - x: 259 - y: 1092 - } - - Item { - anchors.horizontalCenter: parent.horizontalCenter - width: childrenRect.width - height: childrenRect.height - anchors.bottom: parent.bottom - anchors.bottomMargin: 40 - - Row { - spacing: 20 - - Column { - spacing: 10 - - ClimateButton { image: "fan_dir_down"; target: "fanDown" } - ClimateButton { image: "fan_dir_right"; target: "fanRight" } - ClimateButton { image: "fan_dir_up"; target: "fanUp" } - } - - ClimateButton { y: 156; image: "fan_control_ac"; target: "fanAC" } - ClimateButton { y: 156; image: "fan_control_auto"; target: "fanAuto" } - ClimateButton { y: 156; image: "fan_control_circ"; target: "fanRecirc" } - - Column { - spacing: 10 - - ClimateButton { image: "defrost_max"; target: "defrostMax" } - ClimateButton { image: "defrost_rear"; target: "defrostRear" } - ClimateButton { image: "defrost_front"; target: "defrostFront" } - } - } - } -} diff --git a/sample-qml/apps/HVAC_org/HazardButton.qml b/sample-qml/apps/HVAC_org/HazardButton.qml deleted file mode 100644 index ffae370..0000000 --- a/sample-qml/apps/HVAC_org/HazardButton.qml +++ /dev/null @@ -1,37 +0,0 @@ -/* 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/. */ - -import QtQuick 2.0 - -Rectangle { - id: hazardButton - width: 624 - height: 122 - color: "#aa000000" - border.color: "#ff53b5ce" - - property bool value: false - property bool flash: false - - Image { - id: image - source: "./images/hazard_" + (value ? (flash ? "blink" : "on") : "off") + ".png" - } - - MouseArea { - anchors.fill: parent - onClicked: value = !value - } - - Timer { - id: timer - interval: 500 - repeat: true - running: value - - onTriggered: flash = !flash - } -} diff --git a/sample-qml/apps/HVAC_org/MiddleColumn.qml b/sample-qml/apps/HVAC_org/MiddleColumn.qml deleted file mode 100644 index 89f0ebe..0000000 --- a/sample-qml/apps/HVAC_org/MiddleColumn.qml +++ /dev/null @@ -1,33 +0,0 @@ -/* 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/. */ - -import QtQuick 2.0 -import components 1.0 -import utils 1.0 - -Item { - id: root - - width: 239 - height: 800 - - property string side: "left" - - Column { - spacing: 50 - - BoxHeading { - color: Style.orangeViv - boxWidth: 45 - boxHeight: 19 - fontSize: 27 - text: (side === "left" ? "L" : "R" ) + " CLIMATE" - } - - SeatHeatButton { side: root.side } - TemperatureWheel { side: root.side } - } -} diff --git a/sample-qml/apps/HVAC_org/SeatHeatButton.qml b/sample-qml/apps/HVAC_org/SeatHeatButton.qml deleted file mode 100644 index 43645fb..0000000 --- a/sample-qml/apps/HVAC_org/SeatHeatButton.qml +++ /dev/null @@ -1,39 +0,0 @@ -/* 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/. */ - -import QtQuick 2.0 -import "models" - -Rectangle { - width: 239 - height: 194 - color: "#aa000000" - border.color: "#ff53b5ce" - - property string side: "left" - property string propertyName: side + "SeatHeat" - property int seatHeat: HVACModel[propertyName] - - Image { - source: "./images/" + side + "_heat_seat_off.png" - } - - Image { - y: 150 - seatHeat*40 - height: implicitHeight - y - fillMode: Image.Tile - verticalAlignment: Image.AlignBottom - source: "./images/" + side + "_heat_seat_on.png" - } - - MouseArea { - anchors.fill: parent - onClicked: { - var value = HVACModel[propertyName] - HVACModel[propertyName] = value > 0 ? value - 1 : 3 - } - } -} diff --git a/sample-qml/apps/HVAC_org/TempSlider.qml b/sample-qml/apps/HVAC_org/TempSlider.qml deleted file mode 100644 index f5500e4..0000000 --- a/sample-qml/apps/HVAC_org/TempSlider.qml +++ /dev/null @@ -1,61 +0,0 @@ -/* 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/. */ - -import QtQuick 2.0 -import utils 1.0 -import "models" - -Item { - id: root - width: 64 - height: 716 - - property real value: HVACModel[propertyName] - property string propertyName: side + "Temperature" - property string side: "left" - - function setProperty(v) { - HVACModel[propertyName] = Math.min(Math.max(v, 0), 1) - } - - Rectangle { - anchors.fill: parent - color: "#4a53b5ce" - } - - Rectangle { - width: parent.width - height: value * parent.height - color: Style.orangeViv - anchors.bottom: parent.bottom - } - - Rectangle { - x: side === "left" ? parent.width + 30 : -30 - width: 2 - height: value * parent.height - anchors.bottom: parent.bottom - color: Style.orangeLt - - Image { - width: 30 - height: width - anchors.verticalCenter: parent.top - anchors.horizontalCenter: parent.horizontalCenter - source: "images/drag_knob.svg" - } - } - - MouseArea { - x: side === "left" ? 0 : -45 - width: parent.width + 45 - height: parent.height - - onPressed: setProperty(1 - mouse.y / height) - onPositionChanged: setProperty(1 - mouse.y / height) - } -} - diff --git a/sample-qml/apps/HVAC_org/TemperatureWheel.qml b/sample-qml/apps/HVAC_org/TemperatureWheel.qml deleted file mode 100644 index 7a59dde..0000000 --- a/sample-qml/apps/HVAC_org/TemperatureWheel.qml +++ /dev/null @@ -1,56 +0,0 @@ -/* 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/. */ - -import QtQuick 2.0 -import "models" - -Rectangle { - width: 237 - height: 350 - color: "#aa000000" - - property string side: "left" - property string propertyName: side + "Temperature" - property real value: HVACModel[propertyName] - - ListView { - anchors.fill: parent - clip: true - snapMode: ListView.SnapToItem - model: TemperatureModel - header: Item { height: 120 } - footer: Item { height: 120 } - currentIndex: Math.min(value * count, count - 1) - flickDeceleration: 5000 - onContentYChanged: { - if (dragging || flicking) { - var item = Math.round((contentY + 120) / 110) - item = Math.max(Math.min(item, count - 1), 0) - if (item != currentIndex) { - var temperature = item / (count - 1) - HVACModel[propertyName] = temperature - } - } - } - highlightMoveDuration: 100 - interactive: true - - delegate: Text { - x: side === "right" ? 40 : 10 - height: 110 - verticalAlignment: Text.AlignVCenter - color: "white" - font.pixelSize: 70 - text: model.text - } - } - - Image { - mirror: side === "left" - source: "./images/right_number_cover.svg" - anchors.fill: parent - } -} diff --git a/sample-qml/apps/HVAC_org/images/defrost_front_off.png b/sample-qml/apps/HVAC_org/images/defrost_front_off.png deleted file mode 100644 index 7f12e77..0000000 Binary files a/sample-qml/apps/HVAC_org/images/defrost_front_off.png and /dev/null differ diff --git a/sample-qml/apps/HVAC_org/images/defrost_front_off.svg b/sample-qml/apps/HVAC_org/images/defrost_front_off.svg deleted file mode 100644 index d2f0a6a..0000000 --- a/sample-qml/apps/HVAC_org/images/defrost_front_off.svg +++ /dev/null @@ -1,94 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -FRONT - - - diff --git a/sample-qml/apps/HVAC_org/images/defrost_front_on.png b/sample-qml/apps/HVAC_org/images/defrost_front_on.png deleted file mode 100644 index d8c9185..0000000 Binary files a/sample-qml/apps/HVAC_org/images/defrost_front_on.png and /dev/null differ diff --git a/sample-qml/apps/HVAC_org/images/defrost_front_on.svg b/sample-qml/apps/HVAC_org/images/defrost_front_on.svg deleted file mode 100644 index c4ed46a..0000000 --- a/sample-qml/apps/HVAC_org/images/defrost_front_on.svg +++ /dev/null @@ -1,247 +0,0 @@ - - - -image/svg+xmlFRONT - \ No newline at end of file diff --git a/sample-qml/apps/HVAC_org/images/defrost_max_off.png b/sample-qml/apps/HVAC_org/images/defrost_max_off.png deleted file mode 100644 index baf93cc..0000000 Binary files a/sample-qml/apps/HVAC_org/images/defrost_max_off.png and /dev/null differ diff --git a/sample-qml/apps/HVAC_org/images/defrost_max_off.svg b/sample-qml/apps/HVAC_org/images/defrost_max_off.svg deleted file mode 100644 index a027d25..0000000 --- a/sample-qml/apps/HVAC_org/images/defrost_max_off.svg +++ /dev/null @@ -1,189 +0,0 @@ - - - -image/svg+xmlMAX - \ No newline at end of file diff --git a/sample-qml/apps/HVAC_org/images/defrost_max_on.png b/sample-qml/apps/HVAC_org/images/defrost_max_on.png deleted file mode 100644 index 675d654..0000000 Binary files a/sample-qml/apps/HVAC_org/images/defrost_max_on.png and /dev/null differ diff --git a/sample-qml/apps/HVAC_org/images/defrost_max_on.svg b/sample-qml/apps/HVAC_org/images/defrost_max_on.svg deleted file mode 100644 index 9385c42..0000000 --- a/sample-qml/apps/HVAC_org/images/defrost_max_on.svg +++ /dev/null @@ -1,267 +0,0 @@ - - - -image/svg+xmlMAX - \ No newline at end of file diff --git a/sample-qml/apps/HVAC_org/images/defrost_rear_off.png b/sample-qml/apps/HVAC_org/images/defrost_rear_off.png deleted file mode 100644 index 33d6cfd..0000000 Binary files a/sample-qml/apps/HVAC_org/images/defrost_rear_off.png and /dev/null differ diff --git a/sample-qml/apps/HVAC_org/images/defrost_rear_off.svg b/sample-qml/apps/HVAC_org/images/defrost_rear_off.svg deleted file mode 100644 index 0f5142e..0000000 --- a/sample-qml/apps/HVAC_org/images/defrost_rear_off.svg +++ /dev/null @@ -1,80 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -REAR - - - - - diff --git a/sample-qml/apps/HVAC_org/images/defrost_rear_on.png b/sample-qml/apps/HVAC_org/images/defrost_rear_on.png deleted file mode 100644 index 2dfab44..0000000 Binary files a/sample-qml/apps/HVAC_org/images/defrost_rear_on.png and /dev/null differ diff --git a/sample-qml/apps/HVAC_org/images/defrost_rear_on.svg b/sample-qml/apps/HVAC_org/images/defrost_rear_on.svg deleted file mode 100644 index a44e246..0000000 --- a/sample-qml/apps/HVAC_org/images/defrost_rear_on.svg +++ /dev/null @@ -1,244 +0,0 @@ - - - -image/svg+xmlREAR - \ No newline at end of file diff --git a/sample-qml/apps/HVAC_org/images/drag_knob.svg b/sample-qml/apps/HVAC_org/images/drag_knob.svg deleted file mode 100644 index 774c1b6..0000000 --- a/sample-qml/apps/HVAC_org/images/drag_knob.svg +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - diff --git a/sample-qml/apps/HVAC_org/images/fan_bar_off.png b/sample-qml/apps/HVAC_org/images/fan_bar_off.png deleted file mode 100644 index ec0f372..0000000 Binary files a/sample-qml/apps/HVAC_org/images/fan_bar_off.png and /dev/null differ diff --git a/sample-qml/apps/HVAC_org/images/fan_bar_on.png b/sample-qml/apps/HVAC_org/images/fan_bar_on.png deleted file mode 100644 index 107c8fc..0000000 Binary files a/sample-qml/apps/HVAC_org/images/fan_bar_on.png and /dev/null differ diff --git a/sample-qml/apps/HVAC_org/images/fan_bar_on.svg b/sample-qml/apps/HVAC_org/images/fan_bar_on.svg deleted file mode 100644 index f65fe74..0000000 --- a/sample-qml/apps/HVAC_org/images/fan_bar_on.svg +++ /dev/null @@ -1,39 +0,0 @@ - - - - - - - - - - - - - - - - - - - - 20° - 21° - 19° - 18° - 17° - 16° - - - - - - - - - - - diff --git a/sample-qml/apps/HVAC_org/images/fan_control_ac_off.png b/sample-qml/apps/HVAC_org/images/fan_control_ac_off.png deleted file mode 100644 index 728efe4..0000000 Binary files a/sample-qml/apps/HVAC_org/images/fan_control_ac_off.png and /dev/null differ diff --git a/sample-qml/apps/HVAC_org/images/fan_control_ac_off.svg b/sample-qml/apps/HVAC_org/images/fan_control_ac_off.svg deleted file mode 100644 index 13af676..0000000 --- a/sample-qml/apps/HVAC_org/images/fan_control_ac_off.svg +++ /dev/null @@ -1,68 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - 20° - 21° - 19° - 18° - 17° - 16° - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - A/C - - diff --git a/sample-qml/apps/HVAC_org/images/fan_control_ac_on.png b/sample-qml/apps/HVAC_org/images/fan_control_ac_on.png deleted file mode 100644 index b9d03e5..0000000 Binary files a/sample-qml/apps/HVAC_org/images/fan_control_ac_on.png and /dev/null differ diff --git a/sample-qml/apps/HVAC_org/images/fan_control_ac_on.svg b/sample-qml/apps/HVAC_org/images/fan_control_ac_on.svg deleted file mode 100644 index 040fa44..0000000 --- a/sample-qml/apps/HVAC_org/images/fan_control_ac_on.svg +++ /dev/null @@ -1,275 +0,0 @@ - - - -image/svg+xml20° -21° -19° -18° -17° -16° -A/C - \ No newline at end of file diff --git a/sample-qml/apps/HVAC_org/images/fan_control_auto_off.png b/sample-qml/apps/HVAC_org/images/fan_control_auto_off.png deleted file mode 100644 index 2112b9c..0000000 Binary files a/sample-qml/apps/HVAC_org/images/fan_control_auto_off.png and /dev/null differ diff --git a/sample-qml/apps/HVAC_org/images/fan_control_auto_off.svg b/sample-qml/apps/HVAC_org/images/fan_control_auto_off.svg deleted file mode 100644 index f560a54..0000000 --- a/sample-qml/apps/HVAC_org/images/fan_control_auto_off.svg +++ /dev/null @@ -1,63 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - 20° - 21° - 19° - 18° - 17° - 16° - - - - - - - - - - - - - - - - - - - - - - -AUTO - diff --git a/sample-qml/apps/HVAC_org/images/fan_control_auto_on.png b/sample-qml/apps/HVAC_org/images/fan_control_auto_on.png deleted file mode 100644 index 2b7daf6..0000000 Binary files a/sample-qml/apps/HVAC_org/images/fan_control_auto_on.png and /dev/null differ diff --git a/sample-qml/apps/HVAC_org/images/fan_control_auto_on.svg b/sample-qml/apps/HVAC_org/images/fan_control_auto_on.svg deleted file mode 100644 index 2cdc613..0000000 --- a/sample-qml/apps/HVAC_org/images/fan_control_auto_on.svg +++ /dev/null @@ -1,282 +0,0 @@ - - - -image/svg+xml20° -21° -19° -18° -17° -16° -AUTO - \ No newline at end of file diff --git a/sample-qml/apps/HVAC_org/images/fan_control_circ_off.png b/sample-qml/apps/HVAC_org/images/fan_control_circ_off.png deleted file mode 100644 index 08e2f11..0000000 Binary files a/sample-qml/apps/HVAC_org/images/fan_control_circ_off.png and /dev/null differ diff --git a/sample-qml/apps/HVAC_org/images/fan_control_circ_off.svg b/sample-qml/apps/HVAC_org/images/fan_control_circ_off.svg deleted file mode 100644 index d37814b..0000000 --- a/sample-qml/apps/HVAC_org/images/fan_control_circ_off.svg +++ /dev/null @@ -1,70 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/sample-qml/apps/HVAC_org/images/fan_control_circ_on.png b/sample-qml/apps/HVAC_org/images/fan_control_circ_on.png deleted file mode 100644 index 4245785..0000000 Binary files a/sample-qml/apps/HVAC_org/images/fan_control_circ_on.png and /dev/null differ diff --git a/sample-qml/apps/HVAC_org/images/fan_control_circ_on.svg b/sample-qml/apps/HVAC_org/images/fan_control_circ_on.svg deleted file mode 100644 index a55b0aa..0000000 --- a/sample-qml/apps/HVAC_org/images/fan_control_circ_on.svg +++ /dev/null @@ -1,173 +0,0 @@ - - - -image/svg+xml \ No newline at end of file diff --git a/sample-qml/apps/HVAC_org/images/fan_dir_down_off.png b/sample-qml/apps/HVAC_org/images/fan_dir_down_off.png deleted file mode 100644 index 84d19f3..0000000 Binary files a/sample-qml/apps/HVAC_org/images/fan_dir_down_off.png and /dev/null differ diff --git a/sample-qml/apps/HVAC_org/images/fan_dir_down_off.svg b/sample-qml/apps/HVAC_org/images/fan_dir_down_off.svg deleted file mode 100644 index 616162b..0000000 --- a/sample-qml/apps/HVAC_org/images/fan_dir_down_off.svg +++ /dev/null @@ -1,196 +0,0 @@ - - - -image/svg+xml \ No newline at end of file diff --git a/sample-qml/apps/HVAC_org/images/fan_dir_down_on.png b/sample-qml/apps/HVAC_org/images/fan_dir_down_on.png deleted file mode 100644 index 8b74473..0000000 Binary files a/sample-qml/apps/HVAC_org/images/fan_dir_down_on.png and /dev/null differ diff --git a/sample-qml/apps/HVAC_org/images/fan_dir_down_on.svg b/sample-qml/apps/HVAC_org/images/fan_dir_down_on.svg deleted file mode 100644 index f5e5771..0000000 --- a/sample-qml/apps/HVAC_org/images/fan_dir_down_on.svg +++ /dev/null @@ -1,201 +0,0 @@ - - - -image/svg+xml \ No newline at end of file diff --git a/sample-qml/apps/HVAC_org/images/fan_dir_right_off.png b/sample-qml/apps/HVAC_org/images/fan_dir_right_off.png deleted file mode 100644 index a64cd81..0000000 Binary files a/sample-qml/apps/HVAC_org/images/fan_dir_right_off.png and /dev/null differ diff --git a/sample-qml/apps/HVAC_org/images/fan_dir_right_off.svg b/sample-qml/apps/HVAC_org/images/fan_dir_right_off.svg deleted file mode 100644 index 7df2d2a..0000000 --- a/sample-qml/apps/HVAC_org/images/fan_dir_right_off.svg +++ /dev/null @@ -1,67 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/sample-qml/apps/HVAC_org/images/fan_dir_right_on.png b/sample-qml/apps/HVAC_org/images/fan_dir_right_on.png deleted file mode 100644 index b6cbc9d..0000000 Binary files a/sample-qml/apps/HVAC_org/images/fan_dir_right_on.png and /dev/null differ diff --git a/sample-qml/apps/HVAC_org/images/fan_dir_right_on.svg b/sample-qml/apps/HVAC_org/images/fan_dir_right_on.svg deleted file mode 100644 index 585dc61..0000000 --- a/sample-qml/apps/HVAC_org/images/fan_dir_right_on.svg +++ /dev/null @@ -1,227 +0,0 @@ - - - -image/svg+xml \ No newline at end of file diff --git a/sample-qml/apps/HVAC_org/images/fan_dir_up_off.png b/sample-qml/apps/HVAC_org/images/fan_dir_up_off.png deleted file mode 100644 index 0a0536e..0000000 Binary files a/sample-qml/apps/HVAC_org/images/fan_dir_up_off.png and /dev/null differ diff --git a/sample-qml/apps/HVAC_org/images/fan_dir_up_off.svg b/sample-qml/apps/HVAC_org/images/fan_dir_up_off.svg deleted file mode 100644 index a89f804..0000000 --- a/sample-qml/apps/HVAC_org/images/fan_dir_up_off.svg +++ /dev/null @@ -1,64 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/sample-qml/apps/HVAC_org/images/fan_dir_up_on.png b/sample-qml/apps/HVAC_org/images/fan_dir_up_on.png deleted file mode 100644 index 6c64b82..0000000 Binary files a/sample-qml/apps/HVAC_org/images/fan_dir_up_on.png and /dev/null differ diff --git a/sample-qml/apps/HVAC_org/images/fan_dir_up_on.svg b/sample-qml/apps/HVAC_org/images/fan_dir_up_on.svg deleted file mode 100644 index e17278b..0000000 --- a/sample-qml/apps/HVAC_org/images/fan_dir_up_on.svg +++ /dev/null @@ -1,244 +0,0 @@ - - - -image/svg+xml \ No newline at end of file diff --git a/sample-qml/apps/HVAC_org/images/fan_icon_off.png b/sample-qml/apps/HVAC_org/images/fan_icon_off.png deleted file mode 100644 index 5a1bf00..0000000 Binary files a/sample-qml/apps/HVAC_org/images/fan_icon_off.png and /dev/null differ diff --git a/sample-qml/apps/HVAC_org/images/hazard_blink.png b/sample-qml/apps/HVAC_org/images/hazard_blink.png deleted file mode 100644 index a58ac33..0000000 Binary files a/sample-qml/apps/HVAC_org/images/hazard_blink.png and /dev/null differ diff --git a/sample-qml/apps/HVAC_org/images/hazard_blink.svg b/sample-qml/apps/HVAC_org/images/hazard_blink.svg deleted file mode 100644 index 983c8e1..0000000 --- a/sample-qml/apps/HVAC_org/images/hazard_blink.svg +++ /dev/null @@ -1,14 +0,0 @@ - - - - - - - - - - - diff --git a/sample-qml/apps/HVAC_org/images/hazard_off.png b/sample-qml/apps/HVAC_org/images/hazard_off.png deleted file mode 100644 index c261e13..0000000 Binary files a/sample-qml/apps/HVAC_org/images/hazard_off.png and /dev/null differ diff --git a/sample-qml/apps/HVAC_org/images/hazard_off.svg b/sample-qml/apps/HVAC_org/images/hazard_off.svg deleted file mode 100644 index e9ad198..0000000 --- a/sample-qml/apps/HVAC_org/images/hazard_off.svg +++ /dev/null @@ -1,40 +0,0 @@ - - - - - - - - - - - - - - - - - - - - 53b5ce - - - - - - - - - - - - - - - diff --git a/sample-qml/apps/HVAC_org/images/hazard_on.png b/sample-qml/apps/HVAC_org/images/hazard_on.png deleted file mode 100644 index c6a6790..0000000 Binary files a/sample-qml/apps/HVAC_org/images/hazard_on.png and /dev/null differ diff --git a/sample-qml/apps/HVAC_org/images/hazard_on.svg b/sample-qml/apps/HVAC_org/images/hazard_on.svg deleted file mode 100644 index f2ba8e0..0000000 --- a/sample-qml/apps/HVAC_org/images/hazard_on.svg +++ /dev/null @@ -1,174 +0,0 @@ - - - -image/svg+xml \ No newline at end of file diff --git a/sample-qml/apps/HVAC_org/images/left_heat_seat_off.png b/sample-qml/apps/HVAC_org/images/left_heat_seat_off.png deleted file mode 100644 index e9b9977..0000000 Binary files a/sample-qml/apps/HVAC_org/images/left_heat_seat_off.png and /dev/null differ diff --git a/sample-qml/apps/HVAC_org/images/left_heat_seat_off.svg b/sample-qml/apps/HVAC_org/images/left_heat_seat_off.svg deleted file mode 100644 index 5823221..0000000 --- a/sample-qml/apps/HVAC_org/images/left_heat_seat_off.svg +++ /dev/null @@ -1,27 +0,0 @@ - - - - - - - - - - - - - - - - diff --git a/sample-qml/apps/HVAC_org/images/left_heat_seat_on.png b/sample-qml/apps/HVAC_org/images/left_heat_seat_on.png deleted file mode 100644 index 65cc992..0000000 Binary files a/sample-qml/apps/HVAC_org/images/left_heat_seat_on.png and /dev/null differ diff --git a/sample-qml/apps/HVAC_org/images/left_heat_seat_on.svg b/sample-qml/apps/HVAC_org/images/left_heat_seat_on.svg deleted file mode 100644 index 4cd0841..0000000 --- a/sample-qml/apps/HVAC_org/images/left_heat_seat_on.svg +++ /dev/null @@ -1,66 +0,0 @@ - - - -image/svg+xml \ No newline at end of file diff --git a/sample-qml/apps/HVAC_org/images/left_number_bg.svg b/sample-qml/apps/HVAC_org/images/left_number_bg.svg deleted file mode 100644 index cdba6d5..0000000 --- a/sample-qml/apps/HVAC_org/images/left_number_bg.svg +++ /dev/null @@ -1,35 +0,0 @@ - - - - - - - - - - - - - - - - 20° - 21° - 19° - 18° - 17° - 16° - - - - - - - - - - - - diff --git a/sample-qml/apps/HVAC_org/images/left_number_cover.svg b/sample-qml/apps/HVAC_org/images/left_number_cover.svg deleted file mode 100644 index 6bcfc16..0000000 --- a/sample-qml/apps/HVAC_org/images/left_number_cover.svg +++ /dev/null @@ -1,19 +0,0 @@ - - - - - - - - - - - - - - - - - diff --git a/sample-qml/apps/HVAC_org/images/right_heat_seat_off.png b/sample-qml/apps/HVAC_org/images/right_heat_seat_off.png deleted file mode 100644 index d44e5f8..0000000 Binary files a/sample-qml/apps/HVAC_org/images/right_heat_seat_off.png and /dev/null differ diff --git a/sample-qml/apps/HVAC_org/images/right_heat_seat_off.svg b/sample-qml/apps/HVAC_org/images/right_heat_seat_off.svg deleted file mode 100644 index a260e8a..0000000 --- a/sample-qml/apps/HVAC_org/images/right_heat_seat_off.svg +++ /dev/null @@ -1,52 +0,0 @@ - - - - - - - - - - - - - - - - - - 20° - 21° - 19° - 18° - 17° - - - - - - - - - - - - - - - - - - - diff --git a/sample-qml/apps/HVAC_org/images/right_heat_seat_on.png b/sample-qml/apps/HVAC_org/images/right_heat_seat_on.png deleted file mode 100644 index 64f54c8..0000000 Binary files a/sample-qml/apps/HVAC_org/images/right_heat_seat_on.png and /dev/null differ diff --git a/sample-qml/apps/HVAC_org/images/right_heat_seat_on.svg b/sample-qml/apps/HVAC_org/images/right_heat_seat_on.svg deleted file mode 100644 index 893a546..0000000 --- a/sample-qml/apps/HVAC_org/images/right_heat_seat_on.svg +++ /dev/null @@ -1,117 +0,0 @@ - - - -image/svg+xml20° -21° -19° -18° -17° - \ No newline at end of file diff --git a/sample-qml/apps/HVAC_org/images/right_number_bg.svg b/sample-qml/apps/HVAC_org/images/right_number_bg.svg deleted file mode 100644 index f9b7d71..0000000 --- a/sample-qml/apps/HVAC_org/images/right_number_bg.svg +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - - - - - - - - 20° - 21° - 19° - 18° - 17° - - - - - - - - - - - - - diff --git a/sample-qml/apps/HVAC_org/images/right_number_cover.svg b/sample-qml/apps/HVAC_org/images/right_number_cover.svg deleted file mode 100644 index 370acd3..0000000 --- a/sample-qml/apps/HVAC_org/images/right_number_cover.svg +++ /dev/null @@ -1,40 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - 20° - 21° - 19° - 18° - 17° - - - - - - - - - - - - diff --git a/sample-qml/apps/HVAC_org/images/separator.png b/sample-qml/apps/HVAC_org/images/separator.png deleted file mode 100644 index 920ea80..0000000 Binary files a/sample-qml/apps/HVAC_org/images/separator.png and /dev/null differ diff --git a/sample-qml/apps/HVAC_org/images/static_parts_bg.svg b/sample-qml/apps/HVAC_org/images/static_parts_bg.svg deleted file mode 100644 index f850fcb..0000000 --- a/sample-qml/apps/HVAC_org/images/static_parts_bg.svg +++ /dev/null @@ -1,1031 +0,0 @@ - - - -image/svg+xml20° -21° -19° -18° -17° -16° -20° -21° -19° -18° -17° -MAX - \ No newline at end of file diff --git a/sample-qml/apps/HVAC_org/images/temp_bar_on_left.svg b/sample-qml/apps/HVAC_org/images/temp_bar_on_left.svg deleted file mode 100644 index 66cac81..0000000 --- a/sample-qml/apps/HVAC_org/images/temp_bar_on_left.svg +++ /dev/null @@ -1,271 +0,0 @@ - - - -image/svg+xml \ No newline at end of file diff --git a/sample-qml/apps/HVAC_org/images/temp_bar_on_right.svg b/sample-qml/apps/HVAC_org/images/temp_bar_on_right.svg deleted file mode 100644 index 95bd894..0000000 --- a/sample-qml/apps/HVAC_org/images/temp_bar_on_right.svg +++ /dev/null @@ -1,282 +0,0 @@ - - - -image/svg+xml \ No newline at end of file diff --git a/sample-qml/apps/HVAC_org/models/HVACModel.qml b/sample-qml/apps/HVAC_org/models/HVACModel.qml deleted file mode 100644 index e737af4..0000000 --- a/sample-qml/apps/HVAC_org/models/HVACModel.qml +++ /dev/null @@ -1,47 +0,0 @@ -/* 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 -import vehicle 1.0 - -Item { - property bool fanUp: false - property bool fanRight: false - property bool fanDown: false - - property bool fanAC: false - property bool fanAuto: false - property bool fanRecirc: false - - property real fanSpeed: 0 - - property bool defrostMax: false - property bool defrostFront: false - property bool defrostRear: false - - property real leftTemperature: 0 - property real rightTemperature: 0 - - property int leftSeatHeat: 0 - property int rightSeatHeat: 0 - - onFanSpeedChanged: { - var currentFan = ClimateModel.getRangeValue(fanSpeed,ClimateModel.fanStepSize); - ClimateModel.fanSpeed = currentFan; - } - - onLeftTemperatureChanged: { - var temperature = ClimateModel.getRangeValue(leftTemperature,ClimateModel.temperatureStepSize); - ClimateModel.leftTemp = temperature; - } - - onRightTemperatureChanged: { - var temperature = ClimateModel.getRangeValue(rightTemperature,ClimateModel.temperatureStepSize); - ClimateModel.rightTemp = temperature; - } -} diff --git a/sample-qml/apps/HVAC_org/models/TemperatureModel.qml b/sample-qml/apps/HVAC_org/models/TemperatureModel.qml deleted file mode 100644 index 85ca415..0000000 --- a/sample-qml/apps/HVAC_org/models/TemperatureModel.qml +++ /dev/null @@ -1,28 +0,0 @@ -/* 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" } -} diff --git a/sample-qml/apps/HVAC_org/models/qmldir b/sample-qml/apps/HVAC_org/models/qmldir deleted file mode 100644 index d757168..0000000 --- a/sample-qml/apps/HVAC_org/models/qmldir +++ /dev/null @@ -1,8 +0,0 @@ -#/* 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/. */ - -singleton HVACModel 1.0 HVACModel.qml -singleton TemperatureModel 1.0 TemperatureModel.qml diff --git a/sample-qml/calledbyqml.cpp b/sample-qml/calledbyqml.cpp deleted file mode 100644 index 5df584a..0000000 --- a/sample-qml/calledbyqml.cpp +++ /dev/null @@ -1,38 +0,0 @@ -#include "calledbyqml.h" -#include -#include -#include -#include - - -CalledByQml::CalledByQml(QObject *parent) : - QObject(parent) -{ -} - -int CalledByQml::consoleout() -{ - qDebug("consoleout method is called"); - LibHomeScreen libHomeScreen; - libHomeScreen.hardKeyPressed(1); - return 0; -} - -int CalledByQml::showup() -{ - qDebug("showup method is called"); - QGuiApplication app2(); - QQmlApplicationEngine engine2; - QString target(getenv("AFM_APP_INSTALL_DIR")); - qDebug("AFM_APP_INSTALL_DIR is " + target.toLatin1()); - - if(NULL == target) - { - target = "."; - } - - QString load_path; - load_path = target + "/main2.qml"; - //engine2.load(QUrl(load_path)); - return 0; -} diff --git a/sample-qml/calledbyqml.h b/sample-qml/calledbyqml.h deleted file mode 100644 index fbb5ef5..0000000 --- a/sample-qml/calledbyqml.h +++ /dev/null @@ -1,22 +0,0 @@ -#ifndef CALLEDBYQML_H -#define CALLEDBYQML_H -#include - -class CalledByQml : public QObject -{ - Q_OBJECT - -public: - explicit CalledByQml(QObject *parent = 0); - Q_INVOKABLE int consoleout(); - Q_INVOKABLE int showup(); - -signals: - -public slots: - void refresh() { - qDebug("Called the C++ slot"); - } -}; - -#endif // CALLEDBYQML_H diff --git a/sample-qml/config.xml b/sample-qml/config.xml deleted file mode 100644 index 9703e68..0000000 --- a/sample-qml/config.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - App Framework - sample-qml with homescreen - - - This application is used for ... confirm homescreen functionality - Sample Company <sample.agl.xxxx@mail.domain.sample.xxxxxx> - APL 2.0 - diff --git a/sample-qml/deployment.pri b/sample-qml/deployment.pri deleted file mode 100644 index 265ce71..0000000 --- a/sample-qml/deployment.pri +++ /dev/null @@ -1,13 +0,0 @@ -unix:!android { - isEmpty(target.path) { - qnx { - target.path = /tmp/$${TARGET}/bin - } else { - target.path = /opt/$${TARGET}/bin - } - export(target.path) - } - INSTALLS += target -} - -export(INSTALLS) diff --git a/sample-qml/dummyimports/Automotive/ClimateControl/ClimateControlItem.qml b/sample-qml/dummyimports/Automotive/ClimateControl/ClimateControlItem.qml deleted file mode 100644 index 2688db6..0000000 --- a/sample-qml/dummyimports/Automotive/ClimateControl/ClimateControlItem.qml +++ /dev/null @@ -1,13 +0,0 @@ -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 deleted file mode 100644 index 9961cde..0000000 Binary files a/sample-qml/dummyimports/Automotive/ClimateControl/ClimateControlItem.qmlc and /dev/null differ diff --git a/sample-qml/dummyimports/Automotive/ClimateControl/qmldir b/sample-qml/dummyimports/Automotive/ClimateControl/qmldir deleted file mode 100644 index 8a44272..0000000 --- a/sample-qml/dummyimports/Automotive/ClimateControl/qmldir +++ /dev/null @@ -1 +0,0 @@ -ClimateControlItem 1.0 ClimateControlItem.qml diff --git a/sample-qml/dummyimports/amb/AutomotivePropertyItem.qml b/sample-qml/dummyimports/amb/AutomotivePropertyItem.qml deleted file mode 100644 index 158ad57..0000000 --- a/sample-qml/dummyimports/amb/AutomotivePropertyItem.qml +++ /dev/null @@ -1,7 +0,0 @@ -import QtQuick 2.0 - -Item { - property string propertyName: "" - property real value: 1.0 - function connect() {} -} diff --git a/sample-qml/dummyimports/amb/qmldir b/sample-qml/dummyimports/amb/qmldir deleted file mode 100644 index 1582652..0000000 --- a/sample-qml/dummyimports/amb/qmldir +++ /dev/null @@ -1,2 +0,0 @@ -AutomotivePropertyItem 0.1 AutomotivePropertyItem.qml - diff --git a/sample-qml/dummyimports/com/pelagicore/qmldevinfo/DevInfo.qml b/sample-qml/dummyimports/com/pelagicore/qmldevinfo/DevInfo.qml deleted file mode 100644 index e81b44d..0000000 --- a/sample-qml/dummyimports/com/pelagicore/qmldevinfo/DevInfo.qml +++ /dev/null @@ -1,18 +0,0 @@ -/* 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/. */ - -import QtQuick 2.0 - -Item { - id: root - - property var ipAddresses: [] - property var ip6addresses: [] - property string softwareVersion - property string buildId - property string nameServer - property string defaultGateway -} diff --git a/sample-qml/dummyimports/com/pelagicore/qmldevinfo/qmldir b/sample-qml/dummyimports/com/pelagicore/qmldevinfo/qmldir deleted file mode 100644 index 1caf203..0000000 --- a/sample-qml/dummyimports/com/pelagicore/qmldevinfo/qmldir +++ /dev/null @@ -1,7 +0,0 @@ -#/* 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/. */ - -DevInfo 0.1 DevInfo.qml diff --git a/sample-qml/dummyimports/radio/Radio.qml b/sample-qml/dummyimports/radio/Radio.qml deleted file mode 100644 index cea2e1a..0000000 --- a/sample-qml/dummyimports/radio/Radio.qml +++ /dev/null @@ -1,6 +0,0 @@ -import QtQuick 2.0 - -Item { - signal stopped - signal playing -} diff --git a/sample-qml/dummyimports/radio/qmldir b/sample-qml/dummyimports/radio/qmldir deleted file mode 100644 index e334188..0000000 --- a/sample-qml/dummyimports/radio/qmldir +++ /dev/null @@ -1,2 +0,0 @@ -Radio 1.0 Radio.qml -RadioPropertyItem 1.0 Radio.qml diff --git a/sample-qml/imports/components/AwesomeIcon.qml b/sample-qml/imports/components/AwesomeIcon.qml deleted file mode 100644 index 542fb0f..0000000 --- a/sample-qml/imports/components/AwesomeIcon.qml +++ /dev/null @@ -1,26 +0,0 @@ -/* 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/. */ - -import QtQuick 2.0 -import system 1.0 -import components 1.0 -import utils 1.0 - -Item { - height: icon.height - width: icon.height - - property alias iconSize: icon.font.pixelSize - property alias ucKey: icon.text - property alias iconColor: icon.color - - Text { - id: icon - font.family: "FontAwesome" - color: "white" - } -} - diff --git a/sample-qml/imports/components/Box.qml b/sample-qml/imports/components/Box.qml deleted file mode 100644 index a2f2ae0..0000000 --- a/sample-qml/imports/components/Box.qml +++ /dev/null @@ -1,49 +0,0 @@ -/* 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/. */ - -import QtQuick 2.0 -import utils 1.0 - -Item { - id: root - - opacity: 0.8 - property color color: Style.grey - property color border: color - property string shadow: "" - - OutShadow { - color: root.color - visible: root.shadow === "out" - } - - Rectangle { - id: rect - anchors.fill: parent - color: Style.black - border.width: 1 - border.color: root.border - } - - InsetShadow { - color: root.color - visible: root.shadow === "fill" - } - - InShadow { - color: root.color - visible: root.shadow === "in" - } - - Rectangle { - visible: root.shadow === "fill" - anchors.fill: parent - color: "transparent" - border.width: 1 - border.color: root.border - } - -} diff --git a/sample-qml/imports/components/BoxButton.qml b/sample-qml/imports/components/BoxButton.qml deleted file mode 100644 index 0969f46..0000000 --- a/sample-qml/imports/components/BoxButton.qml +++ /dev/null @@ -1,36 +0,0 @@ -/* 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/. */ - -import QtQuick 2.0 -import components 1.0 - -Item { - id: root - - property alias shadow: box.shadow - property alias color: box.color - property alias text: textItem.text - - signal clicked() - - Box { - id: box - anchors.fill: parent - - Text { - id: textItem - anchors.centerIn: parent - horizontalAlignment: Text.AlignHCenter - font.pixelSize: 28 - color: "white" - } - - MouseArea { - anchors.fill: parent - onClicked: root.clicked() - } - } -} diff --git a/sample-qml/imports/components/BoxHeading.qml b/sample-qml/imports/components/BoxHeading.qml deleted file mode 100644 index bb2c62a..0000000 --- a/sample-qml/imports/components/BoxHeading.qml +++ /dev/null @@ -1,37 +0,0 @@ -/* 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/. */ - -import QtQuick 2.0 -import utils 1.0 - -Row { - id: root - - property color color: Style.blueViv - property alias fontSize: headingText.font.pixelSize - property alias text: headingText.text - property alias boxWidth: box.width - property alias boxHeight: box.height - - spacing: 10 - - Rectangle { - id: box - anchors.bottom: headingText.baseline - anchors.bottomMargin: 0 - width: 100 - height: 16 - color: root.color - } - - Text { - id: headingText - font.family: "Source Sans Pro" - font.pixelSize: 22 - font.weight: Font.Bold - color: root.color - } -} diff --git a/sample-qml/imports/components/Button.qml b/sample-qml/imports/components/Button.qml deleted file mode 100644 index 9d5c495..0000000 --- a/sample-qml/imports/components/Button.qml +++ /dev/null @@ -1,30 +0,0 @@ -/* 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/. */ - -import QtQuick 2.0 - -Rectangle { - id: root - border.color: "#cccccc" - color:"#222" - border.width: 2 - height: pairText.height + 20 - width: pairText.width + 20 - - property string buttonText - - - Text { - id: pairText - anchors.centerIn: parent - font.family: "Source Sans Pro" - font.pixelSize: 48 - font.weight: Font.Bold - color: "white" - font.capitalization: Font.AllUppercase - text: buttonText - } -} diff --git a/sample-qml/imports/components/DateTime.qml b/sample-qml/imports/components/DateTime.qml deleted file mode 100644 index 6203712..0000000 --- a/sample-qml/imports/components/DateTime.qml +++ /dev/null @@ -1,35 +0,0 @@ -/* 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/. */ - -import QtQuick 2.0 -import utils 1.0 - -Item { - id: dateTime - anchors.left: parent.left - anchors.right: parent.right - height: 120 - property var timeStamp: new Date() - - Timer { - interval: 1000 - running: true - repeat: true - onTriggered: timeStamp = new Date() - } - - Label { - fontColor: Style.grey - text: Qt.formatDate(timeStamp, "ddd MMM d") - } - - Label { - anchors.right: parent.right - fontColor: Style.grey - text: Qt.formatTime(timeStamp, "h:mm AP") - } -} - diff --git a/sample-qml/imports/components/HexGrid.qml b/sample-qml/imports/components/HexGrid.qml deleted file mode 100644 index b81a09a..0000000 --- a/sample-qml/imports/components/HexGrid.qml +++ /dev/null @@ -1,32 +0,0 @@ -/* 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/. */ - -import QtQuick 2.0 - -Item { - property real spacing: 0 - property int columns: 3 - - width: childrenRect.width - height: childrenRect.height - - Component.onCompleted: { - var sizeX = childrenRect.height - var sizeY = childrenRect.width - var column = 0 - var row = 0 - - for (var n = 0; n < children.length; n++) { - children[n].x = column * (sizeX + spacing) - children[n].y = row * (0.5 * sizeY + spacing) - column += 2 - if (column >= columns) { - row++ - column = row % 2 - } - } - } -} diff --git a/sample-qml/imports/components/HexSwitch.qml b/sample-qml/imports/components/HexSwitch.qml deleted file mode 100644 index d0b7909..0000000 --- a/sample-qml/imports/components/HexSwitch.qml +++ /dev/null @@ -1,80 +0,0 @@ -/* 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/. */ - -import QtQuick 2.0 -import QtGraphicalEffects 1.0 - -Item { - width: 170 * height / 80 - height: 80 - - property bool value - property bool showLabels: false - - Image { - anchors.fill: parent - source: "../../images/switchplate_" + (value ? "on" : "off") + ".png" - } - - Item { - id: shadowTarget - x: value ? parent.width * 0.375 : -11 - width: parent.width * 0.7 - height: parent.height - - Image { - id: control - anchors.centerIn: parent - width: parent.height * 0.9 - fillMode: Image.PreserveAspectFit - source: "../../images/switchcontrol.png" - } - } - - DropShadow { - anchors.fill: shadowTarget - cached: true - horizontalOffset: parent.height * 0.05 - verticalOffset: parent.height * 0.05 - radius: 16 - samples: 32 - color: Qt.rgba(0, 0, 0, 0.35) - smooth: true - source: shadowTarget - } - - Text { - text: qsTr("OFF") - font.family: "Source Sans Pro" - anchors.right: parent.left - anchors.rightMargin: 30 - anchors.verticalCenter: parent.verticalCenter - font.pointSize: 25 - font.letterSpacing: -0.5 - font.weight: value ? Font.Normal : Font.Bold - color: value ? "#C4C4C4" : "#FE9C00" - visible: showLabels - } - - Text { - id: onText - text: qsTr("ON") - font.family: "Source Sans Pro" - anchors.left: parent.right - anchors.leftMargin: 30 - font.pointSize: 25 - anchors.verticalCenter: parent.verticalCenter - font.letterSpacing: -0.5 - font.weight: value ? Font.Bold : Font.Normal - color: value ? "#59FF00" : "#C4C4C4" - visible: showLabels - } - - MouseArea { - anchors.fill: parent - onClicked: value = !value - } -} diff --git a/sample-qml/imports/components/InShadow.qml b/sample-qml/imports/components/InShadow.qml deleted file mode 100644 index 2d64c2a..0000000 --- a/sample-qml/imports/components/InShadow.qml +++ /dev/null @@ -1,33 +0,0 @@ -/* 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/. */ - -import QtQuick 2.0 - -ShaderEffect { - anchors.fill: parent - property color color - property real radius: 16 - - fragmentShader: " -uniform lowp float radius; -uniform lowp float height; -uniform lowp float width; -uniform lowp float qt_Opacity; -uniform lowp vec4 color; -varying highp vec2 qt_TexCoord0; - -void main(void) { - lowp vec2 dist = min(qt_TexCoord0, vec2(1.0) - qt_TexCoord0); - // Border shadow - lowp float xval = smoothstep(0.0, radius, dist.x * width); - lowp float yval = smoothstep(0.0, radius, dist.y * height); - lowp float borderVal = sqrt(yval * xval) * 0.5 + 0.5; - - lowp vec4 borderColor = mix(color, vec4(0.0, 0.0, 0.0, 1.0), borderVal); - gl_FragColor = borderColor * qt_Opacity; -} - " -} diff --git a/sample-qml/imports/components/InsetShadow.qml b/sample-qml/imports/components/InsetShadow.qml deleted file mode 100644 index 6ad17cd..0000000 --- a/sample-qml/imports/components/InsetShadow.qml +++ /dev/null @@ -1,40 +0,0 @@ -/* 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/. */ - -import QtQuick 2.0 - -ShaderEffect { - anchors.fill: parent - property color color - property real radius: 100 - property real border: 20 - - fragmentShader: " -uniform lowp float radius; -uniform lowp float border; -uniform lowp float height; -uniform lowp float width; -uniform lowp float qt_Opacity; -uniform lowp vec4 color; -varying highp vec2 qt_TexCoord0; - -void main(void) { - lowp vec2 dist = min(qt_TexCoord0, vec2(1.0) - qt_TexCoord0); - // Border shadow - lowp float xval = smoothstep(0.0, border, dist.x * width); - lowp float yval = smoothstep(0.0, border, dist.y * height); - lowp float borderVal = sqrt(yval * xval) * 0.5 + 0.5; - // Inner shadow - xval = smoothstep(0.0, radius, dist.x * width); - yval = smoothstep(0.0, radius, dist.y * width); - lowp float innerVal = sqrt(yval * xval) * 0.5 + 0.5; - - lowp vec4 innerColor = mix(vec4(0.0, 0.0, 0.0, 0.5), color, innerVal); - lowp vec4 borderColor = mix(vec4(0.0, 0.0, 0.0, 1.0), innerColor, borderVal); - gl_FragColor = borderColor * qt_Opacity; -} - " -} diff --git a/sample-qml/imports/components/Label.qml b/sample-qml/imports/components/Label.qml deleted file mode 100644 index e1e0b30..0000000 --- a/sample-qml/imports/components/Label.qml +++ /dev/null @@ -1,27 +0,0 @@ -/* 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/. */ - -import QtQuick 2.0 -import utils 1.0 - -Item { - // Tracer {} - width: childrenRect.width - height: childrenRect.height - property alias text: text.text - property alias label: text - property alias fontSize: text.font.pixelSize - property alias fontColor: text.color - - Text { - id: text - color: "#ddd" - font.family: "Source Sans Pro" - font.pixelSize: 40 - font.capitalization: Font.AllUppercase - font.weight: Font.Bold - } -} diff --git a/sample-qml/imports/components/NumberPad.qml b/sample-qml/imports/components/NumberPad.qml deleted file mode 100644 index b7763ca..0000000 --- a/sample-qml/imports/components/NumberPad.qml +++ /dev/null @@ -1,101 +0,0 @@ -/* 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/. */ - -import QtQuick 2.0 -import utils 1.0 - -Item { - id: root - height: childrenRect.height - property var letters: ["","abc","def","ghi","jkl","mno","pqrs","tuv","wxyz"] - property var bottomRow: ["*","0","#"] - - signal number(string number) - - Grid { - id: numberGrid - columns: 3 - spacing: 20 - - Repeater { - model: 9 - delegate: Item { - id: numberKey - width: (root.width - ( numberGrid.spacing*(numberGrid.columns-1)))/numberGrid.columns - height: numberKey.width * 0.8 - anchors.margins: 10 - - Rectangle { - id: shadowTarget - anchors.fill: parent - border.width: 1 - border.color: "white" - color: "#6653b5ce" - } - - Item { - height: childrenRect.height - width: parent.width - anchors.centerIn: parent - - Label { - anchors.horizontalCenter: parent.horizontalCenter - id: keypadNumber - text: index + 1 - } - - Label { - anchors.horizontalCenter: parent.horizontalCenter - id: keypadLetters - anchors.top: keypadNumber.bottom - fontSize: 30 - fontColor: "#53b5ce" - text: letters[index] - } - } - - MouseArea { - anchors.fill: parent - onClicked: root.number(keypadNumber.text) - } - } - } - - Repeater { - model: 3 - delegate: Item { - width: (root.width - ( numberGrid.spacing*(numberGrid.columns-1)))/numberGrid.columns - height: width * 0.8 - anchors.margins: 10 - - Rectangle { - id: shadowTarget - anchors.fill: parent - border.width: 1 - border.color: "white" - color: "#6653b5ce" - } - - Item { - height: childrenRect.height - width: parent.width - anchors.centerIn: parent - - Label { - anchors.horizontalCenter: parent.horizontalCenter - id: keypadNumber - text: bottomRow[index] - } - } - - MouseArea { - anchors.fill: parent - onClicked: root.number(keypadNumber.text) - } - } - } - } -} diff --git a/sample-qml/imports/components/OutShadow.qml b/sample-qml/imports/components/OutShadow.qml deleted file mode 100644 index f4d8407..0000000 --- a/sample-qml/imports/components/OutShadow.qml +++ /dev/null @@ -1,41 +0,0 @@ -/* 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/. */ - -import QtQuick 2.0 -import QtGraphicalEffects 1.0 - -Item { - id: root - - anchors.fill: parent - property alias color: shadow.color - property alias radius: shadow.radius - - Item { - id: shadowTarget - x: -radius - y: -radius - width: parent.width + 2 * radius - height: parent.height + 2 * radius - - Rectangle { - anchors.centerIn: parent - width: root.width - height: root.height - color: "black" - } - } - - DropShadow { - id: shadow - anchors.fill: shadowTarget - horizontalOffset: 0 - verticalOffset: 0 - radius: 16 - samples: 32 - source: shadowTarget - } -} diff --git a/sample-qml/imports/components/Switch.qml b/sample-qml/imports/components/Switch.qml deleted file mode 100644 index 6cd50c7..0000000 --- a/sample-qml/imports/components/Switch.qml +++ /dev/null @@ -1,13 +0,0 @@ -/* 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/. */ - -import QtQuick 2.0 - -Switch { - width: 100 - height: 62 -} - diff --git a/sample-qml/imports/components/qmldir b/sample-qml/imports/components/qmldir deleted file mode 100644 index 57e4d2d..0000000 --- a/sample-qml/imports/components/qmldir +++ /dev/null @@ -1,16 +0,0 @@ -#/* 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/. */ - -AwesomeIcon 1.0 AwesomeIcon.qml -Box 1.0 Box.qml -BoxButton 1.0 BoxButton.qml -BoxHeading 1.0 BoxHeading.qml -DateTime 1.0 DateTime.qml -HexGrid 1.0 HexGrid.qml -HexSwitch 1.0 HexSwitch.qml -Label 1.0 Label.qml -NumberPad 1.0 NumberPad.qml -Button 1.0 Button.qml diff --git a/sample-qml/imports/radio/Radio.qml b/sample-qml/imports/radio/Radio.qml deleted file mode 100644 index cea2e1a..0000000 --- a/sample-qml/imports/radio/Radio.qml +++ /dev/null @@ -1,6 +0,0 @@ -import QtQuick 2.0 - -Item { - signal stopped - signal playing -} diff --git a/sample-qml/imports/radio/qmldir b/sample-qml/imports/radio/qmldir deleted file mode 100644 index e334188..0000000 --- a/sample-qml/imports/radio/qmldir +++ /dev/null @@ -1,2 +0,0 @@ -Radio 1.0 Radio.qml -RadioPropertyItem 1.0 Radio.qml diff --git a/sample-qml/imports/system/App.qml b/sample-qml/imports/system/App.qml deleted file mode 100644 index d99e7f8..0000000 --- a/sample-qml/imports/system/App.qml +++ /dev/null @@ -1,35 +0,0 @@ -/* 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/. */ - -import QtQuick 2.0 -import system 1.0 - -FocusScope { - id: root - property string appId - width: 1080 - height: 1920 - visible: true - property bool hasKeyFocus: false - focus: visible - onFocusChanged: if (focus) hasKeyFocus = true - - Rectangle{ - anchors.fill: parent - color: 'black' - } - - Keys.onPressed: { - switch (event.key) { - case Qt.Key_Left: - case Qt.Key_Right: - root.hasKeyFocus = false - break - default: - break - } - } -} diff --git a/sample-qml/imports/system/App.qml.org b/sample-qml/imports/system/App.qml.org deleted file mode 100644 index d7da73c..0000000 --- a/sample-qml/imports/system/App.qml.org +++ /dev/null @@ -1,29 +0,0 @@ -/* 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/. */ - -import QtQuick 2.0 -import system 1.0 - -FocusScope { - id: root - property string appId - anchors.fill: parent - visible: System.activeApp === appId - property bool hasKeyFocus: false - focus: visible - onFocusChanged: if (focus) hasKeyFocus = true - - Keys.onPressed: { - switch (event.key) { - case Qt.Key_Left: - case Qt.Key_Right: - root.hasKeyFocus = false - break - default: - break - } - } -} diff --git a/sample-qml/imports/system/System.qml b/sample-qml/imports/system/System.qml deleted file mode 100644 index 8e155fd..0000000 --- a/sample-qml/imports/system/System.qml +++ /dev/null @@ -1,15 +0,0 @@ -/* 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 - -Item { - property string activeApp: "home" - property string activeSetting: "settings" - property bool showKeyboard: false - property bool showSettings: false -} diff --git a/sample-qml/imports/system/qmldir b/sample-qml/imports/system/qmldir deleted file mode 100644 index afa0f56..0000000 --- a/sample-qml/imports/system/qmldir +++ /dev/null @@ -1,8 +0,0 @@ -#/* 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/. */ - -singleton System 1.0 System.qml -App 1.0 App.qml diff --git a/sample-qml/imports/utils/Marker.qml b/sample-qml/imports/utils/Marker.qml deleted file mode 100644 index c7a377e..0000000 --- a/sample-qml/imports/utils/Marker.qml +++ /dev/null @@ -1,60 +0,0 @@ -/* 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/. */ - -import QtQuick 2.0 -import utils 1.0 - -Item { - id: root - width: 120 - height: 120 - property string text - signal clicked() - property alias pressed: area.pressed - property alias color: background.color - property alias fontSize: label.font.pixelSize - property bool fill: false - - Rectangle { - id: background - anchors.fill: parent - color: Style.backgroundColor - opacity: root.fill ? 1.0: 0.2 - } - - Rectangle { - id: frame - anchors.fill: parent - color: 'transparent' - border.color: Qt.darker(background.color, 1.4) - border.width: 2 - opacity: 1.0 - } - - - Rectangle { - anchors.fill: label - anchors.margins: -2 - color: Style.backgroundColor - opacity: root.text ? 1.0 : 0.0 - } - - Text { - id: label - anchors.centerIn: parent - font.pixelSize: 14 - color: Style.greyDarkColor - opacity: 0.75 - text: root.text - } - MouseArea { - id: area - anchors.fill: parent - onClicked: root.clicked() - onPressed: background.color = Qt.darker(background.color, 1.5) - onReleased: background.color = Qt.lighter(background.color, 1.5) - } -} diff --git a/sample-qml/imports/utils/Style.qml b/sample-qml/imports/utils/Style.qml deleted file mode 100644 index f9d9c16..0000000 --- a/sample-qml/imports/utils/Style.qml +++ /dev/null @@ -1,37 +0,0 @@ -/* 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.2 - -QtObject { - property bool debugMode: false - property bool debugFill: false - - // Primary colors - property color orangeLt: "#ffd38c" - property color orangeViv: "#fe9c00" - property color blueLt: "#b2f0ff" - property color blueViv: "#53b5ce" - // Secondary colors - property color yellowLt: "#ffffb2" - property color yellowViv: "#ffff00" - property color greenLt: "#cdffb2" - property color greenViv: "#59ff00" - // Neutral colors - property color white: "#ffffff" - property color grey: "#c4c4c4" - property color black: "#000000" - property color overlay: Qt.rgba(0, 0, 0, 0.8) - - function getGfxPath() { - return Qt.resolvedUrl("../assets/") - } - - function gfx(name) { - return Qt.resolvedUrl("../../images/" + name ) - } -} diff --git a/sample-qml/imports/utils/qmldir b/sample-qml/imports/utils/qmldir deleted file mode 100644 index c2df9de..0000000 --- a/sample-qml/imports/utils/qmldir +++ /dev/null @@ -1,8 +0,0 @@ -#/* 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/. */ - -singleton Style 1.0 Style.qml -Marker 1.0 Marker.qml diff --git a/sample-qml/imports/vehicle/ClimateModel.qml b/sample-qml/imports/vehicle/ClimateModel.qml deleted file mode 100644 index 9633f16..0000000 --- a/sample-qml/imports/vehicle/ClimateModel.qml +++ /dev/null @@ -1,44 +0,0 @@ -/* 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 -import Automotive.ClimateControl 1.0 - -Item { - property real fanStepSize:1/255 //Represents the stepSize for a given Climate control. - property alias fanSpeed: fanControl.fanSpeedLevel - - property real temperatureStepSize:1/15 //0== 15c, 15 == 30c - - property alias leftTemp: leftFront.targetTemperature - property alias rightTemp: rightFront.targetTemperature - - ClimateControlItem { - id:fanControl - } - - ClimateControlItem { - id: leftFront - zone: 9 - } - - ClimateControlItem { - id: rightFront - zone: 5 - } - - function getRangeValue(inputVal,stepSize){ - if(inputVal > 0){ - return Math.ceil(inputVal/stepSize); - }else{ - return 0; - } - } - -} - diff --git a/sample-qml/imports/vehicle/FuelModel.qml b/sample-qml/imports/vehicle/FuelModel.qml deleted file mode 100644 index fa064e2..0000000 --- a/sample-qml/imports/vehicle/FuelModel.qml +++ /dev/null @@ -1,46 +0,0 @@ -/* 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 - -Item { - property bool metric: false - - function galToL(value) { - return (metric ? 3.78541 : 1) * value - } - - function mpgToLp100(value) { - return metric ? 235.214583571 / value : value - } - - property real baseTank: 25 - property real tankSize: galToL(baseTank) - property real level: tankSize * percentage * 0.01 - property real percentage: 100 - property real range: metric ? 100 * level / average : level * average - property real baseAverage: 20.7 - property real average: mpgToLp100(baseAverage + mpgDiff) - property real mpgDiff: 0 - - NumberAnimation on percentage { - from: 100 - to: 0 - duration: 5000 - loops: Animation.Infinite - easing.type: Easing.CosineCurve - } - - NumberAnimation on mpgDiff { - from: -2 - to: 2 - duration: 11200 - loops: Animation.Infinite - easing.type: Easing.CosineCurve - } -} diff --git a/sample-qml/imports/vehicle/PositionModel.qml b/sample-qml/imports/vehicle/PositionModel.qml deleted file mode 100644 index 00956aa..0000000 --- a/sample-qml/imports/vehicle/PositionModel.qml +++ /dev/null @@ -1,33 +0,0 @@ -/* Copyright (C) 2015, Jaguar Land Rover, IoT.bzh. 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 -import amb 0.1 - -Item { - property string nmeaString: nmea.value - property real satellites: satsUsed.value - - AutomotivePropertyItem { - id: nmea - - objectName: "GpsNmea" - propertyName: "Nmea" - - Component.onCompleted: nmea.connect(); - } - - AutomotivePropertyItem { - id: satsUsed - - objectName: "GpsSatsUsed" - propertyName: "SatsUsed" - - Component.onCompleted: satsUsed.connect(); - } -} diff --git a/sample-qml/imports/vehicle/SpeedModel.qml b/sample-qml/imports/vehicle/SpeedModel.qml deleted file mode 100644 index 03422b0..0000000 --- a/sample-qml/imports/vehicle/SpeedModel.qml +++ /dev/null @@ -1,38 +0,0 @@ -/* 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 -import amb 0.1 - -Item { - property bool metric: false - - function mphToKph(value) { - return (metric ? 1.60934 : 1 ) * value - } - - property real max:Math.ceil(mphToKph(baseMaxSpeed)/30)*30 - property real baseMaxSpeed: 255 - property real textSpeed: prop.value - property real percentage: textSpeed / max * 100 - - AutomotivePropertyItem { - id: prop - - objectName: "VehicleSpeed" - propertyName: "Speed" - - Component.onCompleted: prop.connect(); - } - - Behavior on percentage { - SmoothedAnimation { - velocity: 100 - } - } -} diff --git a/sample-qml/imports/vehicle/TemperatureModel.qml b/sample-qml/imports/vehicle/TemperatureModel.qml deleted file mode 100644 index 2bfbbf4..0000000 --- a/sample-qml/imports/vehicle/TemperatureModel.qml +++ /dev/null @@ -1,26 +0,0 @@ -/* 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 - -Item { - property bool metric: true - - function unit(value) { - return celsiusToFahrenheit(value).toFixed(1) + "\u00b0" + (metric ? "C" : "F") - } - - function celsiusToFahrenheit(value) { - return (metric ? value : 1.8 * value + 32) - } - - property real indoor: 20.4 - property string indoorString: unit(indoor) - property real outdoor: 28.9 - property string outdoorString: unit(outdoor) -} diff --git a/sample-qml/imports/vehicle/qmldir b/sample-qml/imports/vehicle/qmldir deleted file mode 100644 index 6538e95..0000000 --- a/sample-qml/imports/vehicle/qmldir +++ /dev/null @@ -1,11 +0,0 @@ -#/* 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/. */ - -singleton FuelModel 1.0 FuelModel.qml -singleton SpeedModel 1.0 SpeedModel.qml -singleton TemperatureModel 1.0 TemperatureModel.qml -singleton PositionModel 1.0 PositionModel.qml -singleton ClimateModel 1.0 ClimateModel.qml diff --git a/sample-qml/main.cpp b/sample-qml/main.cpp deleted file mode 100644 index 670decc..0000000 --- a/sample-qml/main.cpp +++ /dev/null @@ -1,63 +0,0 @@ -#include -#include -#include -#include -#include -#include // use libhomescreen -#include "calledbyqml.h" - - -#define FULLSCREEN 1 // assume 1 is "fullscreen" - - -int main(int argc, char *argv[]) -{ - QGuiApplication app(argc, argv); - - /* use libhomescreen - To use libhomescreen, add library path in project file(.pro) - */ - LibHomeScreen *mp_libHomeScreen; - mp_libHomeScreen = new LibHomeScreen(); - - QQmlApplicationEngine engine; - CalledByQml call_hsa; - engine.rootContext()->setContextProperty("hsa",&call_hsa); - - int appcategory = 0 ; - - bool enabled = true; - enabled = mp_libHomeScreen->renderAppToAreaAllowed(appcategory, FULLSCREEN); - if(enabled) - { - engine.addImportPath(QStringLiteral(":/imports")); - engine.addImportPath(QStringLiteral(":/dummyimports")); - - engine.load(QUrl(QStringLiteral("qrc:/main.qml"))); - - std::vector surfaceIdList; - int pid = getpid(); - //maybe we can't call this function... - //surfaceIdList = mp_libHomeScreen->getAllSurfacesOfProcess(pid); - if(surfaceIdList.empty()) - { - qDebug("surface list is empty"); - } - else - { - qDebug("surface list is contained"); - // it will be implemented as soon as possible - //mp_libHomeScreen->renderSurfaceToArea(surfaceIdList.at(0),FULLSCREEN); - } - } - else - { - qDebug("renderAppToAreaAllowed is denied"); - delete mp_libHomeScreen; - return 0; - } - - app.exec(); - delete mp_libHomeScreen; - return 0; -} diff --git a/sample-qml/main.qml b/sample-qml/main.qml deleted file mode 100644 index e2af15f..0000000 --- a/sample-qml/main.qml +++ /dev/null @@ -1,38 +0,0 @@ -import QtQuick 2.6 -import QtQuick.Window 2.2 -import "apps/HVAC" -import "imports" -import "dummyimports" - -Window { - visible: true - width: 1080 - height: 1920 - title: qsTr("AGL sample qml app") - - //MainForm { - // anchors.fill: parent - // mouseArea.onClicked: { - // Qt.quit(); - // } - //} - HVAC { - id: hvc - width: 1080 - height: 1920 - visible: true - } - onVisibleChanged: { - if(visible == true) - { - console.log("visible true") - console.log("maybe it is okay") - hsa.consoleout() - hsa.refresh(); - } - else{ - console.log("visible false") - } - } - -} diff --git a/sample-qml/main2.qml b/sample-qml/main2.qml deleted file mode 100644 index f2ff4c9..0000000 --- a/sample-qml/main2.qml +++ /dev/null @@ -1,27 +0,0 @@ -import QtQuick 2.6 -import QtQuick.Window 2.2 - -Window { - visible: true - width: 1080 - height: 1920 - title: qsTr("AGL sample qml app") - - MainForm { - anchors.fill: parent - mouseArea.onClicked: { - Qt.quit(); - } - } - onVisibleChanged: { - if(visible == true) - { - console.log("2:visible true") - console.log("maybe it is okay") - } - else{ - console.log("visible2 false") - } - } - -} diff --git a/sample-qml/qml.qrc b/sample-qml/qml.qrc deleted file mode 100644 index 52e2f08..0000000 --- a/sample-qml/qml.qrc +++ /dev/null @@ -1,118 +0,0 @@ - - - main.qml - MainForm.ui.qml - apps/HVAC/TemperatureWheel.qml - apps/HVAC/TempSlider.qml - apps/HVAC/SeatHeatButton.qml - apps/HVAC/MiddleColumn.qml - apps/HVAC/HazardButton.qml - apps/HVAC/HVAC.qml - apps/HVAC/FanControl.qml - apps/HVAC/ClimateButton.qml - imports/vehicle/qmldir - imports/utils/qmldir - imports/system/qmldir - imports/radio/qmldir - imports/components/qmldir - dummyimports/radio/qmldir - dummyimports/com/pelagicore/qmldevinfo/qmldir - dummyimports/amb/qmldir - apps/HVAC/models/HVACModel.qml - apps/HVAC/models/qmldir - apps/HVAC/models/TemperatureModel.qml - imports/system/App.qml - imports/system/System.qml - imports/components/AwesomeIcon.qml - imports/components/Box.qml - imports/components/BoxButton.qml - imports/components/BoxHeading.qml - imports/components/Button.qml - imports/components/DateTime.qml - imports/components/HexGrid.qml - imports/components/HexSwitch.qml - imports/components/InsetShadow.qml - imports/components/InShadow.qml - imports/components/Label.qml - imports/components/NumberPad.qml - imports/components/OutShadow.qml - imports/components/Switch.qml - imports/radio/Radio.qml - imports/utils/Marker.qml - imports/utils/Style.qml - imports/vehicle/ClimateModel.qml - imports/vehicle/FuelModel.qml - imports/vehicle/PositionModel.qml - imports/vehicle/SpeedModel.qml - imports/vehicle/TemperatureModel.qml - dummyimports/amb/AutomotivePropertyItem.qml - dummyimports/com/pelagicore/qmldevinfo/DevInfo.qml - dummyimports/radio/Radio.qml - dummyimports/Automotive/ClimateControl/ClimateControlItem.qml - dummyimports/Automotive/ClimateControl/ClimateControlItem.qmlc - dummyimports/Automotive/ClimateControl/qmldir - apps/HVAC/images/defrost_front_off.png - apps/HVAC/images/defrost_front_on.png - apps/HVAC/images/defrost_max_off.png - apps/HVAC/images/defrost_max_on.png - apps/HVAC/images/defrost_rear_off.png - apps/HVAC/images/defrost_rear_on.png - apps/HVAC/images/fan_bar_off.png - apps/HVAC/images/fan_bar_on.png - apps/HVAC/images/fan_control_ac_off.png - apps/HVAC/images/fan_control_ac_on.png - apps/HVAC/images/fan_control_auto_off.png - apps/HVAC/images/fan_control_auto_on.png - apps/HVAC/images/fan_control_circ_off.png - apps/HVAC/images/fan_control_circ_on.png - apps/HVAC/images/fan_dir_down_off.png - apps/HVAC/images/fan_dir_down_on.png - apps/HVAC/images/fan_dir_right_off.png - apps/HVAC/images/fan_dir_right_on.png - apps/HVAC/images/fan_dir_up_off.png - apps/HVAC/images/fan_dir_up_on.png - apps/HVAC/images/fan_icon_off.png - apps/HVAC/images/hazard_blink.png - apps/HVAC/images/hazard_off.png - apps/HVAC/images/hazard_on.png - apps/HVAC/images/left_heat_seat_off.png - apps/HVAC/images/left_heat_seat_on.png - apps/HVAC/images/right_heat_seat_off.png - apps/HVAC/images/right_heat_seat_on.png - apps/HVAC/images/separator.png - apps/HVAC/images/defrost_front_off.svg - apps/HVAC/images/defrost_front_on.svg - apps/HVAC/images/defrost_max_off.svg - apps/HVAC/images/defrost_max_on.svg - apps/HVAC/images/defrost_rear_off.svg - apps/HVAC/images/defrost_rear_on.svg - apps/HVAC/images/drag_knob.svg - apps/HVAC/images/fan_bar_on.svg - apps/HVAC/images/fan_control_ac_off.svg - apps/HVAC/images/fan_control_ac_on.svg - apps/HVAC/images/fan_control_auto_off.svg - apps/HVAC/images/fan_control_auto_on.svg - apps/HVAC/images/fan_control_circ_off.svg - apps/HVAC/images/fan_control_circ_on.svg - apps/HVAC/images/fan_dir_down_off.svg - apps/HVAC/images/fan_dir_down_on.svg - apps/HVAC/images/fan_dir_right_off.svg - apps/HVAC/images/fan_dir_right_on.svg - apps/HVAC/images/fan_dir_up_off.svg - apps/HVAC/images/fan_dir_up_on.svg - apps/HVAC/images/hazard_blink.svg - apps/HVAC/images/hazard_off.svg - apps/HVAC/images/hazard_on.svg - apps/HVAC/images/left_heat_seat_off.svg - apps/HVAC/images/left_heat_seat_on.svg - apps/HVAC/images/left_number_bg.svg - apps/HVAC/images/left_number_cover.svg - apps/HVAC/images/right_heat_seat_off.svg - apps/HVAC/images/right_heat_seat_on.svg - apps/HVAC/images/right_number_bg.svg - apps/HVAC/images/right_number_cover.svg - apps/HVAC/images/static_parts_bg.svg - apps/HVAC/images/temp_bar_on_left.svg - apps/HVAC/images/temp_bar_on_right.svg - - diff --git a/sample-qml/sample-qml.pro b/sample-qml/sample-qml.pro deleted file mode 100644 index e26bef6..0000000 --- a/sample-qml/sample-qml.pro +++ /dev/null @@ -1,22 +0,0 @@ -TEMPLATE = app - -QT += qml quick -CONFIG += c++11 - -SOURCES += main.cpp \ - calledbyqml.cpp - -RESOURCES += qml.qrc - -# Additional import path used to resolve QML modules in Qt Creator's code model -QML_IMPORT_PATH = - -INCLUDEPATH += $$PWD/../libhomescreen/include/ - -LIBS += -L$$OUT_PWD/../libhomescreen -lhomescreen - -# Default rules for deployment. -include(deployment.pri) - -HEADERS += \ - calledbyqml.h diff --git a/sample-qml/zip-command b/sample-qml/zip-command deleted file mode 100644 index c5108cf..0000000 --- a/sample-qml/zip-command +++ /dev/null @@ -1 +0,0 @@ -zip -q -r sample.wgt . -- cgit 1.2.3-korg