import QtQuick 2.9 import QtQuick.Window 2.2 import QtGraphicalEffects 1.0 Window { id: root visible: true width: 640 height: 480 title: qsTr("Hello World") Component { id: delegateWithEffects Item { width: 100 height: 100 Rectangle { id: item anchors.fill: parent color: "blue" } Glow { source: item anchors.fill: parent radius: 100 samples: 100 color: Qt.rgba(Math.random(),Math.random(),Math.random(),1); } property int c: parent.width / 100 x: (index % c) * 100 y: parseInt(index/c)*100 } } Item { id: gv height: parent.height Repeater { model: 8*8 delegate: delegateWithEffects } } SequentialAnimation { running: true loops: Animation.Infinite NumberAnimation { target: gv property: "width" from: 100 to: root.width } NumberAnimation { target: gv property: "width" from: root.width to: 100 } } }