创建模糊效果

Qt Quick Effect Maker 中创建模糊效果:

  1. 在节点树中添加一个FastBlur 节点。
  2. 在节点树中添加BlurHelper 节点。所有包含模糊效果的特效都需要BlurHelper 节点。

  3. 选择FastBlur 节点,并在设置中更改fastBlurAmount 值,以控制模糊的程度。

调整项目边界

效果会出现裁剪。您需要调整项目边框:

  1. 选择 以显示项目边框。

  2. 转到Edit >Project Settings
  3. 将所有边的项目填充设置为 100。

现在,您可以看到完整的模糊效果。

© 2025 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.