Debian Codegraph @

tests/manual/graphicaleffects5/main.qml

raw
1 // Copyright (C) 2020 The Qt Company Ltd.
2 // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
3
4 import QtQuick
5
6 Window {
7 width: 640
8 height: 600
9 visible: true
10 title: qsTr("Graphical Effects")
11
12 Image {
13 id: bug
14 source: "images/bug.jpg"
15 sourceSize: Qt.size(parent.width / grid.columns, parent.width / grid.columns)
16 smooth: true
17 visible: false
18 }
19
20 Image {
21 id: butterfly
22 source: "images/butterfly.png"
23 sourceSize: Qt.size(parent.width / grid.columns, parent.width / grid.columns)
24 smooth: true
25 visible: false
26 }
27
28 Grid {
29 id: grid
30 anchors.fill: parent
31 columns: 6
32
33 BrightnessContrastEffect {
34 width: parent.width / parent.columns
35 height: width
36 }
37
38 ColorOverlayEffect {
39 width: parent.width / parent.columns
40 height: width
41 }
42
43 ColorizeEffect {
44 width: parent.width / parent.columns
45 height: width
46 }
47
48 DesaturateEffect {
49 width: parent.width / parent.columns
50 height: width
51 }
52
53 GammaAdjustEffect {
54 width: parent.width / parent.columns
55 height: width
56 }
57
58 HueSaturationEffect {
59 width: parent.width / parent.columns
60 height: width
61 }
62
63 LevelAdjustEffect {
64 width: parent.width / parent.columns
65 height: width
66 }
67
68 ConicalGradientEffect {
69 width: parent.width / parent.columns
70 height: width
71 }
72
73 LinearGradientEffect {
74 width: parent.width / parent.columns
75 height: width
76 }
77
78 RadialGradientEffect {
79 width: parent.width / parent.columns
80 height: width
81 }
82
83 DisplaceEffect {
84 width: parent.width / parent.columns
85 height: width
86 }
87
88 DropShadowEffect {
89 width: parent.width / parent.columns
90 height: width
91 }
92
93 InnerShadowEffect {
94 width: parent.width / parent.columns
95 height: width
96 }
97
98 InnerShadowFastEffect {
99 width: parent.width / parent.columns
100 height: width
101 }
102
103 FastBlurEffect {
104 width: parent.width / parent.columns
105 height: width
106 }
107
108 GaussianBlurEffect {
109 width: parent.width / parent.columns
110 height: width
111 }
112
113 MaskedBlurEffect {
114 width: parent.width / parent.columns
115 height: width
116 }
117
118 RadialBlurEffect {
119 width: parent.width / parent.columns
120 height: width
121 }
122
123 RecursiveBlurEffect {
124 width: parent.width / parent.columns
125 height: width
126 }
127
128 ZoomBlurEffect {
129 width: parent.width / parent.columns
130 height: width
131 }
132
133 DirectionalBlurEffect {
134 width: parent.width / parent.columns
135 height: width
136 }
137
138 GlowEffect {
139 width: parent.width / parent.columns
140 height: width
141 }
142
143 RectangularGlowEffect {
144 width: parent.width / parent.columns
145 height: width
146 }
147
148 OpacityMaskEffect {
149 width: parent.width / parent.columns
150 height: width
151 }
152
153 ThresholdMaskEffect {
154 width: parent.width / parent.columns
155 height: width
156 }
157
158 BlendEffect {
159 width: parent.width / parent.columns
160 height: width
161 }
162 }
163 }