API reference
Elevation
Public types, functions, and constants declared in this header.
No matching API members.
Elevation::ShadowParams
Raw shadow metrics consumed by component paint code.
Fields
int offsetXHorizontal offset in pixels.
int offsetYVertical offset in pixels.
int blurRadiusBlur radius in pixels.
int spreadRadiusSpread radius in pixels.
QColor colorBase shadow color before opacity is applied.
double opacityFinal opacity multiplier.
Elevation
Methods
inline const ShadowParams& getShadow(Level level, bool isDark = false)Returns the shadow token for a semantic level and theme.
Enumerations
enum Level : intSemantic elevation levels.
None = 0Low = 1Medium = 2High = 3VeryHigh = 4
Constants
const ShadowParams NoShadow = { 0, 0, 0, 0, QColor(0,0,0,0), 0.0 }No elevation is shared by both themes and paints no visible shadow.