Commit Graph

3 Commits

Author SHA1 Message Date
Miikka Heikkinen
fe6d2aef37 Effect Maker: Make effects children of items they affect
...instead of being inlined into layer.effect. This fixes the issue
with dynamic properties not properly updating for inlined instances
at reset and in general makes the effect properties more accessible.

Task-number: QDS-11357
Change-Id: Ie372b99752ceda5bdfe248dd576352d2c6a4c4f7
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2024-01-18 09:08:23 +00:00
Miikka Heikkinen
6bf7ae11a0 Effect Maker: Change blur helper to match helper on qtquickdesigner
When running effect in project, source property for effect doesn't
seem to have actual dimensions, so use the root item dimensions.

Task-number: QDS-11542
Change-Id: Ibc4053224de8882dead338f1833bf65397f5eac3
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2023-12-19 09:16:00 +00:00
Mahmoud Badri
dc42b62ddf Effect Maker: Enable helper nodes
Helper nodes are nodes that another node depends on and are added
automatically when the depending node is added. Helper nodes are
placed before all other nodes. Helper nodes that do not contain
any properties are not shown. Helper nodes keep reference count
and are removed when last referring node is removed.

Task-number: QDS-11193
Change-Id: I036019afb1414ec6e98b2f949a18bd217753a910
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
2023-12-14 15:17:22 +00:00