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>
This commit is contained in:
committed by
Qt by Nokia
parent
febe398400
commit
9092b1ae46
@@ -43,8 +43,9 @@ import QtQuick 2.0
|
||||
|
||||
ShaderEffect {
|
||||
property variant source
|
||||
property int numParameters: 0
|
||||
property bool supportsDivider: false
|
||||
property ListModel parameters: ListModel { }
|
||||
property bool divider: true
|
||||
property real dividerValue: 0.5
|
||||
property real targetWidth: 0
|
||||
property real targetHeight: 0
|
||||
property string fragmentShaderFilename
|
||||
|
||||
Reference in New Issue
Block a user