OdometerGauge¶
Total and trip distance.
import QWinUI3.Extras · src/extras/QWinUI3/Extras/OdometerGauge.qml
Category: Charts & gauges · Library: v2.80
Gallery: OdometerGauge — src/gallery/pages/OdometerGaugePage.qml
Extends Control.
Example¶
OdometerGauge { totalKm: 12480.3; tripKm: 36.2 }
// --- API ---
// methods: setTotal(v), setTrip(v), resetTrip()
Notes¶
Experimental cluster odometer. Prefer DigitGauge for a generic numeric face.
API¶
Properties¶
| Name | Type | Description |
|---|---|---|
totalKm |
real |
— |
tripKm |
real |
— |
title |
string |
— |
unit |
string |
— |
tripPrecision |
int |
— |
totalPrecision |
int |
— |
formattedTotal |
string |
— |
formattedTrip |
string |
— |
Signals¶
No custom signals (use inherited signals from the base type).
Methods¶
| Signature | Description |
|---|---|
setTotal(v) |
— |
setTrip(v) |
— |
resetTrip() |
— |
Inherited from Control¶
Also available (base type / Qt Quick Controls):
paddingfontbackground/contentItem
Generated from module sources by scripts/generate_component_docs.py — do not edit by hand.