C

Qt Quick Ultralite Motorcycle Cluster Demo

/******************************************************************************
**
** Copyright (C) 2022 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/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.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"
  }

  ImageFiles {
    files: ["images/bg/main-light.png"]
    MCU.resourceImagePixelFormat: "RGB565"
  }

}