Skip to content

SpeedometerGauge

Vehicle speed needle (km/h or mph).

import QWinUI3.Extras · src/extras/QWinUI3/Extras/SpeedometerGauge.qml

Category: Charts & gauges · Library: v3.56

← Component index

Gallery: SpeedometerGauge — src/gallery/pages/SpeedometerGaugePage.qml

Python: same QML type after qwinui3.setup_engine() — Python API.

Extends Control.

Example

SpeedometerGauge {
    value: 86
    maximum: 240
    unit: "km/h"
}

// --- API ---
// methods: setValue(v)

Notes

Experimental automotive speedo. Prefer RadialGauge for a generic needle scale.

API

Properties

Name Type Description
value real —
minimum real —
maximum real —
majorTick int —
title string —
unit string —
fillColor color —
startAngle real —
sweepTotal real —
isInteractive bool —
interactive alias —
animatedValue real —
animatedNorm real —

Signals

Signature Description
valueEdited(real value) —

Methods

Signature Description
setValue(v) —

Inherited from Control

Also available (base type / Qt Quick Controls):

  • padding
  • font
  • background / contentItem

Generated from module sources by scripts/generate_component_docs.py — do not edit by hand.