C
Qt Quick Ultralite Motorcycle Cluster Demo
/****************************************************************************** ** ** Copyright (C) 2023 The Qt Company Ltd. ** Contact: https://www.qt.io/licensing/ ** ** This file is part of the Qt Quick Ultralite module. ** ** $QT_BEGIN_LICENSE:COMM$ ** ** Commercial License Usage ** Licensees holding valid commercial Qt licenses may use this file in ** accordance with the commercial license agreement provided with the ** Software or, alternatively, in accordance with the terms contained in ** a written agreement between you and The Qt Company. For licensing terms ** and conditions see http://www.qt.io/terms-conditions. For further ** information use the contact form at http://www.qt.io/contact-us. ** ** $QT_END_LICENSE$ ** ******************************************************************************/ import QmlProject 1.3 Project { projectRootPath: "../../.." MCU.Module { uri: "MotorCluster" } QmlFiles { files: [ "qmls/performance/full/PerformanceMetrics.qml", "qmls/performance/full/PerformanceMetricItem.qml" ] } QmlFiles { files: [ "qmls/Background.qml", "qmls/Blinker.qml", "qmls/Logo.qml", "qmls/MainModel.qml", "qmls/MotorCluster.qml", "qmls/RangeIconWithText.qml", "qmls/RoadView.qml", "qmls/SpeedoView.qml", "qmls/Statistics.qml", "qmls/Style.qml", "qmls/Warning.qml", "qmls/animation/StartupAnimation.qml", "qmls/animation/StartupAnimationConfig.qml", "qmls/bottomElements/BottomCommonElements.qml", "qmls/bottomElements/OdoTextElement.qml", "qmls/bottomElements/TextElement.qml", "qmls/bottomElements/TimeView.qml", "qmls/gauges/FuelGaugeView.qml", "qmls/gauges/GearGaugeView.qml", "qmls/keyboard/InputTextField.qml", "qmls/keyboard/KeyBase.qml", "qmls/keyboard/KeyFont20.qml", "qmls/keyboard/KeyFont36.qml", "qmls/keyboard/KeyWithImage.qml", "qmls/keyboard/Keyboard.qml", "qmls/keyboard/KeyboardView.qml", "qmls/navigation/Arrow.qml", "qmls/navigation/Navigation.qml", "qmls/tacho/NumberedScaleView.qml", "qmls/tacho/TachoView.qml", "qmls/telltales/TellTalesIndicator.qml", "qmls/telltales/TellTalesView.qml", "qmls/utils/ItemWithAcivationAnimations.qml", "qmls/utils/ClipingItem.qml", "qmls/utils/TextInRoundedBox.qml", "qmls/gauges/StartupConfig.qml", "qmls/utils/MathAPI.qml", "qmls/telltales/TellTalesModel.qml", "qmls/navigation/NavigationModel.qml" ] } ImageFiles { files: [ "images/bg/main-light.png", "images/bg/main.png", "images/fuelGauge/ring-2.png", "images/fuelGauge/wave-bottom-part.png", "images/fuelGauge/wave-shadow.png", "images/fuelGauge/wave-top-part.png", "images/keyboard/backspace-key.png", "images/keyboard/enter-key.png", "images/keyboard/go-home-key.png", "images/keyboard/go-work-key.png", "images/keyboard/minimize-keyboard.png", "images/navigation/destination-pin.png", "images/navigation/tbt-1-arrow-left.png", "images/navigation/tbt-1-arrow-stright.png", "images/navigation/tbt-center-separator.png", "images/qt-logo.png", "images/range.png", "images/status/battery-status.png", "images/status/distance-status.png", "images/status/engine-oil-status.png", "images/status/fuel-avg-status.png", "images/status/service-status.png", "images/status/time-status.png", "images/tacho/1.png", "images/tacho/2.png", "images/tacho/3.png", "images/tacho/4.png", "images/tacho/5.png", "images/tacho/6.png", "images/tacho/light/01.png", "images/tacho/light/02.png", "images/tacho/light/03.png", "images/tacho/light/04.png", "images/tacho/light/05.png", "images/tacho/light/06.png", "images/telltales/battery.png", "images/telltales/engine-failure.png", "images/telltales/engine-oil.png", "images/telltales/fuel.png", "images/telltales/high-beams.png", "images/turn-left.png", "images/warnings/battery-warning.png", "images/warnings/engine-failure-warning.png", "images/warnings/engine-oil-warning.png" ] } ImageFiles { files: [ "images/fuelGauge/fuel-colored-bg.png", "images/fuelGauge/fuel-colored-circle-day.png", "images/fuelGauge/fuel-colored-circle.png", "images/fuelGauge/fuel-scale.png", "images/fuelGauge/hole-in-bg-day.png", "images/fuelGauge/hole-in-bg.png", "images/mainScreen/left-lines-day.png", "images/mainScreen/left-lines.png", "images/mainScreen/right-lines-day.png", "images/mainScreen/right-lines.png", "images/mainScreen/road-day.png", "images/mainScreen/road.png", "images/mainScreen/tacho-bottom-line-day.png", "images/mainScreen/tacho-bottom-line.png", "images/mainScreen/tacho-top-line-day.png", "images/mainScreen/tacho-top-line.png" ] MCU.resourceImagePixelFormat: "AutomaticCompressedLossless" } // NOTE: The playback time of this sprite animation would be longer than the // baseline because the project has more image files than the expected // number of files targeting frame rate (15fps). It is for more smooth // animation under the limited hardware capacity. ImageFiles { files: [ "images/loading/0001.png", "images/loading/0003.png", "images/loading/0005.png", "images/loading/0007.png", "images/loading/0009.png", "images/loading/0011.png", "images/loading/0013.png", "images/loading/0015.png", "images/loading/0017.png", "images/loading/0019.png", "images/loading/0021.png", "images/loading/0023.png", "images/loading/0025.png", "images/loading/0027.png", "images/loading/0029.png", "images/loading/0031.png", "images/loading/0033.png", "images/loading/0035.png", "images/loading/0037.png", "images/loading/0039.png", "images/loading/0041.png", "images/loading/0043.png", "images/loading/0045.png", "images/loading/0047.png", "images/loading/0049.png", "images/loading/0051.png", "images/loading/0053.png", "images/loading/0055.png", "images/loading/0057.png", "images/loading/0059.png", "images/loading/0061.png", "images/loading/0063.png", "images/loading/0065.png", "images/loading/0067.png", "images/loading/0069.png", "images/loading/0071.png", "images/loading/0073.png", "images/loading/0075.png", "images/loading/0077.png", "images/loading/0079.png", "images/loading/0081.png", "images/loading/0083.png", "images/loading/0085.png", "images/loading/0087.png", "images/loading/0089.png" ] MCU.resourceAnimatedSprite: true MCU.resourceImagePixelFormat: "AutomaticCompressedLossless" MCU.resourceCachePolicy: "NoCaching" } }