aboutsummaryrefslogtreecommitdiffstats
path: root/examples/widgets
diff options
context:
space:
mode:
authorCristian Maureira-Fredes <Cristian.Maureira-Fredes@qt.io>2021-06-10 20:46:25 +0200
committerCristian Maureira-Fredes <cristian.maureira-fredes@qt.io>2021-06-12 19:31:17 +0000
commit090d4fba6a444590d850c697472e5fbcef46b0a4 (patch)
treecd2c70bfdf6549d962daaf266f4f2223cd4cc9a9 /examples/widgets
parent32222315eb32177d4161ee2e417d9910a07f6039 (diff)
examples: add screenshots to more modules
Adding screenshots and small documentation file to the modules - corelib - datavisualization - external - opengl - quick - sql - uitools - webchannel - webenginewidgets - some widgets - xml Renaming the widgets gallery due to name conflict with the quick controls gallery, and fixing two typos from contextinfo.py and hellogl2.py. Task-number: PYSIDE-841 Pick-to: 6.1 Change-Id: I2705e5d605fa738da0dca906cf6acb4b9d5d3dcd Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'examples/widgets')
-rw-r--r--examples/widgets/widgetsgallery/doc/widgetsgallery.pngbin0 -> 49870 bytes
-rw-r--r--examples/widgets/widgetsgallery/doc/widgetsgallery.rst16
-rw-r--r--examples/widgets/widgetsgallery/main.py (renamed from examples/widgets/gallery/main.py)0
-rw-r--r--examples/widgets/widgetsgallery/widgetgallery.py (renamed from examples/widgets/gallery/widgetgallery.py)0
-rw-r--r--examples/widgets/widgetsgallery/widgetsgallery.pyproject (renamed from examples/widgets/gallery/gallery.pyproject)0
5 files changed, 16 insertions, 0 deletions
diff --git a/examples/widgets/widgetsgallery/doc/widgetsgallery.png b/examples/widgets/widgetsgallery/doc/widgetsgallery.png
new file mode 100644
index 000000000..236296681
--- /dev/null
+++ b/examples/widgets/widgetsgallery/doc/widgetsgallery.png
Binary files differ
diff --git a/examples/widgets/widgetsgallery/doc/widgetsgallery.rst b/examples/widgets/widgetsgallery/doc/widgetsgallery.rst
new file mode 100644
index 000000000..336eb7e46
--- /dev/null
+++ b/examples/widgets/widgetsgallery/doc/widgetsgallery.rst
@@ -0,0 +1,16 @@
+Widgets Gallery Example
+=======================
+
+Qt's support for widget styles and themes enables your application to fit in
+with the native desktop environment.
+
+The widgets examples show how some of the widgets available in Qt might appear
+when configured to use the a particular style. Each style is only available on
+the respective platfom, and provides native look and feel by integrating to the
+platform theme. Thus, the final appearance varies depending on the active
+theme.
+
+
+.. image:: widgetsgallery.png
+ :width: 400
+ :alt: Widgets Gallery Screenshot
diff --git a/examples/widgets/gallery/main.py b/examples/widgets/widgetsgallery/main.py
index c3602321b..c3602321b 100644
--- a/examples/widgets/gallery/main.py
+++ b/examples/widgets/widgetsgallery/main.py
diff --git a/examples/widgets/gallery/widgetgallery.py b/examples/widgets/widgetsgallery/widgetgallery.py
index f57e23992..f57e23992 100644
--- a/examples/widgets/gallery/widgetgallery.py
+++ b/examples/widgets/widgetsgallery/widgetgallery.py
diff --git a/examples/widgets/gallery/gallery.pyproject b/examples/widgets/widgetsgallery/widgetsgallery.pyproject
index 635e123b0..635e123b0 100644
--- a/examples/widgets/gallery/gallery.pyproject
+++ b/examples/widgets/widgetsgallery/widgetsgallery.pyproject