diff options
99 files changed, 10 insertions, 645 deletions
diff --git a/src/effects/doc/images/Blend_bug_and_butterfly.png b/src/effects/doc/images/Blend_bug_and_butterfly.png Binary files differdeleted file mode 100644 index e7c6f79..0000000 --- a/src/effects/doc/images/Blend_bug_and_butterfly.png +++ /dev/null diff --git a/src/effects/doc/images/Blend_mode1.png b/src/effects/doc/images/Blend_mode1.png Binary files differdeleted file mode 100644 index 4ac773d..0000000 --- a/src/effects/doc/images/Blend_mode1.png +++ /dev/null diff --git a/src/effects/doc/images/Blend_mode10.png b/src/effects/doc/images/Blend_mode10.png Binary files differdeleted file mode 100644 index 282725b..0000000 --- a/src/effects/doc/images/Blend_mode10.png +++ /dev/null diff --git a/src/effects/doc/images/Blend_mode11.png b/src/effects/doc/images/Blend_mode11.png Binary files differdeleted file mode 100644 index e4e0db6..0000000 --- a/src/effects/doc/images/Blend_mode11.png +++ /dev/null diff --git a/src/effects/doc/images/Blend_mode12.png b/src/effects/doc/images/Blend_mode12.png Binary files differdeleted file mode 100644 index 0f9c98a..0000000 --- a/src/effects/doc/images/Blend_mode12.png +++ /dev/null diff --git a/src/effects/doc/images/Blend_mode13.png b/src/effects/doc/images/Blend_mode13.png Binary files differdeleted file mode 100644 index ac2567c..0000000 --- a/src/effects/doc/images/Blend_mode13.png +++ /dev/null diff --git a/src/effects/doc/images/Blend_mode14.png b/src/effects/doc/images/Blend_mode14.png Binary files differdeleted file mode 100644 index cea329b..0000000 --- a/src/effects/doc/images/Blend_mode14.png +++ /dev/null diff --git a/src/effects/doc/images/Blend_mode15.png b/src/effects/doc/images/Blend_mode15.png Binary files differdeleted file mode 100644 index 5c7bc40..0000000 --- a/src/effects/doc/images/Blend_mode15.png +++ /dev/null diff --git a/src/effects/doc/images/Blend_mode16.png b/src/effects/doc/images/Blend_mode16.png Binary files differdeleted file mode 100644 index cda82c1..0000000 --- a/src/effects/doc/images/Blend_mode16.png +++ /dev/null diff --git a/src/effects/doc/images/Blend_mode17.png b/src/effects/doc/images/Blend_mode17.png Binary files differdeleted file mode 100644 index 7dfa8d8..0000000 --- a/src/effects/doc/images/Blend_mode17.png +++ /dev/null diff --git a/src/effects/doc/images/Blend_mode18.png b/src/effects/doc/images/Blend_mode18.png Binary files differdeleted file mode 100644 index 25cd7b0..0000000 --- a/src/effects/doc/images/Blend_mode18.png +++ /dev/null diff --git a/src/effects/doc/images/Blend_mode19.png b/src/effects/doc/images/Blend_mode19.png Binary files differdeleted file mode 100644 index f9565cc..0000000 --- a/src/effects/doc/images/Blend_mode19.png +++ /dev/null diff --git a/src/effects/doc/images/Blend_mode2.png b/src/effects/doc/images/Blend_mode2.png Binary files differdeleted file mode 100644 index 0cd57eb..0000000 --- a/src/effects/doc/images/Blend_mode2.png +++ /dev/null diff --git a/src/effects/doc/images/Blend_mode20.png b/src/effects/doc/images/Blend_mode20.png Binary files differdeleted file mode 100644 index 80cb192..0000000 --- a/src/effects/doc/images/Blend_mode20.png +++ /dev/null diff --git a/src/effects/doc/images/Blend_mode21.png b/src/effects/doc/images/Blend_mode21.png Binary files differdeleted file mode 100644 index be97d63..0000000 --- a/src/effects/doc/images/Blend_mode21.png +++ /dev/null diff --git a/src/effects/doc/images/Blend_mode22.png b/src/effects/doc/images/Blend_mode22.png Binary files differdeleted file mode 100644 index a5d0280..0000000 --- a/src/effects/doc/images/Blend_mode22.png +++ /dev/null diff --git a/src/effects/doc/images/Blend_mode3.png b/src/effects/doc/images/Blend_mode3.png Binary files differdeleted file mode 100644 index cd14337..0000000 --- a/src/effects/doc/images/Blend_mode3.png +++ /dev/null diff --git a/src/effects/doc/images/Blend_mode4.png b/src/effects/doc/images/Blend_mode4.png Binary files differdeleted file mode 100644 index 509b372..0000000 --- a/src/effects/doc/images/Blend_mode4.png +++ /dev/null diff --git a/src/effects/doc/images/Blend_mode5.png b/src/effects/doc/images/Blend_mode5.png Binary files differdeleted file mode 100644 index 8f557c0..0000000 --- a/src/effects/doc/images/Blend_mode5.png +++ /dev/null diff --git a/src/effects/doc/images/Blend_mode6.png b/src/effects/doc/images/Blend_mode6.png Binary files differdeleted file mode 100644 index de85ea6..0000000 --- a/src/effects/doc/images/Blend_mode6.png +++ /dev/null diff --git a/src/effects/doc/images/Blend_mode7.png b/src/effects/doc/images/Blend_mode7.png Binary files differdeleted file mode 100644 index 11b0b55..0000000 --- a/src/effects/doc/images/Blend_mode7.png +++ /dev/null diff --git a/src/effects/doc/images/Blend_mode8.png b/src/effects/doc/images/Blend_mode8.png Binary files differdeleted file mode 100644 index 7376f44..0000000 --- a/src/effects/doc/images/Blend_mode8.png +++ /dev/null diff --git a/src/effects/doc/images/Blend_mode9.png b/src/effects/doc/images/Blend_mode9.png Binary files differdeleted file mode 100644 index ed1aba9..0000000 --- a/src/effects/doc/images/Blend_mode9.png +++ /dev/null diff --git a/src/effects/doc/images/DirectionalBlur_angle1.png b/src/effects/doc/images/DirectionalBlur_angle1.png Binary files differdeleted file mode 100644 index 9700f73..0000000 --- a/src/effects/doc/images/DirectionalBlur_angle1.png +++ /dev/null diff --git a/src/effects/doc/images/DirectionalBlur_angle2.png b/src/effects/doc/images/DirectionalBlur_angle2.png Binary files differdeleted file mode 100644 index adf9791..0000000 --- a/src/effects/doc/images/DirectionalBlur_angle2.png +++ /dev/null diff --git a/src/effects/doc/images/DirectionalBlur_angle3.png b/src/effects/doc/images/DirectionalBlur_angle3.png Binary files differdeleted file mode 100644 index 7bf2a62..0000000 --- a/src/effects/doc/images/DirectionalBlur_angle3.png +++ /dev/null diff --git a/src/effects/doc/images/DirectionalBlur_bug.png b/src/effects/doc/images/DirectionalBlur_bug.png Binary files differdeleted file mode 100644 index ad2fff5..0000000 --- a/src/effects/doc/images/DirectionalBlur_bug.png +++ /dev/null diff --git a/src/effects/doc/images/DirectionalBlur_length1.png b/src/effects/doc/images/DirectionalBlur_length1.png Binary files differdeleted file mode 100644 index f514ee4..0000000 --- a/src/effects/doc/images/DirectionalBlur_length1.png +++ /dev/null diff --git a/src/effects/doc/images/DirectionalBlur_length2.png b/src/effects/doc/images/DirectionalBlur_length2.png Binary files differdeleted file mode 100644 index 9700f73..0000000 --- a/src/effects/doc/images/DirectionalBlur_length2.png +++ /dev/null diff --git a/src/effects/doc/images/DirectionalBlur_length3.png b/src/effects/doc/images/DirectionalBlur_length3.png Binary files differdeleted file mode 100644 index 1b3c52c..0000000 --- a/src/effects/doc/images/DirectionalBlur_length3.png +++ /dev/null diff --git a/src/effects/doc/images/GaussianBlur_bug.png b/src/effects/doc/images/GaussianBlur_bug.png Binary files differdeleted file mode 100644 index a9db381..0000000 --- a/src/effects/doc/images/GaussianBlur_bug.png +++ /dev/null diff --git a/src/effects/doc/images/GaussianBlur_deviation1.png b/src/effects/doc/images/GaussianBlur_deviation1.png Binary files differdeleted file mode 100644 index 5dcb775..0000000 --- a/src/effects/doc/images/GaussianBlur_deviation1.png +++ /dev/null diff --git a/src/effects/doc/images/GaussianBlur_deviation2.png b/src/effects/doc/images/GaussianBlur_deviation2.png Binary files differdeleted file mode 100644 index 68ff492..0000000 --- a/src/effects/doc/images/GaussianBlur_deviation2.png +++ /dev/null diff --git a/src/effects/doc/images/GaussianBlur_deviation3.png b/src/effects/doc/images/GaussianBlur_deviation3.png Binary files differdeleted file mode 100644 index 4823e31..0000000 --- a/src/effects/doc/images/GaussianBlur_deviation3.png +++ /dev/null diff --git a/src/effects/doc/images/GaussianBlur_deviation4.png b/src/effects/doc/images/GaussianBlur_deviation4.png Binary files differdeleted file mode 100644 index ba82f8f..0000000 --- a/src/effects/doc/images/GaussianBlur_deviation4.png +++ /dev/null diff --git a/src/effects/doc/images/GaussianBlur_deviation_graph.png b/src/effects/doc/images/GaussianBlur_deviation_graph.png Binary files differdeleted file mode 100644 index 2c22008..0000000 --- a/src/effects/doc/images/GaussianBlur_deviation_graph.png +++ /dev/null diff --git a/src/effects/doc/images/GaussianBlur_radius1.png b/src/effects/doc/images/GaussianBlur_radius1.png Binary files differdeleted file mode 100644 index ce02060..0000000 --- a/src/effects/doc/images/GaussianBlur_radius1.png +++ /dev/null diff --git a/src/effects/doc/images/GaussianBlur_radius2.png b/src/effects/doc/images/GaussianBlur_radius2.png Binary files differdeleted file mode 100644 index 3ddd227..0000000 --- a/src/effects/doc/images/GaussianBlur_radius2.png +++ /dev/null diff --git a/src/effects/doc/images/GaussianBlur_radius3.png b/src/effects/doc/images/GaussianBlur_radius3.png Binary files differdeleted file mode 100644 index df8f675..0000000 --- a/src/effects/doc/images/GaussianBlur_radius3.png +++ /dev/null diff --git a/src/effects/doc/images/GaussianBlur_transparentBorder1.png b/src/effects/doc/images/GaussianBlur_transparentBorder1.png Binary files differdeleted file mode 100644 index 7365ccd..0000000 --- a/src/effects/doc/images/GaussianBlur_transparentBorder1.png +++ /dev/null diff --git a/src/effects/doc/images/GaussianBlur_transparentBorder2.png b/src/effects/doc/images/GaussianBlur_transparentBorder2.png Binary files differdeleted file mode 100644 index e33661c..0000000 --- a/src/effects/doc/images/GaussianBlur_transparentBorder2.png +++ /dev/null diff --git a/src/effects/doc/images/InnerShadow_butterfly.png b/src/effects/doc/images/InnerShadow_butterfly.png Binary files differdeleted file mode 100644 index 654929c..0000000 --- a/src/effects/doc/images/InnerShadow_butterfly.png +++ /dev/null diff --git a/src/effects/doc/images/InnerShadow_color1.png b/src/effects/doc/images/InnerShadow_color1.png Binary files differdeleted file mode 100644 index 2626e3e..0000000 --- a/src/effects/doc/images/InnerShadow_color1.png +++ /dev/null diff --git a/src/effects/doc/images/InnerShadow_color2.png b/src/effects/doc/images/InnerShadow_color2.png Binary files differdeleted file mode 100644 index 807941e..0000000 --- a/src/effects/doc/images/InnerShadow_color2.png +++ /dev/null diff --git a/src/effects/doc/images/InnerShadow_color3.png b/src/effects/doc/images/InnerShadow_color3.png Binary files differdeleted file mode 100644 index 43c6365..0000000 --- a/src/effects/doc/images/InnerShadow_color3.png +++ /dev/null diff --git a/src/effects/doc/images/InnerShadow_fast1.png b/src/effects/doc/images/InnerShadow_fast1.png Binary files differdeleted file mode 100644 index bf3e750..0000000 --- a/src/effects/doc/images/InnerShadow_fast1.png +++ /dev/null diff --git a/src/effects/doc/images/InnerShadow_fast2.png b/src/effects/doc/images/InnerShadow_fast2.png Binary files differdeleted file mode 100644 index 7a1b5c7..0000000 --- a/src/effects/doc/images/InnerShadow_fast2.png +++ /dev/null diff --git a/src/effects/doc/images/InnerShadow_horizontalOffset1.png b/src/effects/doc/images/InnerShadow_horizontalOffset1.png Binary files differdeleted file mode 100644 index 62fd5e2..0000000 --- a/src/effects/doc/images/InnerShadow_horizontalOffset1.png +++ /dev/null diff --git a/src/effects/doc/images/InnerShadow_horizontalOffset2.png b/src/effects/doc/images/InnerShadow_horizontalOffset2.png Binary files differdeleted file mode 100644 index b268697..0000000 --- a/src/effects/doc/images/InnerShadow_horizontalOffset2.png +++ /dev/null diff --git a/src/effects/doc/images/InnerShadow_horizontalOffset3.png b/src/effects/doc/images/InnerShadow_horizontalOffset3.png Binary files differdeleted file mode 100644 index afb2892..0000000 --- a/src/effects/doc/images/InnerShadow_horizontalOffset3.png +++ /dev/null diff --git a/src/effects/doc/images/InnerShadow_radius1.png b/src/effects/doc/images/InnerShadow_radius1.png Binary files differdeleted file mode 100644 index 1dd0f39..0000000 --- a/src/effects/doc/images/InnerShadow_radius1.png +++ /dev/null diff --git a/src/effects/doc/images/InnerShadow_radius2.png b/src/effects/doc/images/InnerShadow_radius2.png Binary files differdeleted file mode 100644 index 01a0141..0000000 --- a/src/effects/doc/images/InnerShadow_radius2.png +++ /dev/null diff --git a/src/effects/doc/images/InnerShadow_radius3.png b/src/effects/doc/images/InnerShadow_radius3.png Binary files differdeleted file mode 100644 index 1bcd6f5..0000000 --- a/src/effects/doc/images/InnerShadow_radius3.png +++ /dev/null diff --git a/src/effects/doc/images/InnerShadow_spread1.png b/src/effects/doc/images/InnerShadow_spread1.png Binary files differdeleted file mode 100644 index b268697..0000000 --- a/src/effects/doc/images/InnerShadow_spread1.png +++ /dev/null diff --git a/src/effects/doc/images/InnerShadow_spread2.png b/src/effects/doc/images/InnerShadow_spread2.png Binary files differdeleted file mode 100644 index 8485191..0000000 --- a/src/effects/doc/images/InnerShadow_spread2.png +++ /dev/null diff --git a/src/effects/doc/images/InnerShadow_spread3.png b/src/effects/doc/images/InnerShadow_spread3.png Binary files differdeleted file mode 100644 index 563226a..0000000 --- a/src/effects/doc/images/InnerShadow_spread3.png +++ /dev/null diff --git a/src/effects/doc/images/MaskedBlur_bug.png b/src/effects/doc/images/MaskedBlur_bug.png Binary files differdeleted file mode 100644 index c736d8b..0000000 --- a/src/effects/doc/images/MaskedBlur_bug.png +++ /dev/null diff --git a/src/effects/doc/images/MaskedBlur_fast1.png b/src/effects/doc/images/MaskedBlur_fast1.png Binary files differdeleted file mode 100644 index 95ca1be..0000000 --- a/src/effects/doc/images/MaskedBlur_fast1.png +++ /dev/null diff --git a/src/effects/doc/images/MaskedBlur_fast2.png b/src/effects/doc/images/MaskedBlur_fast2.png Binary files differdeleted file mode 100644 index 8928e25..0000000 --- a/src/effects/doc/images/MaskedBlur_fast2.png +++ /dev/null diff --git a/src/effects/doc/images/MaskedBlur_mask.png b/src/effects/doc/images/MaskedBlur_mask.png Binary files differdeleted file mode 100644 index 871c1f9..0000000 --- a/src/effects/doc/images/MaskedBlur_mask.png +++ /dev/null diff --git a/src/effects/doc/images/MaskedBlur_radius1.png b/src/effects/doc/images/MaskedBlur_radius1.png Binary files differdeleted file mode 100644 index c7f85e1..0000000 --- a/src/effects/doc/images/MaskedBlur_radius1.png +++ /dev/null diff --git a/src/effects/doc/images/MaskedBlur_radius2.png b/src/effects/doc/images/MaskedBlur_radius2.png Binary files differdeleted file mode 100644 index 51b9651..0000000 --- a/src/effects/doc/images/MaskedBlur_radius2.png +++ /dev/null diff --git a/src/effects/doc/images/MaskedBlur_radius3.png b/src/effects/doc/images/MaskedBlur_radius3.png Binary files differdeleted file mode 100644 index 95ca1be..0000000 --- a/src/effects/doc/images/MaskedBlur_radius3.png +++ /dev/null diff --git a/src/effects/doc/images/RadialBlur_angle1.png b/src/effects/doc/images/RadialBlur_angle1.png Binary files differdeleted file mode 100644 index f514ee4..0000000 --- a/src/effects/doc/images/RadialBlur_angle1.png +++ /dev/null diff --git a/src/effects/doc/images/RadialBlur_angle2.png b/src/effects/doc/images/RadialBlur_angle2.png Binary files differdeleted file mode 100644 index 20e51f4..0000000 --- a/src/effects/doc/images/RadialBlur_angle2.png +++ /dev/null diff --git a/src/effects/doc/images/RadialBlur_angle3.png b/src/effects/doc/images/RadialBlur_angle3.png Binary files differdeleted file mode 100644 index d1c0270..0000000 --- a/src/effects/doc/images/RadialBlur_angle3.png +++ /dev/null diff --git a/src/effects/doc/images/RadialBlur_bug.png b/src/effects/doc/images/RadialBlur_bug.png Binary files differdeleted file mode 100644 index cf49512..0000000 --- a/src/effects/doc/images/RadialBlur_bug.png +++ /dev/null diff --git a/src/effects/doc/images/RadialBlur_horizontalOffset1.png b/src/effects/doc/images/RadialBlur_horizontalOffset1.png Binary files differdeleted file mode 100644 index dc8afa7..0000000 --- a/src/effects/doc/images/RadialBlur_horizontalOffset1.png +++ /dev/null diff --git a/src/effects/doc/images/RadialBlur_horizontalOffset2.png b/src/effects/doc/images/RadialBlur_horizontalOffset2.png Binary files differdeleted file mode 100644 index 272950f..0000000 --- a/src/effects/doc/images/RadialBlur_horizontalOffset2.png +++ /dev/null diff --git a/src/effects/doc/images/RadialBlur_horizontalOffset3.png b/src/effects/doc/images/RadialBlur_horizontalOffset3.png Binary files differdeleted file mode 100644 index a06a454..0000000 --- a/src/effects/doc/images/RadialBlur_horizontalOffset3.png +++ /dev/null diff --git a/src/effects/doc/images/RecursiveBlur_bug.png b/src/effects/doc/images/RecursiveBlur_bug.png Binary files differdeleted file mode 100644 index 470eebb..0000000 --- a/src/effects/doc/images/RecursiveBlur_bug.png +++ /dev/null diff --git a/src/effects/doc/images/RecursiveBlur_loops1.png b/src/effects/doc/images/RecursiveBlur_loops1.png Binary files differdeleted file mode 100644 index b9ea62e..0000000 --- a/src/effects/doc/images/RecursiveBlur_loops1.png +++ /dev/null diff --git a/src/effects/doc/images/RecursiveBlur_loops2.png b/src/effects/doc/images/RecursiveBlur_loops2.png Binary files differdeleted file mode 100644 index d710f35..0000000 --- a/src/effects/doc/images/RecursiveBlur_loops2.png +++ /dev/null diff --git a/src/effects/doc/images/RecursiveBlur_loops3.png b/src/effects/doc/images/RecursiveBlur_loops3.png Binary files differdeleted file mode 100644 index e1c18e7..0000000 --- a/src/effects/doc/images/RecursiveBlur_loops3.png +++ /dev/null diff --git a/src/effects/doc/images/RecursiveBlur_radius1.png b/src/effects/doc/images/RecursiveBlur_radius1.png Binary files differdeleted file mode 100644 index 2bf1280..0000000 --- a/src/effects/doc/images/RecursiveBlur_radius1.png +++ /dev/null diff --git a/src/effects/doc/images/RecursiveBlur_radius2.png b/src/effects/doc/images/RecursiveBlur_radius2.png Binary files differdeleted file mode 100644 index 696f118..0000000 --- a/src/effects/doc/images/RecursiveBlur_radius2.png +++ /dev/null diff --git a/src/effects/doc/images/RecursiveBlur_radius3.png b/src/effects/doc/images/RecursiveBlur_radius3.png Binary files differdeleted file mode 100644 index 3710011..0000000 --- a/src/effects/doc/images/RecursiveBlur_radius3.png +++ /dev/null diff --git a/src/effects/doc/images/RecursiveBlur_transparentBorder1.png b/src/effects/doc/images/RecursiveBlur_transparentBorder1.png Binary files differdeleted file mode 100644 index 3710011..0000000 --- a/src/effects/doc/images/RecursiveBlur_transparentBorder1.png +++ /dev/null diff --git a/src/effects/doc/images/RecursiveBlur_transparentBorder2.png b/src/effects/doc/images/RecursiveBlur_transparentBorder2.png Binary files differdeleted file mode 100644 index 6adbc44..0000000 --- a/src/effects/doc/images/RecursiveBlur_transparentBorder2.png +++ /dev/null diff --git a/src/effects/doc/images/ZoomBlur_bug.png b/src/effects/doc/images/ZoomBlur_bug.png Binary files differdeleted file mode 100644 index 5951ac6..0000000 --- a/src/effects/doc/images/ZoomBlur_bug.png +++ /dev/null diff --git a/src/effects/doc/images/ZoomBlur_horizontalOffset1.png b/src/effects/doc/images/ZoomBlur_horizontalOffset1.png Binary files differdeleted file mode 100644 index 299fc45..0000000 --- a/src/effects/doc/images/ZoomBlur_horizontalOffset1.png +++ /dev/null diff --git a/src/effects/doc/images/ZoomBlur_horizontalOffset2.png b/src/effects/doc/images/ZoomBlur_horizontalOffset2.png Binary files differdeleted file mode 100644 index 190e50b..0000000 --- a/src/effects/doc/images/ZoomBlur_horizontalOffset2.png +++ /dev/null diff --git a/src/effects/doc/images/ZoomBlur_horizontalOffset3.png b/src/effects/doc/images/ZoomBlur_horizontalOffset3.png Binary files differdeleted file mode 100644 index 98e0276..0000000 --- a/src/effects/doc/images/ZoomBlur_horizontalOffset3.png +++ /dev/null diff --git a/src/effects/doc/images/ZoomBlur_length1.png b/src/effects/doc/images/ZoomBlur_length1.png Binary files differdeleted file mode 100644 index f514ee4..0000000 --- a/src/effects/doc/images/ZoomBlur_length1.png +++ /dev/null diff --git a/src/effects/doc/images/ZoomBlur_length2.png b/src/effects/doc/images/ZoomBlur_length2.png Binary files differdeleted file mode 100644 index 190e50b..0000000 --- a/src/effects/doc/images/ZoomBlur_length2.png +++ /dev/null diff --git a/src/effects/doc/images/ZoomBlur_length3.png b/src/effects/doc/images/ZoomBlur_length3.png Binary files differdeleted file mode 100644 index b6f2817..0000000 --- a/src/effects/doc/images/ZoomBlur_length3.png +++ /dev/null diff --git a/src/effects/doc/snippets/Blend-example.qml b/src/effects/doc/snippets/Blend-example.qml deleted file mode 100644 index 5a6cdac..0000000 --- a/src/effects/doc/snippets/Blend-example.qml +++ /dev/null @@ -1,85 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2020 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Graphical Effects module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:BSD$ -** 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 https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** BSD License Usage -** Alternatively, you may use this file under the terms of the BSD license -** as follows: -** -** "Redistribution and use in source and binary forms, with or without -** modification, are permitted provided that the following conditions are -** met: -** * Redistributions of source code must retain the above copyright -** notice, this list of conditions and the following disclaimer. -** * Redistributions in binary form must reproduce the above copyright -** notice, this list of conditions and the following disclaimer in -** the documentation and/or other materials provided with the -** distribution. -** * Neither the name of The Qt Company Ltd nor the names of its -** contributors may be used to endorse or promote products derived -** from this software without specific prior written permission. -** -** -** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -//! [example] -import QtQuick 2.12 -//! [import] -import QtGraphicalEffects 1.12 -//! [import] - -Item { - width: 300 - height: 300 - - Image { - id: bug - source: "images/bug.jpg" - sourceSize: Qt.size(parent.width, parent.height) - smooth: true - visible: false - } - - Image { - id: butterfly - source: "images/butterfly.png" - sourceSize: Qt.size(parent.width, parent.height) - smooth: true - visible: false - } - - Blend { - anchors.fill: bug - source: bug - foregroundSource: butterfly - mode: "subtract" - } -} -//! [example] - diff --git a/src/effects/doc/snippets/DirectionalBlur-example.qml b/src/effects/doc/snippets/DirectionalBlur-example.qml deleted file mode 100644 index e32f75a..0000000 --- a/src/effects/doc/snippets/DirectionalBlur-example.qml +++ /dev/null @@ -1,75 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2020 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Graphical Effects module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:BSD$ -** 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 https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** BSD License Usage -** Alternatively, you may use this file under the terms of the BSD license -** as follows: -** -** "Redistribution and use in source and binary forms, with or without -** modification, are permitted provided that the following conditions are -** met: -** * Redistributions of source code must retain the above copyright -** notice, this list of conditions and the following disclaimer. -** * Redistributions in binary form must reproduce the above copyright -** notice, this list of conditions and the following disclaimer in -** the documentation and/or other materials provided with the -** distribution. -** * Neither the name of The Qt Company Ltd nor the names of its -** contributors may be used to endorse or promote products derived -** from this software without specific prior written permission. -** -** -** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -//! [example] -import QtQuick 2.12 -import QtGraphicalEffects 1.12 - -Item { - width: 300 - height: 300 - - Image { - id: bug - source: "images/bug.jpg" - sourceSize: Qt.size(parent.width, parent.height) - smooth: true - visible: false - } - - DirectionalBlur { - anchors.fill: bug - source: bug - angle: 90 - length: 32 - samples: 24 - } -} -//! [example] diff --git a/src/effects/doc/snippets/DropShadow-example.qml b/src/effects/doc/snippets/DropShadow-example.qml index cc23d90..75361dd 100644 --- a/src/effects/doc/snippets/DropShadow-example.qml +++ b/src/effects/doc/snippets/DropShadow-example.qml @@ -73,7 +73,6 @@ Item { horizontalOffset: 3 verticalOffset: 3 radius: 8.0 - samples: 17 color: "#80000000" source: butterfly } diff --git a/src/effects/doc/snippets/FastBlur-example.qml b/src/effects/doc/snippets/FastBlur-example.qml index 855da2f..7c4aa94 100644 --- a/src/effects/doc/snippets/FastBlur-example.qml +++ b/src/effects/doc/snippets/FastBlur-example.qml @@ -50,7 +50,9 @@ //! [example] import QtQuick 2.12 +//! [import] import QtGraphicalEffects 1.12 +//! [import] Item { width: 300 diff --git a/src/effects/doc/snippets/GaussianBlur-example.qml b/src/effects/doc/snippets/GaussianBlur-example.qml deleted file mode 100644 index 38564a9..0000000 --- a/src/effects/doc/snippets/GaussianBlur-example.qml +++ /dev/null @@ -1,74 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2020 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Graphical Effects module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:BSD$ -** 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 https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** BSD License Usage -** Alternatively, you may use this file under the terms of the BSD license -** as follows: -** -** "Redistribution and use in source and binary forms, with or without -** modification, are permitted provided that the following conditions are -** met: -** * Redistributions of source code must retain the above copyright -** notice, this list of conditions and the following disclaimer. -** * Redistributions in binary form must reproduce the above copyright -** notice, this list of conditions and the following disclaimer in -** the documentation and/or other materials provided with the -** distribution. -** * Neither the name of The Qt Company Ltd nor the names of its -** contributors may be used to endorse or promote products derived -** from this software without specific prior written permission. -** -** -** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -//! [example] -import QtQuick 2.12 -import QtGraphicalEffects 1.12 - -Item { - width: 300 - height: 300 - - Image { - id: bug - source: "images/bug.jpg" - sourceSize: Qt.size(parent.width, parent.height) - smooth: true - visible: false - } - - GaussianBlur { - anchors.fill: bug - source: bug - radius: 8 - samples: 16 - } -} -//! [example] diff --git a/src/effects/doc/snippets/Glow-example.qml b/src/effects/doc/snippets/Glow-example.qml index 0d2927d..1e9cbd5 100644 --- a/src/effects/doc/snippets/Glow-example.qml +++ b/src/effects/doc/snippets/Glow-example.qml @@ -72,7 +72,6 @@ Item { Glow { anchors.fill: butterfly radius: 8 - samples: 17 color: "white" source: butterfly } diff --git a/src/effects/doc/snippets/InnerShadow-example.qml b/src/effects/doc/snippets/InnerShadow-example.qml deleted file mode 100644 index 37973bc..0000000 --- a/src/effects/doc/snippets/InnerShadow-example.qml +++ /dev/null @@ -1,81 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2020 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Graphical Effects module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:BSD$ -** 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 https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** BSD License Usage -** Alternatively, you may use this file under the terms of the BSD license -** as follows: -** -** "Redistribution and use in source and binary forms, with or without -** modification, are permitted provided that the following conditions are -** met: -** * Redistributions of source code must retain the above copyright -** notice, this list of conditions and the following disclaimer. -** * Redistributions in binary form must reproduce the above copyright -** notice, this list of conditions and the following disclaimer in -** the documentation and/or other materials provided with the -** distribution. -** * Neither the name of The Qt Company Ltd nor the names of its -** contributors may be used to endorse or promote products derived -** from this software without specific prior written permission. -** -** -** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -//! [example] -import QtQuick 2.12 -import QtGraphicalEffects 1.12 - -Item { - width: 300 - height: 300 - - Rectangle { - anchors.fill: parent - } - - Image { - id: butterfly - source: "images/butterfly.png" - sourceSize: Qt.size(parent.width, parent.height) - smooth: true - visible: false - } - - InnerShadow { - anchors.fill: butterfly - radius: 8.0 - samples: 16 - horizontalOffset: -3 - verticalOffset: 3 - color: "#b0000000" - source: butterfly - } -} -//! [example] diff --git a/src/effects/doc/snippets/MaskedBlur-example.qml b/src/effects/doc/snippets/MaskedBlur-example.qml deleted file mode 100644 index 2ce9647..0000000 --- a/src/effects/doc/snippets/MaskedBlur-example.qml +++ /dev/null @@ -1,87 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2020 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Graphical Effects module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:BSD$ -** 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 https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** BSD License Usage -** Alternatively, you may use this file under the terms of the BSD license -** as follows: -** -** "Redistribution and use in source and binary forms, with or without -** modification, are permitted provided that the following conditions are -** met: -** * Redistributions of source code must retain the above copyright -** notice, this list of conditions and the following disclaimer. -** * Redistributions in binary form must reproduce the above copyright -** notice, this list of conditions and the following disclaimer in -** the documentation and/or other materials provided with the -** distribution. -** * Neither the name of The Qt Company Ltd nor the names of its -** contributors may be used to endorse or promote products derived -** from this software without specific prior written permission. -** -** -** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -//! [example] -import QtQuick 2.12 -import QtGraphicalEffects 1.12 - -Item { - width: 300 - height: 300 - - Image { - id: bug - source: "images/bug.jpg" - sourceSize: Qt.size(parent.width, parent.height) - smooth: true - visible: false - } - - LinearGradient { - id: mask - anchors.fill: bug - gradient: Gradient { - GradientStop { position: 0.2; color: "#ffffffff" } - GradientStop { position: 0.5; color: "#00ffffff" } - } - start: Qt.point(0, 0) - end: Qt.point(300, 0) - visible: false - } - - MaskedBlur { - anchors.fill: bug - source: bug - maskSource: mask - radius: 16 - samples: 24 - } -} -//! [example] diff --git a/src/effects/doc/snippets/RadialBlur-example.qml b/src/effects/doc/snippets/RadialBlur-example.qml deleted file mode 100644 index 1daf572..0000000 --- a/src/effects/doc/snippets/RadialBlur-example.qml +++ /dev/null @@ -1,74 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2020 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Graphical Effects module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:BSD$ -** 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 https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** BSD License Usage -** Alternatively, you may use this file under the terms of the BSD license -** as follows: -** -** "Redistribution and use in source and binary forms, with or without -** modification, are permitted provided that the following conditions are -** met: -** * Redistributions of source code must retain the above copyright -** notice, this list of conditions and the following disclaimer. -** * Redistributions in binary form must reproduce the above copyright -** notice, this list of conditions and the following disclaimer in -** the documentation and/or other materials provided with the -** distribution. -** * Neither the name of The Qt Company Ltd nor the names of its -** contributors may be used to endorse or promote products derived -** from this software without specific prior written permission. -** -** -** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -//! [example] -import QtQuick 2.12 -import QtGraphicalEffects 1.12 - -Item { - width: 300 - height: 300 - - Image { - id: bug - source: "images/bug.jpg" - sourceSize: Qt.size(parent.width, parent.height) - smooth: true - visible: false - } - - RadialBlur { - anchors.fill: bug - source: bug - samples: 24 - angle: 30 - } -} -//! [example] diff --git a/src/effects/doc/snippets/RecursiveBlur-example.qml b/src/effects/doc/snippets/RecursiveBlur-example.qml deleted file mode 100644 index fb9ccdd..0000000 --- a/src/effects/doc/snippets/RecursiveBlur-example.qml +++ /dev/null @@ -1,74 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2020 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Graphical Effects module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:BSD$ -** 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 https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** BSD License Usage -** Alternatively, you may use this file under the terms of the BSD license -** as follows: -** -** "Redistribution and use in source and binary forms, with or without -** modification, are permitted provided that the following conditions are -** met: -** * Redistributions of source code must retain the above copyright -** notice, this list of conditions and the following disclaimer. -** * Redistributions in binary form must reproduce the above copyright -** notice, this list of conditions and the following disclaimer in -** the documentation and/or other materials provided with the -** distribution. -** * Neither the name of The Qt Company Ltd nor the names of its -** contributors may be used to endorse or promote products derived -** from this software without specific prior written permission. -** -** -** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -//! [example] -import QtQuick 2.12 -import QtGraphicalEffects 1.12 - -Item { - width: 300 - height: 300 - - Image { - id: bug - source: "images/bug.jpg" - sourceSize: Qt.size(parent.width, parent.height) - smooth: true - visible: false - } - - RecursiveBlur { - anchors.fill: bug - source: bug - radius: 7.5 - loops: 50 - } -} -//! [example] diff --git a/src/effects/doc/snippets/ZoomBlur-example.qml b/src/effects/doc/snippets/ZoomBlur-example.qml deleted file mode 100644 index 9d6e845..0000000 --- a/src/effects/doc/snippets/ZoomBlur-example.qml +++ /dev/null @@ -1,74 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2020 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the Qt Graphical Effects module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:BSD$ -** 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 https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** BSD License Usage -** Alternatively, you may use this file under the terms of the BSD license -** as follows: -** -** "Redistribution and use in source and binary forms, with or without -** modification, are permitted provided that the following conditions are -** met: -** * Redistributions of source code must retain the above copyright -** notice, this list of conditions and the following disclaimer. -** * Redistributions in binary form must reproduce the above copyright -** notice, this list of conditions and the following disclaimer in -** the documentation and/or other materials provided with the -** distribution. -** * Neither the name of The Qt Company Ltd nor the names of its -** contributors may be used to endorse or promote products derived -** from this software without specific prior written permission. -** -** -** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -//! [example] -import QtQuick 2.12 -import QtGraphicalEffects 1.12 - -Item { - width: 300 - height: 300 - - Image { - id: butterfly - source: "images/bug.jpg" - sourceSize: Qt.size(parent.width, parent.height) - smooth: true - visible: false - } - - ZoomBlur { - anchors.fill: butterfly - source: butterfly - samples: 24 - length: 48 - } -} -//! [example] diff --git a/src/effects/doc/src/overview-graphicaleffects.qdoc b/src/effects/doc/src/overview-graphicaleffects.qdoc index 40d5c59..1011c09 100644 --- a/src/effects/doc/src/overview-graphicaleffects.qdoc +++ b/src/effects/doc/src/overview-graphicaleffects.qdoc @@ -46,11 +46,8 @@ The following list presents the functional division of types that are part of Qt Graphical Effects: - \section1 Blend - \annotatedlist qtgraphicaleffects-blend - \section1 Color - \annotatedlist qtgraphicaleffects-color + \annotatedlist qtgraphicaleffects-color \section1 Gradient \annotatedlist qtgraphicaleffects-gradient @@ -64,9 +61,6 @@ \section1 Blur \annotatedlist qtgraphicaleffects-blur - \section1 Motion Blur - \annotatedlist qtgraphicaleffects-motion-blur - \section1 Glow \annotatedlist qtgraphicaleffects-glow diff --git a/src/effects/doc/src/qtgraphicaleffects.qdoc b/src/effects/doc/src/qtgraphicaleffects.qdoc index 104e46e..0b7c67a 100644 --- a/src/effects/doc/src/qtgraphicaleffects.qdoc +++ b/src/effects/doc/src/qtgraphicaleffects.qdoc @@ -56,12 +56,12 @@ 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. -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. +The API consists of over 15 effects provided as separate QML types. The effects +cover functional areas such as masking, blurring, coloring, and many more. \section1 Getting Started To load Qt Graphical Effects, add the following import statement to your .qml file: -\snippet Blend-example.qml import +\snippet FastBlur-example.qml import 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 @@ -75,15 +75,10 @@ Each effect has a set of properties that can be used to configure the effect out Properties can be animated just like any other QML properties. The QML type documentation contains property descriptions and basic usage examples. -Currently there is no C++ API. - -\note 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 -\c software 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 -\l{qtquick-visualcanvas-adaptations.html}{Scene Graph Adaptations}. +\note Effects are not available when running with the \c software +backend of Qt Quick. For more information on Qt Quick scene graph +backends, see \l{qtquick-visualcanvas-adaptations.html}{Scene Graph +Adaptations}. \section1 Reference |