aboutsummaryrefslogtreecommitdiffstats
path: root/examples/widgets/effects/lighting
diff options
context:
space:
mode:
authorShyamnath Premnadh <Shyamnath.Premnadh@qt.io>2024-12-11 13:02:23 +0100
committerShyamnath Premnadh <Shyamnath.Premnadh@qt.io>2024-12-12 13:47:55 +0100
commitf6069b9330fc01b68296ef4dffd474ed98784ec6 (patch)
treed3f504d8070430e9f7dfe68e614cc11729420950 /examples/widgets/effects/lighting
parent31a9db93d3c355d8e6be4d31eacc02b93d41ffd3 (diff)
Documentation/Examples: Add missing docs
Some examples did not have any documentation. This patch adds the respective documentation. Pick-to: 6.8 Change-Id: I9698752b654c2df29fd3572f6bc66a9df56f9903 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'examples/widgets/effects/lighting')
-rw-r--r--examples/widgets/effects/lighting/doc/lighting.rst11
-rw-r--r--examples/widgets/effects/lighting/doc/lighting.webpbin0 -> 9430 bytes
2 files changed, 11 insertions, 0 deletions
diff --git a/examples/widgets/effects/lighting/doc/lighting.rst b/examples/widgets/effects/lighting/doc/lighting.rst
new file mode 100644
index 000000000..95adb468c
--- /dev/null
+++ b/examples/widgets/effects/lighting/doc/lighting.rst
@@ -0,0 +1,11 @@
+Lighting Example
+================
+
+This example demonstrates a PySide6 application that creates a dynamic scene with lighting and
+shadow effects using `QGraphicsView` and `QGraphicsScene`. It features animated light sources and
+graphical items with drop shadows that respond to the light, showcasing advanced rendering and
+animation techniques.
+
+.. image:: lighting.webp
+ :width: 400
+ :alt: lighting screenshot
diff --git a/examples/widgets/effects/lighting/doc/lighting.webp b/examples/widgets/effects/lighting/doc/lighting.webp
new file mode 100644
index 000000000..fbae74d3b
--- /dev/null
+++ b/examples/widgets/effects/lighting/doc/lighting.webp
Binary files differ