Sophie

Sophie

distrib > Mageia > 7 > armv7hl > media > core-updates > by-pkgid > fd681f265797997b298a8c14da450bfd > files > 16

qtgraphicaleffects5-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" />
<!-- qtgraphicaleffects.qdoc -->
  <title>Qt Graphical Effects 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 >Qt Graphical Effects</td></tr></table><table class="buildversion"><tr>
<td id="buildversion" width="100%" align="right">Qt 5.12.6 Reference Documentation</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="#getting-started">Getting Started</a></li>
<li class="level1"><a href="#reference">Reference</a></li>
</ul>
</div>
<div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">Qt Graphical Effects</h1>
<span class="subtitle"></span>
<!-- $$$qtgraphicaleffects-index.html-description -->
<div class="descr"> <a name="details"></a>
<p>The Qt Graphical Effects module provides a set of QML types for adding visually impressive and configurable effects to user interfaces. Effects are visual items that can be added to Qt Quick user interface as UI components.</p>
<p>The API consists of over 20 effects provided as separate QML types. The effects cover functional areas such as blending, masking, blurring, coloring, and many more.</p>
<a name="getting-started"></a>
<h2 id="getting-started">Getting Started</h2>
<p>To load Qt Graphical Effects, add the following import statement to your .qml file:</p>
<pre class="qml">

  import QtGraphicalEffects 1.12

</pre>
<p>To use the effects, simply add a specific effect declaration to the QML scene and configure the effects properties. Effects have one or more source properties for specifying the visual input for which the effect is applied to. The altered visual output is then presented in the effect item itself. The source can be another, often hidden, item in the QML scene. More complex effects can have multiple sources. 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.</p>
<p>Each effect has a set of properties that can be used to configure the effect output. Properties can be animated just like any other QML properties. The QML type documentation contains property descriptions and basic usage examples.</p>
<p>Currently there is no C++ API.</p>
<p><b>Note: </b>Some effects may not be available with all graphics APIs. OpenGL, which is used by default in most cases, has full support for all of them. However, the <code>software</code> backend for instance does not support effects at all. Therefore, when running with graphics APIs other than OpenGL, refer to the documentation of the QML types in question to check if the effect is available. For more information on the Qt Quick scene graph backends, see Scene Graph Adaptations.</p><a name="reference"></a>
<h2 id="reference">Reference</h2>
<ul>
<li><a href="graphicaleffects.html">QML Types</a></li>
</ul>
</div>
<!-- @@@qtgraphicaleffects-index.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>