QCustomSkeleton
A shimmering loading placeholder.
A rounded shape (line / rect / circle) with a moving shimmer, shown while real content loads. Colours come from tokens via qproperty (baseColor / highlightColor set by skeleton_qss).
At a glance
| Tier | Free (GPLv3) |
| Import | from Custom_Widgets.QCustomSkeleton import QCustomSkeleton |
| Qt Designer | Yes — drag it from the palette |
Quick start
from Custom_Widgets.QCustomSkeleton import QCustomSkeleton
widget = QCustomSkeleton()
Dark theme
Colours come from the design tokens, so the widget follows the app theme with no extra work.
Properties
Every property below is settable in code and in Qt Designer.
| Property | Type | Default |
|---|---|---|
shape | enum: line/rect/circle`` | line |
baseColor | color | — |
highlightColor | color | — |
Methods
| Method | Description |
|---|---|
baseColor(*args, **kwargs) | Base color. |
highlightColor(*args, **kwargs) | Highlight color. |
shape(*args, **kwargs) | Shape. |
start() | Start. |
stop() | Stop. |
Theming
Colours come from the design tokens, so they follow the active theme. Roles used: surface-muted, surface.
See Design tokens.
Related
AnalogGaugeWidget · QCustomAgendaList · QCustomAlert · QCustomAvatar · QCustomAvatarGroup · QCustomBadge · QCustomCard · QCustomChip