C

Qt Quick Ultralite Motorcycle Cluster Demo

/****************************************************************************** ** ** Copyright (C) 2020 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$ ** ******************************************************************************/
pragma Singleton import QtQuick QtObject { id: mainmodel // Bottom Common Elements property int tripValue: 0 property int odoValue: 0 property int tempValue: 0 property int timeHourValue: 0 property int timeMinuteValue: 0 property bool leftTurnSignal: false property bool rightTurnSignal: false property int rpm: 0 property int rpmAnimationTime: 1000 property int isOver13kRpm: 0 property int speedValue: 0 property int gear: 0 property int fuelLevel: 30 property bool rangeVisible: false property bool speedometerVisible: false property bool bottomElementsVisible: false property bool roundGaugesVisible: false property bool telltalesVisible: false property bool tachoScaleActive: false property bool tachoUpperFrameActive: false property bool tachoBottomFrameActive: false property bool bgLinesLeftActive: false property bool bgLinesRightActive: false property bool bgRoadActive: false property bool logoAnimationStart: false property bool isDayMode: false property bool showStatistics: false property bool showKeyboard: false }