/usr/share/qt5/doc/qtquick/qtquick-shadereffects-shadereffects-qml.html is in qtdeclarative5-doc-html 5.5.1-2ubuntu6.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 | <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>shadereffects.qml Example File | Qt Quick 5.5</title>
<link rel="stylesheet" type="text/css" href="style/offline.css" />
</head>
<body>
<div class="header" id="qtdocheader">
<div class="main">
<div class="main-rounded">
<div class="navigationbar">
<ul>
<li>Qt 5.5</li>
<li><a href="qtquick-index.html">Qt Quick</a></li>
<li><a href="qtquick-shadereffects-example.html">Qt Quick Examples - Shader Effects</a></li>
<li>shadereffects.qml Example File</li>
<li id="buildversion">Qt 5.5.1 Reference Documentation</li>
</ul>
</div>
</div>
<div class="content">
<div class="line">
<div class="content mainContent">
<div class="sidebar"><div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">shadereffects.qml Example File</h1>
<span class="subtitle">shadereffects/shadereffects.qml</span>
<!-- $$$shadereffects/shadereffects.qml-description -->
<div class="descr"> <a name="details"></a>
<pre class="qml"><span class="comment">/****************************************************************************
**
** Copyright (C) 2015 The Qt Company Ltd.
** Contact: http://www.qt.io/licensing/
**
** This file is part of the QtQuick module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL21$
** Commercial License Usage
** Licensees holding valid commercial Qt licenses may use this file in
** accordance with the commercial license agreement provided with the
** Software or, alternatively, in accordance with the terms contained in
** a written agreement between you and The Qt Company. For licensing terms
** and conditions see http://www.qt.io/terms-conditions. For further
** information use the contact form at http://www.qt.io/contact-us.
**
** GNU Lesser General Public License Usage
** Alternatively, this file may be used under the terms of the GNU Lesser
** General Public License version 2.1 or version 3 as published by the Free
** Software Foundation and appearing in the file LICENSE.LGPLv21 and
** LICENSE.LGPLv3 included in the packaging of this file. Please review the
** following information to ensure the GNU Lesser General Public License
** requirements will be met: https://www.gnu.org/licenses/lgpl.html and
** http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
**
** As a special exception, The Qt Company gives you certain additional
** rights. These rights are described in The Qt Company LGPL Exception
** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
**
** $QT_END_LICENSE$
**
****************************************************************************/</span>
import QtQuick 2.0
import QtQml.Models 2.1
import "content"
<span class="type"><a href="qml-qtquick-rectangle.html">Rectangle</a></span> {
<span class="name">id</span>: <span class="name">root</span>
<span class="name">width</span>: <span class="number">320</span>
<span class="name">height</span>: <span class="number">480</span>
property <span class="type">color</span> <span class="name">col</span>: <span class="string">"lightsteelblue"</span>
<span class="name">gradient</span>: <span class="name">Gradient</span> {
<span class="type"><a href="qml-qtquick-gradientstop.html">GradientStop</a></span> { <span class="name">position</span>: <span class="number">0.0</span>; <span class="name">color</span>: <span class="name">Qt</span>.<span class="name">tint</span>(<span class="name">root</span>.<span class="name">col</span>, <span class="string">"#20FFFFFF"</span>) }
<span class="type"><a href="qml-qtquick-gradientstop.html">GradientStop</a></span> { <span class="name">position</span>: <span class="number">0.1</span>; <span class="name">color</span>: <span class="name">Qt</span>.<span class="name">tint</span>(<span class="name">root</span>.<span class="name">col</span>, <span class="string">"#20AAAAAA"</span>) }
<span class="type"><a href="qml-qtquick-gradientstop.html">GradientStop</a></span> { <span class="name">position</span>: <span class="number">0.9</span>; <span class="name">color</span>: <span class="name">Qt</span>.<span class="name">tint</span>(<span class="name">root</span>.<span class="name">col</span>, <span class="string">"#20666666"</span>) }
<span class="type"><a href="qml-qtquick-gradientstop.html">GradientStop</a></span> { <span class="name">position</span>: <span class="number">1.0</span>; <span class="name">color</span>: <span class="name">Qt</span>.<span class="name">tint</span>(<span class="name">root</span>.<span class="name">col</span>, <span class="string">"#20000000"</span>) }
}
<span class="type"><a href="qml-qtquick-shadereffectsource.html">ShaderEffectSource</a></span> {
<span class="name">id</span>: <span class="name">theSource</span>
<span class="name">sourceItem</span>: <span class="name">theItem</span>
}
<span class="keyword">function</span> <span class="name">saturate</span>(<span class="name">x</span>) {
<span class="keyword">return</span> <span class="name">Math</span>.<span class="name">min</span>(<span class="name">Math</span>.<span class="name">max</span>(<span class="name">x</span>, <span class="number">0</span>), <span class="number">1</span>)
}
<span class="keyword">function</span> <span class="name">sliderToColor</span>(<span class="name">x</span>) {
<span class="keyword">return</span> <span class="name">Qt</span>.<span class="name">rgba</span>(<span class="name">saturate</span>(<span class="name">Math</span>.<span class="name">max</span>(<span class="number">2</span> <span class="operator">-</span> <span class="number">6</span> <span class="operator">*</span> <span class="name">x</span>, <span class="number">6</span> <span class="operator">*</span> <span class="name">x</span> <span class="operator">-</span> <span class="number">4</span>)),
<span class="name">saturate</span>(<span class="name">Math</span>.<span class="name">min</span>(<span class="number">6</span> <span class="operator">*</span> <span class="name">x</span>, <span class="number">4</span> <span class="operator">-</span> <span class="number">6</span> <span class="operator">*</span> <span class="name">x</span>)),
<span class="name">saturate</span>(<span class="name">Math</span>.<span class="name">min</span>(<span class="number">6</span> <span class="operator">*</span> <span class="name">x</span> <span class="operator">-</span> <span class="number">2</span>, <span class="number">6</span> <span class="operator">-</span> <span class="number">6</span> <span class="operator">*</span> <span class="name">x</span>)))
}
<span class="type"><a href="qml-qtquick-grid.html">Grid</a></span> {
<span class="name">anchors</span>.centerIn: <span class="name">parent</span>
<span class="name">columns</span>: <span class="number">2</span>
<span class="type"><a href="qml-qtquick-item.html">Item</a></span> {
<span class="name">id</span>: <span class="name">theItem</span>
<span class="name">width</span>: <span class="number">160</span>
<span class="name">height</span>: <span class="number">160</span>
<span class="type"><a href="qml-qtquick-listview.html">ListView</a></span> {
<span class="name">anchors</span>.centerIn: <span class="name">parent</span>
<span class="name">width</span>: <span class="number">160</span>
<span class="name">height</span>: <span class="number">140</span>
<span class="name">clip</span>: <span class="number">true</span>
<span class="name">snapMode</span>: <span class="name">ListView</span>.<span class="name">SnapOneItem</span>
<span class="name">model</span>: <span class="name">ObjectModel</span> {
<span class="type"><a href="qml-qtquick-text.html">Text</a></span> {
<span class="name">width</span>: <span class="number">160</span>
<span class="name">height</span>: <span class="number">140</span>
<span class="name">horizontalAlignment</span>: <span class="name">Text</span>.<span class="name">AlignHCenter</span>
<span class="name">verticalAlignment</span>: <span class="name">Text</span>.<span class="name">AlignVCenter</span>
<span class="name">font</span>.pixelSize: <span class="number">120</span>
<span class="name">font</span>.family: <span class="string">"Times"</span>
<span class="name">color</span>: <span class="string">"blue"</span>
<span class="name">text</span>: <span class="string">"Qt"</span>
}
<span class="type"><a href="qml-qtquick-image.html">Image</a></span> {
<span class="name">width</span>: <span class="number">160</span>
<span class="name">height</span>: <span class="number">140</span>
<span class="name">source</span>: <span class="string">"content/qt-logo.png"</span>
}
<span class="type"><a href="qml-qtquick-image.html">Image</a></span> {
<span class="name">width</span>: <span class="number">160</span>
<span class="name">height</span>: <span class="number">140</span>
<span class="name">source</span>: <span class="string">"content/face-smile.png"</span>
}
}
}
}
<span class="type"><a href="qml-qtquick-shadereffect.html">ShaderEffect</a></span> {
<span class="name">width</span>: <span class="number">160</span>
<span class="name">height</span>: <span class="number">160</span>
property <span class="type">variant</span> <span class="name">source</span>: <span class="name">theSource</span>
property <span class="type">real</span> <span class="name">amplitude</span>: <span class="number">0.04</span> <span class="operator">*</span> <span class="name">wobbleSlider</span>.<span class="name">value</span>
property <span class="type">real</span> <span class="name">frequency</span>: <span class="number">20</span>
property <span class="type">real</span> <span class="name">time</span>: <span class="number">0</span>
NumberAnimation on <span class="name">time</span> { <span class="name">loops</span>: <span class="name">Animation</span>.<span class="name">Infinite</span>; <span class="name">from</span>: <span class="number">0</span>; <span class="name">to</span>: <span class="name">Math</span>.<span class="name">PI</span> <span class="operator">*</span> <span class="number">2</span>; <span class="name">duration</span>: <span class="number">600</span> }
<span class="name">fragmentShader</span>:
<span class="string">"uniform lowp float qt_Opacity;"</span> <span class="operator">+</span>
<span class="string">"uniform highp float amplitude;"</span> <span class="operator">+</span>
<span class="string">"uniform highp float frequency;"</span> <span class="operator">+</span>
<span class="string">"uniform highp float time;"</span> <span class="operator">+</span>
<span class="string">"uniform sampler2D source;"</span> <span class="operator">+</span>
<span class="string">"varying highp vec2 qt_TexCoord0;"</span> <span class="operator">+</span>
<span class="string">"void main() {"</span> <span class="operator">+</span>
<span class="string">" highp vec2 p = sin(time + frequency * qt_TexCoord0);"</span> <span class="operator">+</span>
<span class="string">" gl_FragColor = texture2D(source, qt_TexCoord0 + amplitude * vec2(p.y, -p.x)) * qt_Opacity;"</span> <span class="operator">+</span>
<span class="string">"}"</span>
<span class="type">Slider</span> {
<span class="name">id</span>: <span class="name">wobbleSlider</span>
<span class="name">anchors</span>.left: <span class="name">parent</span>.<span class="name">left</span>
<span class="name">anchors</span>.right: <span class="name">parent</span>.<span class="name">right</span>
<span class="name">anchors</span>.bottom: <span class="name">parent</span>.<span class="name">bottom</span>
<span class="name">height</span>: <span class="number">40</span>
}
}
<span class="type"><a href="qml-qtquick-shadereffect.html">ShaderEffect</a></span> {
<span class="name">width</span>: <span class="number">160</span>
<span class="name">height</span>: <span class="number">160</span>
property <span class="type">variant</span> <span class="name">source</span>: <span class="name">theSource</span>
property <span class="type">variant</span> <span class="name">shadow</span>: <span class="name">ShaderEffectSource</span> {
<span class="name">sourceItem</span>: <span class="name">ShaderEffect</span> {
<span class="name">width</span>: <span class="name">theItem</span>.<span class="name">width</span>
<span class="name">height</span>: <span class="name">theItem</span>.<span class="name">height</span>
property <span class="type">variant</span> <span class="name">delta</span>: <span class="name">Qt</span>.<span class="name">size</span>(<span class="number">0.0</span>, <span class="number">1.0</span> <span class="operator">/</span> <span class="name">height</span>)
property <span class="type">variant</span> <span class="name">source</span>: <span class="name">ShaderEffectSource</span> {
<span class="name">sourceItem</span>: <span class="name">ShaderEffect</span> {
<span class="name">width</span>: <span class="name">theItem</span>.<span class="name">width</span>
<span class="name">height</span>: <span class="name">theItem</span>.<span class="name">height</span>
property <span class="type">variant</span> <span class="name">delta</span>: <span class="name">Qt</span>.<span class="name">size</span>(<span class="number">1.0</span> <span class="operator">/</span> <span class="name">width</span>, <span class="number">0.0</span>)
property <span class="type">variant</span> <span class="name">source</span>: <span class="name">theSource</span>
<span class="name">fragmentShader</span>: <span class="string">"
uniform lowp float qt_Opacity;
uniform sampler2D source;
uniform highp vec2 delta;
varying highp vec2 qt_TexCoord0;
void main() {
gl_FragColor =(0.0538 * texture2D(source, qt_TexCoord0 - 3.182 * delta)
+ 0.3229 * texture2D(source, qt_TexCoord0 - 1.364 * delta)
+ 0.2466 * texture2D(source, qt_TexCoord0)
+ 0.3229 * texture2D(source, qt_TexCoord0 + 1.364 * delta)
+ 0.0538 * texture2D(source, qt_TexCoord0 + 3.182 * delta)) * qt_Opacity;
}"</span>
}
}
<span class="name">fragmentShader</span>: <span class="string">"
uniform lowp float qt_Opacity;
uniform sampler2D source;
uniform highp vec2 delta;
varying highp vec2 qt_TexCoord0;
void main() {
gl_FragColor =(0.0538 * texture2D(source, qt_TexCoord0 - 3.182 * delta)
+ 0.3229 * texture2D(source, qt_TexCoord0 - 1.364 * delta)
+ 0.2466 * texture2D(source, qt_TexCoord0)
+ 0.3229 * texture2D(source, qt_TexCoord0 + 1.364 * delta)
+ 0.0538 * texture2D(source, qt_TexCoord0 + 3.182 * delta)) * qt_Opacity;
}"</span>
}
}
property <span class="type">real</span> <span class="name">angle</span>: <span class="number">0</span>
property <span class="type">variant</span> <span class="name">offset</span>: <span class="name">Qt</span>.<span class="name">point</span>(<span class="number">15.0</span> <span class="operator">*</span> <span class="name">Math</span>.<span class="name">cos</span>(<span class="name">angle</span>), <span class="number">15.0</span> <span class="operator">*</span> <span class="name">Math</span>.<span class="name">sin</span>(<span class="name">angle</span>))
NumberAnimation on <span class="name">angle</span> { <span class="name">loops</span>: <span class="name">Animation</span>.<span class="name">Infinite</span>; <span class="name">from</span>: <span class="number">0</span>; <span class="name">to</span>: <span class="name">Math</span>.<span class="name">PI</span> <span class="operator">*</span> <span class="number">2</span>; <span class="name">duration</span>: <span class="number">6000</span> }
property <span class="type">variant</span> <span class="name">delta</span>: <span class="name">Qt</span>.<span class="name">size</span>(<span class="name">offset</span>.<span class="name">x</span> <span class="operator">/</span> <span class="name">width</span>, <span class="name">offset</span>.<span class="name">y</span> <span class="operator">/</span> <span class="name">height</span>)
property <span class="type">real</span> <span class="name">darkness</span>: <span class="name">shadowSlider</span>.<span class="name">value</span>
<span class="name">fragmentShader</span>: <span class="string">"
uniform lowp float qt_Opacity;
uniform highp vec2 offset;
uniform sampler2D source;
uniform sampler2D shadow;
uniform highp float darkness;
uniform highp vec2 delta;
varying highp vec2 qt_TexCoord0;
void main() {
lowp vec4 fg = texture2D(source, qt_TexCoord0);
lowp vec4 bg = texture2D(shadow, qt_TexCoord0 + delta);
gl_FragColor = (fg + vec4(0., 0., 0., darkness * bg.a) * (1. - fg.a)) * qt_Opacity;
}"</span>
<span class="type">Slider</span> {
<span class="name">id</span>: <span class="name">shadowSlider</span>
<span class="name">anchors</span>.left: <span class="name">parent</span>.<span class="name">left</span>
<span class="name">anchors</span>.right: <span class="name">parent</span>.<span class="name">right</span>
<span class="name">anchors</span>.bottom: <span class="name">parent</span>.<span class="name">bottom</span>
<span class="name">height</span>: <span class="number">40</span>
}
}
<span class="type"><a href="qml-qtquick-shadereffect.html">ShaderEffect</a></span> {
<span class="name">width</span>: <span class="number">160</span>
<span class="name">height</span>: <span class="number">160</span>
property <span class="type">variant</span> <span class="name">source</span>: <span class="name">theSource</span>
property <span class="type">variant</span> <span class="name">delta</span>: <span class="name">Qt</span>.<span class="name">size</span>(<span class="number">0.5</span> <span class="operator">/</span> <span class="name">width</span>, <span class="number">0.5</span> <span class="operator">/</span> <span class="name">height</span>)
<span class="name">fragmentShader</span>: <span class="string">"
uniform sampler2D source;
uniform highp vec2 delta;
uniform highp float qt_Opacity;
varying highp vec2 qt_TexCoord0;
void main() {
lowp vec4 tl = texture2D(source, qt_TexCoord0 - delta);
lowp vec4 tr = texture2D(source, qt_TexCoord0 + vec2(delta.x, -delta.y));
lowp vec4 bl = texture2D(source, qt_TexCoord0 - vec2(delta.x, -delta.y));
lowp vec4 br = texture2D(source, qt_TexCoord0 + delta);
mediump vec4 gx = (tl + bl) - (tr + br);
mediump vec4 gy = (tl + tr) - (bl + br);
gl_FragColor.xyz = vec3(0.);
gl_FragColor.w = clamp(dot(sqrt(gx * gx + gy * gy), vec4(1.)), 0., 1.) * qt_Opacity;
}"</span>
}
<span class="type"><a href="qml-qtquick-shadereffect.html">ShaderEffect</a></span> {
<span class="name">width</span>: <span class="number">160</span>
<span class="name">height</span>: <span class="number">160</span>
property <span class="type">variant</span> <span class="name">source</span>: <span class="name">theSource</span>
property <span class="type">color</span> <span class="name">tint</span>: <span class="name">root</span>.<span class="name">sliderToColor</span>(<span class="name">colorizeSlider</span>.<span class="name">value</span>)
<span class="name">fragmentShader</span>: <span class="string">"
uniform sampler2D source;
uniform lowp vec4 tint;
uniform lowp float qt_Opacity;
varying highp vec2 qt_TexCoord0;
void main() {
lowp vec4 c = texture2D(source, qt_TexCoord0);
lowp float lo = min(min(c.x, c.y), c.z);
lowp float hi = max(max(c.x, c.y), c.z);
gl_FragColor = qt_Opacity * vec4(mix(vec3(lo), vec3(hi), tint.xyz), c.w);
}"</span>
<span class="type">Slider</span> {
<span class="name">id</span>: <span class="name">colorizeSlider</span>
<span class="name">anchors</span>.left: <span class="name">parent</span>.<span class="name">left</span>
<span class="name">anchors</span>.right: <span class="name">parent</span>.<span class="name">right</span>
<span class="name">anchors</span>.bottom: <span class="name">parent</span>.<span class="name">bottom</span>
<span class="name">height</span>: <span class="number">40</span>
}
}
<span class="type"><a href="qml-qtquick-shadereffect.html">ShaderEffect</a></span> {
<span class="name">width</span>: <span class="number">160</span>
<span class="name">height</span>: <span class="number">160</span>
property <span class="type">variant</span> <span class="name">source</span>: <span class="name">theSource</span>
property <span class="type">real</span> <span class="name">bend</span>: <span class="number">0</span>
property <span class="type">real</span> <span class="name">minimize</span>: <span class="number">0</span>
property <span class="type">real</span> <span class="name">side</span>: <span class="name">genieSlider</span>.<span class="name">value</span>
SequentialAnimation on <span class="name">bend</span> {
<span class="name">loops</span>: <span class="name">Animation</span>.<span class="name">Infinite</span>
<span class="type"><a href="qml-qtquick-numberanimation.html">NumberAnimation</a></span> { <span class="name">to</span>: <span class="number">1</span>; <span class="name">duration</span>: <span class="number">700</span>; <span class="name">easing</span>.type: <span class="name">Easing</span>.<span class="name">InOutSine</span> }
<span class="type"><a href="qml-qtquick-pauseanimation.html">PauseAnimation</a></span> { <span class="name">duration</span>: <span class="number">1600</span> }
<span class="type"><a href="qml-qtquick-numberanimation.html">NumberAnimation</a></span> { <span class="name">to</span>: <span class="number">0</span>; <span class="name">duration</span>: <span class="number">700</span>; <span class="name">easing</span>.type: <span class="name">Easing</span>.<span class="name">InOutSine</span> }
<span class="type"><a href="qml-qtquick-pauseanimation.html">PauseAnimation</a></span> { <span class="name">duration</span>: <span class="number">1000</span> }
}
SequentialAnimation on <span class="name">minimize</span> {
<span class="name">loops</span>: <span class="name">Animation</span>.<span class="name">Infinite</span>
<span class="type"><a href="qml-qtquick-pauseanimation.html">PauseAnimation</a></span> { <span class="name">duration</span>: <span class="number">300</span> }
<span class="type"><a href="qml-qtquick-numberanimation.html">NumberAnimation</a></span> { <span class="name">to</span>: <span class="number">1</span>; <span class="name">duration</span>: <span class="number">700</span>; <span class="name">easing</span>.type: <span class="name">Easing</span>.<span class="name">InOutSine</span> }
<span class="type"><a href="qml-qtquick-pauseanimation.html">PauseAnimation</a></span> { <span class="name">duration</span>: <span class="number">1000</span> }
<span class="type"><a href="qml-qtquick-numberanimation.html">NumberAnimation</a></span> { <span class="name">to</span>: <span class="number">0</span>; <span class="name">duration</span>: <span class="number">700</span>; <span class="name">easing</span>.type: <span class="name">Easing</span>.<span class="name">InOutSine</span> }
<span class="type"><a href="qml-qtquick-pauseanimation.html">PauseAnimation</a></span> { <span class="name">duration</span>: <span class="number">1300</span> }
}
<span class="name">mesh</span>: <span class="name">Qt</span>.<span class="name">size</span>(<span class="number">10</span>, <span class="number">10</span>)
<span class="name">vertexShader</span>: <span class="string">"
uniform highp mat4 qt_Matrix;
uniform highp float bend;
uniform highp float minimize;
uniform highp float side;
uniform highp float width;
uniform highp float height;
attribute highp vec4 qt_Vertex;
attribute highp vec2 qt_MultiTexCoord0;
varying highp vec2 qt_TexCoord0;
void main() {
qt_TexCoord0 = qt_MultiTexCoord0;
highp vec4 pos = qt_Vertex;
pos.y = mix(qt_Vertex.y, height, minimize);
highp float t = pos.y / height;
t = (3. - 2. * t) * t * t;
pos.x = mix(qt_Vertex.x, side * width, t * bend);
gl_Position = qt_Matrix * pos;
}"</span>
<span class="type">Slider</span> {
<span class="name">id</span>: <span class="name">genieSlider</span>
<span class="name">anchors</span>.left: <span class="name">parent</span>.<span class="name">left</span>
<span class="name">anchors</span>.right: <span class="name">parent</span>.<span class="name">right</span>
<span class="name">anchors</span>.bottom: <span class="name">parent</span>.<span class="name">bottom</span>
<span class="name">height</span>: <span class="number">40</span>
}
}
}
}</pre>
</div>
<!-- @@@shadereffects/shadereffects.qml -->
</div>
</div>
</div>
</div>
</div>
<div class="footer">
<p>
<acronym title="Copyright">©</acronym> 2015 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>
|