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.
要使用此模塊中的類型,采用以下行 import 模塊:
import QtGraphicalEffects 1.12
注意: There are no API changes since version 1.0, so it's OK to import version 1.0, or 1.12 for convenience.
| 融閤 | 通過使用融閤方式閤並 2 源項 |
| 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 | 繪製錐形漸變 |
| Desaturate | Reduces the saturation of the colors |
| DirectionalBlur | 把模糊效果應用到指定方嚮 |
| Displace | Moves the pixels of the source item according to the given displacement map |
| DropShadow | Generates a soft shadow behind the source item |
| FastBlur | Applies a fast blur effect to one or more source items |
| GammaAdjust | Alters the luminance of the source item |
| GaussianBlur | 應用更高質量的模糊效果 |
| 輝光 | Generates a halo like glow around the source item |
| HueSaturation | Alters the source item colors in the HSL color space |
| InnerShadow | Generates a colorized and blurred shadow inside the source |
| LevelAdjust | Adjusts color levels in the RGBA color space |
| LinearGradient | 繪製綫性漸變 |
| MaskedBlur | Applies a blur effect with a varying intesity |
| OpacityMask | Masks the source item with another item |
| RadialBlur | Applies directional blur in a circular direction around the items center point |
| RadialGradient | 繪製徑嚮漸變 |
| RectangularGlow | Generates a blurred and colorized rectangle, which gives the impression that the source is glowing |
| RecursiveBlur | Blurs repeatedly, providing a strong blur effect |
| ThresholdMask | Masks the source item with another item and applies a threshold value |
| ZoomBlur | Applies directional blur effect towards source items center point |