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