Slider¶
Fluent / WinUI 3 styled Slider.
import QtQuick.Controls.QWinUI3 · src/style/QWinUI3/Slider.qml
Category: Styled controls · Library: v3.56
Gallery: Slider — src/gallery/pages/SliderPage.qml
Python: same QML type after qwinui3.setup_engine() — Python API.
Example¶
Slider {
from: 0; to: 100; value: 50; stepSize: 25
tickMarksVisible: true
tickPlacement: "both" // horizontal: top | bottom | both
}
Slider {
orientation: Qt.Vertical
height: 220
from: 0; to: 100; value: 33; stepSize: 25
tickMarksVisible: true
tickPlacement: "both" // vertical: left | right | both
}
Notes¶
WinUI-style track fill, ring thumb, and step tick marks on both sides of the track.
API¶
Properties¶
| Name | Type | Description |
|---|---|---|
tickMarksVisible |
bool |
Draw step ticks (requires stepSize > 0, or auto 10 steps across from..to) |
tickPlacement |
string |
Tick side(s): horizontal top|bottom|both · vertical left|right|both · "" → both |
verticalFillThickness |
real |
Vertical filled track width (WinUI thick active rail) |
Signals¶
No custom signals (use inherited signals from the base type).
Methods¶
No custom methods (use inherited methods from the base type).
Generated from module sources by scripts/generate_component_docs.py — do not edit by hand.