Sophie

Sophie

distrib > Mageia > 7 > i586 > media > core-updates > by-pkgid > 6e2327ca1c896c6d674ae53117299f21 > files > 1407

qtdeclarative5-doc-5.12.6-1.mga7.noarch.rpm

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- topic.qdoc -->
  <title>Important Concepts In Qt Quick - Graphical Effects | Qt Quick 5.12.6</title>
  <link rel="stylesheet" type="text/css" href="style/offline-simple.css" />
  <script type="text/javascript">
    document.getElementsByTagName("link").item(0).setAttribute("href", "style/offline.css");
    // loading style sheet breaks anchors that were jumped to before
    // so force jumping to anchor again
    setTimeout(function() {
        var anchor = location.hash;
        // need to jump to different anchor first (e.g. none)
        location.hash = "#";
        setTimeout(function() {
            location.hash = anchor;
        }, 0);
    }, 0);
  </script>
</head>
<body>
<div class="header" id="qtdocheader">
  <div class="main">
    <div class="main-rounded">
      <div class="navigationbar">
        <table><tr>
<td >Qt 5.12</td><td ><a href="qtquick-index.html">Qt Quick</a></td><td >Important Concepts In Qt Quick - Graphical Effects</td></tr></table><table class="buildversion"><tr>
<td id="buildversion" width="100%" align="right"><a href="qtquick-index.html">Qt 5.12.6 Reference Documentation</a></td>
        </tr></table>
      </div>
    </div>
<div class="content">
<div class="line">
<div class="content mainContent">
<div class="sidebar">
<div class="toc">
<h3><a name="toc">Contents</a></h3>
<ul>
<li class="level1"><a href="#graphical-effects-and-particles">Graphical Effects and Particles</a></li>
<li class="level1"><a href="#visual-transformation">Visual Transformation</a></li>
<li class="level1"><a href="#shader-effects">Shader Effects</a></li>
<li class="level1"><a href="#particles">Particles</a></li>
<li class="level1"><a href="#sprites">Sprites</a></li>
<li class="level1"><a href="#opacity">Opacity</a></li>
</ul>
</div>
<div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">Important Concepts In Qt Quick - Graphical Effects</h1>
<span class="subtitle"></span>
<!-- $$$qtquick-effects-topic.html-description -->
<div class="descr"> <a name="details"></a>
<a name="graphical-effects-and-particles"></a>
<h2 id="graphical-effects-and-particles">Graphical Effects and Particles</h2>
<p>Visually appealing user-interfaces are more engaging than lacklustre ones. That said, the designer must bear in mind that visual effects simply provide a useful way to subtly communicate to the user (for example, which visual item is active, or how focus is being transferred). Over-use of visual effects can actually detract from the user-experience.</p>
<a name="visual-transformation"></a>
<h2 id="visual-transformation">Visual Transformation</h2>
<p>Visual objects can be transformed. For example, they can be scaled or rotated. These sort of transformations can provide hints about focus or selection, and can provide intuitive hints about what events are occurring in an application.</p>
<p>For information about visual transformations to visual objects, see the page titled <a href="qtquick-effects-transformations.html">Qt Quick Transformation Types</a>.</p>
<a name="shader-effects"></a>
<h2 id="shader-effects">Shader Effects</h2>
<p>Shader effects allow the full, raw power of a graphics processing unit to be utilized directly via vertex and fragment shaders. Using too many shader effects can result in increased power usage and sometimes slow performance, but if used sparingly and carefully, a shader can allow complex and visually appealing effects to be applied to a visual object (for example, ripples in water).</p>
<p>For information about shader effects, see the <a href="qml-qtquick-shadereffect.html">ShaderEffect</a> reference documentation.</p>
<a name="particles"></a>
<h2 id="particles">Particles</h2>
<p>A particle system allows explosions, fireworks, smoke, fog and wind effects to be simulated and displayed to the user. Qt Quick provides a particle system which allows these sort of complex, 2D simulations to be performed, including support for environmental effects like gravity and turbulence. Particles are most commonly used to add subtle and visually appealing effects to currently selected items in lists or in activity notifiers, and in games.</p>
<p>For information about particles, see the documentation about the <a href="qtquick-effects-particles.html">Qt Quick Particle System</a>.</p>
<a name="sprites"></a>
<h2 id="sprites">Sprites</h2>
<p>A sprite is an animated image made up of frames. Sprites are commonly found in games. Qt Quick provides a visual type to display sprites, as well as a complex, stochastic, frame-transition controller for more complex applications which use sprites extensively (such as games).</p>
<p>For information about sprite animations, see the page titled <a href="qtquick-effects-sprites.html">Sprite Animations</a>.</p>
<a name="opacity"></a>
<h2 id="opacity">Opacity</h2>
<p>Visual objects can be opaque or translucent. For example, an application can make one visual object opaque and other visual objects translucent to focus the users attention on the opaque one. This is controlled using the <code>opacity</code> property of the Item.</p>
<p>For more information about opacity, see the <a href="qml-qtquick-item.html">Item</a> documentation.</p>
</div>
<!-- @@@qtquick-effects-topic.html -->
        </div>
       </div>
   </div>
   </div>
</div>
<div class="footer">
   <p>
   <acronym title="Copyright">&copy;</acronym> 2019 The Qt Company Ltd.
   Documentation contributions included herein are the copyrights of
   their respective owners.<br/>    The documentation provided herein is licensed under the terms of the    <a href="http://www.gnu.org/licenses/fdl.html">GNU Free Documentation    License version 1.3</a> as published by the Free Software Foundation.<br/>    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. </p>
</div>
</body>
</html>