C

Qt Quick Ultralite Motorcycle Cluster Demo

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

QtObject {
    id: navigationModel
    enum NaviState { Hidden, Off, Paused, Navigating }
    property int naviState: NavigationModel.Hidden

    enum ArrowsState { TwoStright, LeftTurn, RightTurn }
    property int arrowsState: NavigationModel.TwoStright

    property int distanceToTarget: 0
}