C语言
Qt Quick Ultralite 温控器演示
/****************************************************************************** ** ** 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: ".." idBasedTranslations: true mainFile: "rootqml/thermo.qml" QmlFiles { files: [ "AnimatedDigit.qml", "BottomBar.qml", "Card.qml", "CardRow.qml", "FanControlButton.qml", "LanguageButton.qml", "LanguageDialog.qml", "PlacesView.qml", "PowerSwitch.qml", "RoomControlButton.qml", "RoomSchedule.qml", "RoomView.qml", "ScheduleView.qml", "StatsContents.qml", "StatsView.qml", "ThermoView.qml", "TimeIntervalSliderHandle.qml", "TimeIntervalSlider.qml", "TopBar.qml", "WeatherStatus.qml" ] } TranslationFiles { files: [ "thermo.en_GB.ts", "thermo.de_DE.ts", "thermo.hi_IN.ts", "thermo.ja_JP.ts", "thermo.ar_EG.ts", "thermo.th_TH.ts" ] MCU.omitSourceLanguage: true } FontFiles { files: ["fonts/ThermoDemoFontmap.fmp"] } MCU.Config { fontEngine: "Spark" defaultFontFamily: "regular" } ModuleFiles { files: [ "qmlproject/thermo_configuration_module.qmlproject", "qmlproject/thermo_module.qmlproject", "mode/benchmark_module.qmlproject" ] MCU.qulModules: ["Qul::ControlsTemplates"] } ImageFiles { fileSelector: ["small"] MCU.base: "SparkFE" files: ["SparkFE/popup-bg.png"] } ImageFiles { fileSelector: ["small"] files: [ "qt-logo.png", "JAPAN.png", "temp-down-pressed.png", "switch-handle.png", "scrollbar-temperature-track.png", "radiobutton-checked-pressed.png", "digitMaskBottom.png", "switch-i.png", "btn-bg-big-on.png", "radiobutton-pressed.png", "pressed-bg-up.png", "selected.png", "eco-on.png", "streamer-on-small.png", "page-indicator.png", "jog-off.png", "status-small.png", "dryer-on-small.png", "dryer-on.png", "close.png", "auto-card.png", "toggle-year.png", "eco-on-small.png", "separator-line.png", "radiobutton-checked.png", "streamer-on.png", "btn-bg-down.png", "slider-handle.png", "thermo-handle.png", "switch-bg.png", "pressed-bg-down.png", "auto-on.png", "place-back.png", "UK.png", "EGYPT.png", "THAILAND.png", "radiobutton.png", "baseline-arrow-back.png", "digitMaskTop.png", "switch-o.png", "power-on.png", "temp-up-pressed.png", "btn-bg-big-off.png", "toggle-month.png", "jog.png", "GERMANY.png", "change-language.png", "scrollbar-off-track.png", "weather/w_06.png", "weather/w_01.png", "weather/w_02.png", "weather/w_07.png", "weather/w_05.png", "weather/w_04.png", "weather/w_03.png", "stats-month.png", "stats-year.png", "INDIA.png", "top-bar-shadow.png" ] } ImageFiles { files: [ "images/inner-circle.png", "images/card-back-topleft.png", "images/card-back-bottomleft.png", "images/card-back-topright.png", "images/card-back-bottomright.png" ] } MCU.Config { maxResourceCacheSize: 1048576 resourceCachePolicy: "OnDemand" resourceCompression: true } }