本页内容

Qt Quick 示例 - RectangularShadow NeumorphicPanel

演示了RectangularShadow 的使用方法。

带有 Qt 徽标的新形态面板,以及用于控制阴影大小、半径、模糊度和不透明度的滑块

本示例演示了RectangularShadow 类型,它为应用圆角矩形阴影和光晕提供了一种高效的解决方案。RectangularShadow 的API与CSS的box-shadow属性相匹配,并增加了一些功能。

运行示例

您可以通过以下方式运行示例:

示例项目 @ code.qt.io

© 2026 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.