summaryrefslogtreecommitdiffstats
path: root/examples/video/qmlvideofx/qml/qmlvideofx/EffectGlow.qml
diff options
context:
space:
mode:
authorGareth Stockwell <gareth.stockwell@accenture.com>2011-12-20 13:51:34 +0000
committerQt by Nokia <qt-info@nokia.com>2011-12-22 02:29:18 +0100
commit9092b1ae46d999fb8b971386905d64eba4f9b60d (patch)
tree4a7eac0c1bd5023f32475d90a3c2b242ce9225fa /examples/video/qmlvideofx/qml/qmlvideofx/EffectGlow.qml
parentfebe3984003dcd9313ae451ee2cc23ac15630977 (diff)
Express qmlvideofx effect parameters declaratively
Each effect item now exposes a ListModel property which describes the set of user-controllable parameters. This model is used by the ParameterPanel component to generate a ListView whose delegate displays the parameter name and a slider. Change-Id: Ib26877fe434d8b746ef621e0b4adbcbe1ed9aaa8 Reviewed-by: Michael Goddard <michael.goddard@nokia.com>
Diffstat (limited to 'examples/video/qmlvideofx/qml/qmlvideofx/EffectGlow.qml')
-rw-r--r--examples/video/qmlvideofx/qml/qmlvideofx/EffectGlow.qml6
1 files changed, 0 insertions, 6 deletions
diff --git a/examples/video/qmlvideofx/qml/qmlvideofx/EffectGlow.qml b/examples/video/qmlvideofx/qml/qmlvideofx/EffectGlow.qml
index bb7321619..c3be692fe 100644
--- a/examples/video/qmlvideofx/qml/qmlvideofx/EffectGlow.qml
+++ b/examples/video/qmlvideofx/qml/qmlvideofx/EffectGlow.qml
@@ -42,11 +42,5 @@
import QtQuick 2.0
Effect {
- // Constant properties which must be supported by every effect
- property int numParameters: 0
- property bool supportsDivider: true
-
- property real dividerValue: 0.5
-
fragmentShaderFilename: "shaders/glow.fsh"
}