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