Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
topic.qdoc
Go to the documentation of this file.
1// Copyright (C) 2017 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only
3
4/*!
5\page qtquick-effects-topic.html
6\title Important Concepts In Qt Quick - Graphical Effects
7\brief Overview of graphical effects concepts
8
9\section1 Graphical Effects and Particles
10
11Visually appealing user-interfaces are more engaging than lacklustre ones.
12That said, the designer must bear in mind that visual effects simply provide
13a useful way to subtly communicate to the user (for example, which visual
14item is active, or how focus is being transferred). Over-use of visual
15effects can actually detract from the user-experience.
16
17For more information about applying post-processing effects, such as blur, drop
18shadow, or colorize, to an \l Item, see the \l MultiEffect QML type.
19
20See also: \l RectangularShadow.
21
22\section1 Visual Transformation
23
24Visual objects can be transformed. For example, they can be scaled or rotated.
25These sort of transformations can provide hints about focus or selection, and
26can provide intuitive hints about what events are occurring in an application.
27
28For information about visual transformations to visual objects, see the
29page titled \l{qtquick-effects-transformations.html}
30{Qt Quick Transformation Types}.
31
32\section1 Shader Effects
33
34Shader effects allow the full, raw power of a graphics processing unit to be
35utilized directly via vertex and fragment shaders. Using too many shader effects
36can result in increased power usage and sometimes slow performance, but if
37used sparingly and carefully, a shader can allow complex and visually appealing
38effects to be applied to a visual object (for example, ripples in water).
39
40For information about shader effects, see the \l {ShaderEffect}
41reference documentation.
42
43\section1 Particles
44
45A particle system allows explosions, fireworks, smoke, fog and wind effects to
46be simulated and displayed to the user. Qt Quick provides a particle system
47which allows these sort of complex, 2D simulations to be performed, including
48support for environmental effects like gravity and turbulence.
49Particles are most commonly used to add subtle and visually appealing effects
50to currently selected items in lists or in activity notifiers, and in games.
51
52For information about particles, see the documentation about the
53\l{qtquick-effects-particles.html}{Qt Quick Particle System}.
54
55\section1 Sprites
56
57A sprite is an animated image made up of frames. Sprites are commonly found
58in games. Qt Quick provides a visual type to display sprites, as well as a
59complex, stochastic, frame-transition controller for more complex applications
60which use sprites extensively (such as games).
61
62For information about sprite animations, see the page titled
63\l{qtquick-effects-sprites.html}{Sprite Animations}.
64
65\section1 Opacity
66
67Visual objects can be opaque or translucent. For example, an application
68can make one visual object opaque and other visual objects translucent
69to focus the users attention on the opaque one. This is controlled using the
70\c{opacity} property of the Item.
71
72For more information about opacity, see the \l {Item} documentation.
73
74*/