Qt 5 Compatibility APIs: Graphical Effect QML Types▲
The Qt Graphical Effects module provides a set of QML types for adding visually impressive and configurable effects to user interfaces. Effects are visual items that can be added to Qt Quick user interface as UI components.
To use the types in this module, import the module with the following line:
import
Qt5Compat.GraphicalEffects
The Qt Graphical Effects module is provided for compatibility with applications written for Qt 5.
-
BrightnessContrast: Adjusts brightness and contrast.
-
ColorOverlay: Alters the colors of the source item by applying an overlay color.
-
Colorize: Sets the color in the HSL color space.
-
ConicalGradient: Draws a conical gradient.
-
Desaturate: Reduces the saturation of the colors.
-
Displace: Moves the pixels of the source item according to the given displacement map.
-
DropShadow: Generates a colorized and blurred shadow image of the source and places it behind the original, giving the impression that source item is raised from the background.
-
FastBlur: Applies a fast blur effect to one or more source items.
-
GammaAdjust: Alters the luminance of the source item.
-
Glow: Generates a blurred and colorized image of the source and places it behind the original, giving impression that the source is glowing.
-
HueSaturation: Alters the source item colors in the HSL color space.
-
LevelAdjust: Adjusts color levels in the RGBA color space.
-
LinearGradient: Draws a linear gradient.
-
OpacityMask: Masks the source item with another item.
-
RadialGradient: Draws a radial gradient.
-
RectangularGlow: Generates a blurred and colorized rectangle, which gives the impression that the source is glowing.
-
ThresholdMask: Masks the source item with another item and applies a threshold value.