Effects¶
Visual effect components (effects/ module).
ShadowedRectangle¶
A rect with a blurred shadow (Fluent-style soft shadow); shadowVisible toggles it. Registered in the root module:
import PrismQML as Fluent
Fluent.ShadowedRectangle {
color: Enums.cardColor
radius: Enums.radius.large
shadowLevel: Enums.shadow.level4
}
Others¶
Shadow— generic shadowColorOverlay— color overlayGaussianBlur— Gaussian blurOpacityMask— opacity mask (rounded-corner clipping)
NeoShadow¶
The neo skin's signature — an offset solid-color rect with zero blur. NeoShadow
is not registered in the root module; import the effects/ subdirectory directly
to use it. Also note that target is a required property:
NeoShadow {
target: bgRect // follows the target rect's geometry (required)
accent: control.focused // true turns it orange for emphasis
}
Skin adaptation¶
NeoShadow is dedicated to the neo hard-shadow paradigm; the Fluent skin uses ShadowedRectangle / RectangularShadow blurred shadows. Controls pick the shadow implementation by skin automatically — you usually never use these low-level effects directly.