C

Qt Quick Ultralite Automotive Cluster Demo

// Copyright (C) 2024 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial

import QtQuick 2.15
import Automotive 1.0

Row {
    id: telltales;

    TellTalesIndicator
    {
        source: "images/turn_left.png";
        activeColor: Style.highlighterGreen;
        active: TellTalesModel.turnLeftActive;
        opacity: TellTalesModel.indicatorOpacity;
        blinking: TellTalesModel.turnLeftBlinking;
    }
    TellTalesIndicator
    {
        source: "images/parking-lights.png";
        activeColor: Style.highlighterGreen;
        active: TellTalesModel.parkingLightsActive;
        opacity: TellTalesModel.indicatorOpacity;
    }
    TellTalesIndicator
    {
        source: "images/low-beam-headlights.png";
        activeColor: Style.brightBlue;
        active: TellTalesModel.lowBeamHeadlightsActive;
        opacity: TellTalesModel.indicatorOpacity;
    }
    TellTalesIndicator
    {
        source: "images/ready.png";
        activeColor: Style.highlighterGreen;
        active: true;
        opacity: TellTalesModel.qtLogoOpacity;
    }
    TellTalesIndicator
    {
        source: "images/parked.png";
        activeColor: Style.highlighterRed;
        active: TellTalesModel.parkedActive;
        opacity: TellTalesModel.indicatorOpacity;
    }
    TellTalesIndicator
    {
        source: "images/airbag.png";
        activeColor: Style.highlighterRed;
        active: TellTalesModel.airbagActive;
        opacity: TellTalesModel.indicatorOpacity;
    }
    TellTalesIndicator
    {
        source: "images/turn_right.png";
        activeColor: Style.highlighterGreen;
        active: TellTalesModel.turnRightActive;
        opacity: TellTalesModel.indicatorOpacity;
        blinking: TellTalesModel.turnRightBlinking;
    }
}