C

Qt Quick Ultralite traveo_t2g_effects 示例

import QmlProject 1.3

Project {
        mainFile: "traveo_t2g_effects.qml"

        QmlFiles {
                files: [
                        "traveo_t2g_effects.qml",
                        "Gauge.qml",
                        "BaseGauge.qml"
                ]
        }

        ImageFiles {
                files: [
                        "images/needle-mask.png",
                        "images/ak.png",
                        "images/juno.png",
                        "images/cover.jpg",
                        "images/opacity-mask.png"
                ]
                MCU.Experimental.resourceSplitImageOptimization: false
                MCU.resourceCachePolicy: "NoCaching"
        }

        ImageFiles {
                files: ["images/needle-normal.png"]
                MCU.Experimental.resourceOptimizeMonochromeToAlpha8: false
                MCU.Experimental.resourceSplitImageOptimization: false
        }

        ImageFiles {
                files: [
                        "images/gauge-gauge-frame.png",
                ]
                MCU.resourceCachePolicy: "NoCaching"
        }

        ImageFiles {
                files: [
                        "images/highlight-normal.png"
                ]
        }

        ModuleFiles {
                files: [
                        "traveo_t2g_effects_speed_module.qmlproject",
                        "effects/traveo_t2g_effects_module.qmlproject"
                ]
        }
}