Graphical Effects
Effects are visual items that can be added to Qt Quick user interface as UI components. To import the Qt Graphical Effects types, include the Qt Graphical Effects module by adding the following statement to the QML file:
import QtGraphicalEffects 1.0
To use the effects, simply add a specific effect declaration to the QML scene and configure the effects properties. The source item type can be any QML type, even video or another effect. Pipelining multiple effects together is a simple way to create even more impressive output.
The following list presents the functional division of types that are part of Qt Graphical Effects:
Blend
Merges two source items by using a blend mode |
Color
Adjusts brightness and contrast | |
Alters the colors of the source item by applying an overlay color | |
Sets the color in the HSL color space | |
Reduces the saturation of the colors | |
Alters the luminance of the source item | |
Alters the source item colors in the HSL color space | |
Adjusts color levels in the RGBA color space |
Gradient
Draws a conical gradient | |
Draws a linear gradient | |
Draws a radial gradient |
Distortion
Moves the pixels of the source item according to the given displacement map |
Drop Shadow
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 | |
Generates a colorized and blurred shadow inside the source |
Blur
Applies a fast blur effect to one or more source items | |
Applies a higher quality blur effect | |
Applies a blur effect with a varying intesity | |
Blurs repeatedly, providing a strong blur effect |
Motion Blur
Applies blur effect to the specified direction | |
Applies directional blur in a circular direction around the items center point | |
Applies directional blur effect towards source items center point |
Glow
Generates a blurred and colorized image of the source and places it behind the original, giving impression that the source is glowing | |
Generates a blurred and colorized rectangle, which gives the impression that the source is glowing |
Mask
Masks the source item with another item | |
Masks the source item with another item and applies a threshold value |
© 2015 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.