このページでは

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.