aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/declarative/scrolling/doc/scrolling.pngbin0 -> 79 bytes
-rw-r--r--examples/declarative/scrolling/doc/scrolling.rst9
-rw-r--r--examples/declarative/textproperties/doc/textproperties.pngbin0 -> 14082 bytes
-rw-r--r--examples/declarative/textproperties/doc/textproperties.rst9
-rw-r--r--examples/declarative/usingmodel/doc/usingmodel.pngbin0 -> 2791 bytes
-rw-r--r--examples/declarative/usingmodel/doc/usingmodel.rst9
-rw-r--r--examples/multimedia/audiooutput/doc/audiooutput.pngbin0 -> 5082 bytes
-rw-r--r--examples/multimedia/audiooutput/doc/audiooutput.rst12
-rw-r--r--examples/multimedia/camera/doc/camera.pngbin0 -> 63404 bytes
-rw-r--r--examples/multimedia/camera/doc/camera.rst12
-rw-r--r--examples/multimedia/player/doc/player.pngbin0 -> 2804 bytes
-rw-r--r--examples/multimedia/player/doc/player.rst9
-rw-r--r--examples/network/downloader/doc/downloader.pngbin0 -> 6215 bytes
-rw-r--r--examples/network/downloader/doc/downloader.rst9
-rw-r--r--examples/widgets/animation/animatedtiles/doc/animatedtiles.pngbin0 -> 299266 bytes
-rw-r--r--examples/widgets/animation/animatedtiles/doc/animatedtiles.rst8
-rw-r--r--examples/widgets/animation/appchooser/doc/appchooser.pngbin0 -> 22259 bytes
-rw-r--r--examples/widgets/animation/appchooser/doc/appchooser.rst9
-rw-r--r--examples/widgets/animation/easing/doc/easing.pngbin0 -> 24136 bytes
-rw-r--r--examples/widgets/animation/easing/doc/easing.rst9
-rw-r--r--examples/widgets/animation/states/doc/states.pngbin0 -> 21700 bytes
-rw-r--r--examples/widgets/animation/states/doc/states.rst8
-rw-r--r--examples/widgets/codeeditor/doc/codeeditor.pngbin0 -> 7759 bytes
-rw-r--r--examples/widgets/codeeditor/doc/codeeditor.rst9
-rw-r--r--examples/widgets/itemviews/address_book/adddialogwidget.py (renamed from examples/widgets/itemviews/addressbook/adddialogwidget.py)0
-rw-r--r--examples/widgets/itemviews/address_book/address_book.py (renamed from examples/widgets/itemviews/addressbook/addressbook.py)0
-rw-r--r--examples/widgets/itemviews/address_book/address_book.pyproject4
-rw-r--r--examples/widgets/itemviews/address_book/addresswidget.py (renamed from examples/widgets/itemviews/addressbook/addresswidget.py)0
-rw-r--r--examples/widgets/itemviews/address_book/doc/address_book.pngbin0 -> 4922 bytes
-rw-r--r--examples/widgets/itemviews/address_book/doc/address_book.rst9
-rw-r--r--examples/widgets/itemviews/address_book/newaddresstab.py (renamed from examples/widgets/itemviews/addressbook/newaddresstab.py)0
-rw-r--r--examples/widgets/itemviews/address_book/tablemodel.py (renamed from examples/widgets/itemviews/addressbook/tablemodel.py)0
-rw-r--r--examples/widgets/itemviews/addressbook/addressbook.pyproject4
-rw-r--r--examples/widgets/itemviews/jsonmodel/doc/jsonmodel.pngbin0 -> 14837 bytes
-rw-r--r--examples/widgets/itemviews/jsonmodel/doc/jsonmodel.rst8
-rw-r--r--examples/widgets/layouts/basiclayouts/doc/basiclayouts.pngbin0 -> 20931 bytes
-rw-r--r--examples/widgets/layouts/basiclayouts/doc/basiclayouts.rst9
-rw-r--r--examples/widgets/layouts/dynamiclayouts/doc/dynamiclayouts.pngbin0 -> 14088 bytes
-rw-r--r--examples/widgets/layouts/dynamiclayouts/doc/dynamiclayouts.rst10
-rw-r--r--examples/widgets/layouts/flowlayout/doc/flowlayout.pngbin0 -> 29229 bytes
-rw-r--r--examples/widgets/layouts/flowlayout/doc/flowlayout.rst11
-rw-r--r--examples/widgets/mainwindows/dockwidgets/doc/dockwidgets.pngbin0 -> 41007 bytes
-rw-r--r--examples/widgets/mainwindows/dockwidgets/doc/dockwidgets.rst9
-rw-r--r--examples/widgets/painting/basicdrawing/doc/basicdrawing.pngbin0 -> 18655 bytes
-rw-r--r--examples/widgets/painting/basicdrawing/doc/basicdrawing.rst15
-rw-r--r--examples/widgets/painting/concentriccircles/doc/concentriccircles.pngbin0 -> 51606 bytes
-rw-r--r--examples/widgets/painting/concentriccircles/doc/concentriccircles.rst12
-rw-r--r--examples/widgets/painting/painter/doc/painter.pngbin0 -> 11442 bytes
-rw-r--r--examples/widgets/painting/painter/doc/painter.rst8
-rw-r--r--examples/widgets/richtext/syntaxhighlighter/doc/syntaxhighlighter.pngbin0 -> 43420 bytes
-rw-r--r--examples/widgets/richtext/syntaxhighlighter/doc/syntaxhighlighter.rst8
-rw-r--r--examples/widgets/richtext/textedit/doc/textedit.pngbin0 -> 120703 bytes
-rw-r--r--examples/widgets/richtext/textedit/doc/textedit.rst8
-rw-r--r--examples/widgets/richtext/textobject/doc/textobject.pngbin0 -> 5844 bytes
-rw-r--r--examples/widgets/richtext/textobject/doc/textobject.rst31
-rw-r--r--examples/widgets/state-machine/trafficlight/doc/trafficlight.pngbin0 -> 79 bytes
-rw-r--r--examples/widgets/state-machine/trafficlight/doc/trafficlight.rst10
-rw-r--r--examples/widgets/tutorials/addressbook/doc/addressbook.pngbin0 -> 4989 bytes
-rw-r--r--examples/widgets/tutorials/addressbook/doc/addressbook.rst9
-rw-r--r--examples/widgets/tutorials/cannon/doc/cannon.pngbin0 -> 2845 bytes
-rw-r--r--examples/widgets/tutorials/cannon/doc/cannon.rst8
61 files changed, 281 insertions, 4 deletions
diff --git a/examples/declarative/scrolling/doc/scrolling.png b/examples/declarative/scrolling/doc/scrolling.png
new file mode 100644
index 000000000..6058c5930
--- /dev/null
+++ b/examples/declarative/scrolling/doc/scrolling.png
Binary files differ
diff --git a/examples/declarative/scrolling/doc/scrolling.rst b/examples/declarative/scrolling/doc/scrolling.rst
new file mode 100644
index 000000000..a16e39df7
--- /dev/null
+++ b/examples/declarative/scrolling/doc/scrolling.rst
@@ -0,0 +1,9 @@
+Scrolling Example
+=================
+
+A Python application that demonstrates how to use a qml view
+and make it scrollable.
+
+.. image:: scrolling.png
+ :width: 400
+ :alt: Scrolling Screenshot
diff --git a/examples/declarative/textproperties/doc/textproperties.png b/examples/declarative/textproperties/doc/textproperties.png
new file mode 100644
index 000000000..b14bb73d7
--- /dev/null
+++ b/examples/declarative/textproperties/doc/textproperties.png
Binary files differ
diff --git a/examples/declarative/textproperties/doc/textproperties.rst b/examples/declarative/textproperties/doc/textproperties.rst
new file mode 100644
index 000000000..a67e35f0f
--- /dev/null
+++ b/examples/declarative/textproperties/doc/textproperties.rst
@@ -0,0 +1,9 @@
+Text Properties Example
+=======================
+
+A Python application that demonstrates how to load a qml file
+using Material design, to change the look of text.
+
+.. image:: scrolling.png
+ :width: 400
+ :alt: Text Properties Screenshot
diff --git a/examples/declarative/usingmodel/doc/usingmodel.png b/examples/declarative/usingmodel/doc/usingmodel.png
new file mode 100644
index 000000000..b4240951b
--- /dev/null
+++ b/examples/declarative/usingmodel/doc/usingmodel.png
Binary files differ
diff --git a/examples/declarative/usingmodel/doc/usingmodel.rst b/examples/declarative/usingmodel/doc/usingmodel.rst
new file mode 100644
index 000000000..11b476d09
--- /dev/null
+++ b/examples/declarative/usingmodel/doc/usingmodel.rst
@@ -0,0 +1,9 @@
+Using Model Example
+===================
+
+A Python application that demonstrates how to use a :ref:`QAbstractListModel`
+with QML.
+
+.. image:: usingmodel.png
+ :width: 400
+ :alt: Using Model Screenshot
diff --git a/examples/multimedia/audiooutput/doc/audiooutput.png b/examples/multimedia/audiooutput/doc/audiooutput.png
new file mode 100644
index 000000000..d19f959cd
--- /dev/null
+++ b/examples/multimedia/audiooutput/doc/audiooutput.png
Binary files differ
diff --git a/examples/multimedia/audiooutput/doc/audiooutput.rst b/examples/multimedia/audiooutput/doc/audiooutput.rst
new file mode 100644
index 000000000..bbd71c5d8
--- /dev/null
+++ b/examples/multimedia/audiooutput/doc/audiooutput.rst
@@ -0,0 +1,12 @@
+Audio Output Example
+====================
+
+Audio Output demonstrates the basic use cases of QAudioOutput.
+
+This example provides a tone generator to supply continuous audio playback. The
+first button allows pause and resume of the playback, and the second button
+allows toggling between push and pull modes of operation.
+
+.. image:: audiooutput.png
+ :width: 400
+ :alt: Audio Output Screenshot
diff --git a/examples/multimedia/camera/doc/camera.png b/examples/multimedia/camera/doc/camera.png
new file mode 100644
index 000000000..7ebf1e826
--- /dev/null
+++ b/examples/multimedia/camera/doc/camera.png
Binary files differ
diff --git a/examples/multimedia/camera/doc/camera.rst b/examples/multimedia/camera/doc/camera.rst
new file mode 100644
index 000000000..0b37b2c6a
--- /dev/null
+++ b/examples/multimedia/camera/doc/camera.rst
@@ -0,0 +1,12 @@
+Camera Example
+===============
+
+The Camera Example shows how to use the API to capture a still image or video.
+
+The Camera Example demonstrates how you can use Qt Multimedia to implement some
+basic Camera functionality to take still images and record video clips with
+audio.
+
+.. image:: camera.png
+ :width: 400
+ :alt: Camera Screenshot
diff --git a/examples/multimedia/player/doc/player.png b/examples/multimedia/player/doc/player.png
new file mode 100644
index 000000000..f751d4a82
--- /dev/null
+++ b/examples/multimedia/player/doc/player.png
Binary files differ
diff --git a/examples/multimedia/player/doc/player.rst b/examples/multimedia/player/doc/player.rst
new file mode 100644
index 000000000..fdf5fa920
--- /dev/null
+++ b/examples/multimedia/player/doc/player.rst
@@ -0,0 +1,9 @@
+Player Example
+==============
+
+Media Player demonstrates a simple multimedia player that can play audio and or
+video files using various codecs.
+
+.. image:: player.png
+ :width: 400
+ :alt: Player Screenshot
diff --git a/examples/network/downloader/doc/downloader.png b/examples/network/downloader/doc/downloader.png
new file mode 100644
index 000000000..92e0e137c
--- /dev/null
+++ b/examples/network/downloader/doc/downloader.png
Binary files differ
diff --git a/examples/network/downloader/doc/downloader.rst b/examples/network/downloader/doc/downloader.rst
new file mode 100644
index 000000000..1ae7a3397
--- /dev/null
+++ b/examples/network/downloader/doc/downloader.rst
@@ -0,0 +1,9 @@
+Downloader Example
+==================
+
+A Python application that demonstrates how to create a simple downloader
+application based on Qt Widgets.
+
+.. image:: downloader.png
+ :width: 400
+ :alt: Downloader Screenshot
diff --git a/examples/widgets/animation/animatedtiles/doc/animatedtiles.png b/examples/widgets/animation/animatedtiles/doc/animatedtiles.png
new file mode 100644
index 000000000..95a05fb06
--- /dev/null
+++ b/examples/widgets/animation/animatedtiles/doc/animatedtiles.png
Binary files differ
diff --git a/examples/widgets/animation/animatedtiles/doc/animatedtiles.rst b/examples/widgets/animation/animatedtiles/doc/animatedtiles.rst
new file mode 100644
index 000000000..083fee071
--- /dev/null
+++ b/examples/widgets/animation/animatedtiles/doc/animatedtiles.rst
@@ -0,0 +1,8 @@
+Animated Tiles Example
+======================
+
+The Animated Tiles example animates items in a graphics scene.
+
+.. image:: animatedtiles.png
+ :width: 400
+ :alt: Animated Tiles Screenshot
diff --git a/examples/widgets/animation/appchooser/doc/appchooser.png b/examples/widgets/animation/appchooser/doc/appchooser.png
new file mode 100644
index 000000000..1bd31e755
--- /dev/null
+++ b/examples/widgets/animation/appchooser/doc/appchooser.png
Binary files differ
diff --git a/examples/widgets/animation/appchooser/doc/appchooser.rst b/examples/widgets/animation/appchooser/doc/appchooser.rst
new file mode 100644
index 000000000..05af3e8b8
--- /dev/null
+++ b/examples/widgets/animation/appchooser/doc/appchooser.rst
@@ -0,0 +1,9 @@
+Application Chooser Example
+===========================
+
+Simple application that shows the effect of selecting an
+application from the corners of the widget.
+
+.. image:: appchooser.png
+ :width: 400
+ :alt: Application Chooser Screenshot
diff --git a/examples/widgets/animation/easing/doc/easing.png b/examples/widgets/animation/easing/doc/easing.png
new file mode 100644
index 000000000..f310fa1b3
--- /dev/null
+++ b/examples/widgets/animation/easing/doc/easing.png
Binary files differ
diff --git a/examples/widgets/animation/easing/doc/easing.rst b/examples/widgets/animation/easing/doc/easing.rst
new file mode 100644
index 000000000..5061319db
--- /dev/null
+++ b/examples/widgets/animation/easing/doc/easing.rst
@@ -0,0 +1,9 @@
+Easing Example
+==============
+
+The Easing Curves example shows how to use easing curves to control the speed
+of an animation.
+
+.. image:: easing.png
+ :width: 400
+ :alt: Easing Screenshot
diff --git a/examples/widgets/animation/states/doc/states.png b/examples/widgets/animation/states/doc/states.png
new file mode 100644
index 000000000..37fb0c3c9
--- /dev/null
+++ b/examples/widgets/animation/states/doc/states.png
Binary files differ
diff --git a/examples/widgets/animation/states/doc/states.rst b/examples/widgets/animation/states/doc/states.rst
new file mode 100644
index 000000000..440becced
--- /dev/null
+++ b/examples/widgets/animation/states/doc/states.rst
@@ -0,0 +1,8 @@
+States Example
+==============
+
+The States example shows how to use the Qt state machine to play animations.
+
+.. image:: states.png
+ :width: 400
+ :alt: States Screenshot
diff --git a/examples/widgets/codeeditor/doc/codeeditor.png b/examples/widgets/codeeditor/doc/codeeditor.png
new file mode 100644
index 000000000..e3def6b04
--- /dev/null
+++ b/examples/widgets/codeeditor/doc/codeeditor.png
Binary files differ
diff --git a/examples/widgets/codeeditor/doc/codeeditor.rst b/examples/widgets/codeeditor/doc/codeeditor.rst
new file mode 100644
index 000000000..16345eaa3
--- /dev/null
+++ b/examples/widgets/codeeditor/doc/codeeditor.rst
@@ -0,0 +1,9 @@
+Code Editor Example
+===================
+
+The Code Editor example shows how to create a simple editor that has line
+numbers and that highlights the current line.
+
+.. image:: painter.png
+ :width: 400
+ :alt: Code Editor Screenshot
diff --git a/examples/widgets/itemviews/addressbook/adddialogwidget.py b/examples/widgets/itemviews/address_book/adddialogwidget.py
index 1462711a8..1462711a8 100644
--- a/examples/widgets/itemviews/addressbook/adddialogwidget.py
+++ b/examples/widgets/itemviews/address_book/adddialogwidget.py
diff --git a/examples/widgets/itemviews/addressbook/addressbook.py b/examples/widgets/itemviews/address_book/address_book.py
index 89518f63e..89518f63e 100644
--- a/examples/widgets/itemviews/addressbook/addressbook.py
+++ b/examples/widgets/itemviews/address_book/address_book.py
diff --git a/examples/widgets/itemviews/address_book/address_book.pyproject b/examples/widgets/itemviews/address_book/address_book.pyproject
new file mode 100644
index 000000000..1b5dd597c
--- /dev/null
+++ b/examples/widgets/itemviews/address_book/address_book.pyproject
@@ -0,0 +1,4 @@
+{
+ "files": ["tablemodel.py", "address_book.py", "adddialogwidget.py",
+ "addresswidget.py", "newaddresstab.py"]
+}
diff --git a/examples/widgets/itemviews/addressbook/addresswidget.py b/examples/widgets/itemviews/address_book/addresswidget.py
index f0778d19f..f0778d19f 100644
--- a/examples/widgets/itemviews/addressbook/addresswidget.py
+++ b/examples/widgets/itemviews/address_book/addresswidget.py
diff --git a/examples/widgets/itemviews/address_book/doc/address_book.png b/examples/widgets/itemviews/address_book/doc/address_book.png
new file mode 100644
index 000000000..40f2d9e63
--- /dev/null
+++ b/examples/widgets/itemviews/address_book/doc/address_book.png
Binary files differ
diff --git a/examples/widgets/itemviews/address_book/doc/address_book.rst b/examples/widgets/itemviews/address_book/doc/address_book.rst
new file mode 100644
index 000000000..04b91054e
--- /dev/null
+++ b/examples/widgets/itemviews/address_book/doc/address_book.rst
@@ -0,0 +1,9 @@
+Address Book Example
+====================
+
+The address book example shows how to use proxy models to display different
+views onto data from a single model.
+
+.. image:: address_book.png
+ :width: 400
+ :alt: Address Book Screenshot
diff --git a/examples/widgets/itemviews/addressbook/newaddresstab.py b/examples/widgets/itemviews/address_book/newaddresstab.py
index 407c48aec..407c48aec 100644
--- a/examples/widgets/itemviews/addressbook/newaddresstab.py
+++ b/examples/widgets/itemviews/address_book/newaddresstab.py
diff --git a/examples/widgets/itemviews/addressbook/tablemodel.py b/examples/widgets/itemviews/address_book/tablemodel.py
index fc1a65e1c..fc1a65e1c 100644
--- a/examples/widgets/itemviews/addressbook/tablemodel.py
+++ b/examples/widgets/itemviews/address_book/tablemodel.py
diff --git a/examples/widgets/itemviews/addressbook/addressbook.pyproject b/examples/widgets/itemviews/addressbook/addressbook.pyproject
deleted file mode 100644
index 2aa763753..000000000
--- a/examples/widgets/itemviews/addressbook/addressbook.pyproject
+++ /dev/null
@@ -1,4 +0,0 @@
-{
- "files": ["tablemodel.py", "addressbook.py", "adddialogwidget.py",
- "addresswidget.py", "newaddresstab.py"]
-}
diff --git a/examples/widgets/itemviews/jsonmodel/doc/jsonmodel.png b/examples/widgets/itemviews/jsonmodel/doc/jsonmodel.png
new file mode 100644
index 000000000..8b5c8d0c3
--- /dev/null
+++ b/examples/widgets/itemviews/jsonmodel/doc/jsonmodel.png
Binary files differ
diff --git a/examples/widgets/itemviews/jsonmodel/doc/jsonmodel.rst b/examples/widgets/itemviews/jsonmodel/doc/jsonmodel.rst
new file mode 100644
index 000000000..d5e2831bf
--- /dev/null
+++ b/examples/widgets/itemviews/jsonmodel/doc/jsonmodel.rst
@@ -0,0 +1,8 @@
+JSON Model Example
+==================
+
+Simple example to visualize the values of a JSON file.
+
+.. image:: jsonmodel.png
+ :width: 400
+ :alt: JSON Model Screenshot
diff --git a/examples/widgets/layouts/basiclayouts/doc/basiclayouts.png b/examples/widgets/layouts/basiclayouts/doc/basiclayouts.png
new file mode 100644
index 000000000..e3b8537cd
--- /dev/null
+++ b/examples/widgets/layouts/basiclayouts/doc/basiclayouts.png
Binary files differ
diff --git a/examples/widgets/layouts/basiclayouts/doc/basiclayouts.rst b/examples/widgets/layouts/basiclayouts/doc/basiclayouts.rst
new file mode 100644
index 000000000..caf04d428
--- /dev/null
+++ b/examples/widgets/layouts/basiclayouts/doc/basiclayouts.rst
@@ -0,0 +1,9 @@
+Basic Layouts Example
+=====================
+
+Basic Layouts shows how to use the standard layout managers that are available
+in Qt Widgets: QBoxLayout, QGridLayout, and QFormLayout.
+
+.. image:: basiclayouts.png
+ :width: 400
+ :alt: Basic Layouts Screenshot
diff --git a/examples/widgets/layouts/dynamiclayouts/doc/dynamiclayouts.png b/examples/widgets/layouts/dynamiclayouts/doc/dynamiclayouts.png
new file mode 100644
index 000000000..505a328b3
--- /dev/null
+++ b/examples/widgets/layouts/dynamiclayouts/doc/dynamiclayouts.png
Binary files differ
diff --git a/examples/widgets/layouts/dynamiclayouts/doc/dynamiclayouts.rst b/examples/widgets/layouts/dynamiclayouts/doc/dynamiclayouts.rst
new file mode 100644
index 000000000..67179bf44
--- /dev/null
+++ b/examples/widgets/layouts/dynamiclayouts/doc/dynamiclayouts.rst
@@ -0,0 +1,10 @@
+Dynamic Layouts Example
+=======================
+
+Dynamic Layouts implements dynamically placed widgets within running
+applications. The widget placement depends on whether Horizontal or Vertical is
+chosen.
+
+.. image:: basiclayouts.png
+ :width: 400
+ :alt: Dynamic Layouts Screenshot
diff --git a/examples/widgets/layouts/flowlayout/doc/flowlayout.png b/examples/widgets/layouts/flowlayout/doc/flowlayout.png
new file mode 100644
index 000000000..7dece0611
--- /dev/null
+++ b/examples/widgets/layouts/flowlayout/doc/flowlayout.png
Binary files differ
diff --git a/examples/widgets/layouts/flowlayout/doc/flowlayout.rst b/examples/widgets/layouts/flowlayout/doc/flowlayout.rst
new file mode 100644
index 000000000..b138165fe
--- /dev/null
+++ b/examples/widgets/layouts/flowlayout/doc/flowlayout.rst
@@ -0,0 +1,11 @@
+Flow Layout Example
+===================
+
+Flow Layout implements a layout that handles different window sizes
+in a Qt Widgets application.
+The widget placement changes depending on the width of the application
+window.
+
+.. image:: flowlayout.png
+ :width: 400
+ :alt: Flow Layout Screenshot
diff --git a/examples/widgets/mainwindows/dockwidgets/doc/dockwidgets.png b/examples/widgets/mainwindows/dockwidgets/doc/dockwidgets.png
new file mode 100644
index 000000000..bd7c27cfd
--- /dev/null
+++ b/examples/widgets/mainwindows/dockwidgets/doc/dockwidgets.png
Binary files differ
diff --git a/examples/widgets/mainwindows/dockwidgets/doc/dockwidgets.rst b/examples/widgets/mainwindows/dockwidgets/doc/dockwidgets.rst
new file mode 100644
index 000000000..0e3a15c0d
--- /dev/null
+++ b/examples/widgets/mainwindows/dockwidgets/doc/dockwidgets.rst
@@ -0,0 +1,9 @@
+Dock Widget Example
+===================
+
+The Dock Widgets example shows how to add dock windows to an application. It
+also shows how to use Qt's rich text engine.
+
+.. image:: dockwidgets.png
+ :width: 400
+ :alt: Dock Widgets Screenshot
diff --git a/examples/widgets/painting/basicdrawing/doc/basicdrawing.png b/examples/widgets/painting/basicdrawing/doc/basicdrawing.png
new file mode 100644
index 000000000..30be31724
--- /dev/null
+++ b/examples/widgets/painting/basicdrawing/doc/basicdrawing.png
Binary files differ
diff --git a/examples/widgets/painting/basicdrawing/doc/basicdrawing.rst b/examples/widgets/painting/basicdrawing/doc/basicdrawing.rst
new file mode 100644
index 000000000..26aa8c997
--- /dev/null
+++ b/examples/widgets/painting/basicdrawing/doc/basicdrawing.rst
@@ -0,0 +1,15 @@
+Basic Drawing Example
+=====================
+
+The Basic Drawing example shows how to display basic graphics primitives in
+a variety of styles using the QPainter class.
+
+QPainter performs low-level painting on widgets and other paint devices. The
+class can draw everything from simple lines to complex shapes like pies and
+chords. It can also draw aligned text and pixmaps. Normally, it draws in
+a "natural" coordinate system, but it can in addition do view and world
+transformation.
+
+.. image:: stardelegate.png
+ :width: 400
+ :alt: Basic Drawing Screenshot
diff --git a/examples/widgets/painting/concentriccircles/doc/concentriccircles.png b/examples/widgets/painting/concentriccircles/doc/concentriccircles.png
new file mode 100644
index 000000000..69ea16825
--- /dev/null
+++ b/examples/widgets/painting/concentriccircles/doc/concentriccircles.png
Binary files differ
diff --git a/examples/widgets/painting/concentriccircles/doc/concentriccircles.rst b/examples/widgets/painting/concentriccircles/doc/concentriccircles.rst
new file mode 100644
index 000000000..6c1efe0c5
--- /dev/null
+++ b/examples/widgets/painting/concentriccircles/doc/concentriccircles.rst
@@ -0,0 +1,12 @@
+Concentric Circles Examples
+===========================
+
+Demonstrates the improved quality that antialiasing and floating point
+precision gives.
+
+The application's main window displays several widgets which are drawn using
+the various combinations of precision and anti-aliasing.
+
+.. image:: concentriccircles.png
+ :width: 400
+ :alt: Concentric Circles Screenshot
diff --git a/examples/widgets/painting/painter/doc/painter.png b/examples/widgets/painting/painter/doc/painter.png
new file mode 100644
index 000000000..991d2703d
--- /dev/null
+++ b/examples/widgets/painting/painter/doc/painter.png
Binary files differ
diff --git a/examples/widgets/painting/painter/doc/painter.rst b/examples/widgets/painting/painter/doc/painter.rst
new file mode 100644
index 000000000..69e75a789
--- /dev/null
+++ b/examples/widgets/painting/painter/doc/painter.rst
@@ -0,0 +1,8 @@
+Painter Example
+===============
+
+Simple painter application based on Qt Widgets.
+
+.. image:: painter.png
+ :width: 400
+ :alt: Painter Screenshot
diff --git a/examples/widgets/richtext/syntaxhighlighter/doc/syntaxhighlighter.png b/examples/widgets/richtext/syntaxhighlighter/doc/syntaxhighlighter.png
new file mode 100644
index 000000000..37b13b128
--- /dev/null
+++ b/examples/widgets/richtext/syntaxhighlighter/doc/syntaxhighlighter.png
Binary files differ
diff --git a/examples/widgets/richtext/syntaxhighlighter/doc/syntaxhighlighter.rst b/examples/widgets/richtext/syntaxhighlighter/doc/syntaxhighlighter.rst
new file mode 100644
index 000000000..d088ffd13
--- /dev/null
+++ b/examples/widgets/richtext/syntaxhighlighter/doc/syntaxhighlighter.rst
@@ -0,0 +1,8 @@
+Syntax Highlighter Example
+==========================
+
+The Syntax Highlighter example shows how to perform simple syntax highlighting.
+
+.. image:: syntaxhighlighter.png
+ :width: 400
+ :alt: Syntax Highlighter Screenshot
diff --git a/examples/widgets/richtext/textedit/doc/textedit.png b/examples/widgets/richtext/textedit/doc/textedit.png
new file mode 100644
index 000000000..e0e681f35
--- /dev/null
+++ b/examples/widgets/richtext/textedit/doc/textedit.png
Binary files differ
diff --git a/examples/widgets/richtext/textedit/doc/textedit.rst b/examples/widgets/richtext/textedit/doc/textedit.rst
new file mode 100644
index 000000000..2c8bc3232
--- /dev/null
+++ b/examples/widgets/richtext/textedit/doc/textedit.rst
@@ -0,0 +1,8 @@
+TextEdit Example
+================
+
+The Text Edit example shows Qt's rich text editing facilities in action.
+
+.. image:: textedit.png
+ :width: 400
+ :alt: TextEdit Screenshot
diff --git a/examples/widgets/richtext/textobject/doc/textobject.png b/examples/widgets/richtext/textobject/doc/textobject.png
new file mode 100644
index 000000000..ebd2e6f7b
--- /dev/null
+++ b/examples/widgets/richtext/textobject/doc/textobject.png
Binary files differ
diff --git a/examples/widgets/richtext/textobject/doc/textobject.rst b/examples/widgets/richtext/textobject/doc/textobject.rst
new file mode 100644
index 000000000..d5a1e253a
--- /dev/null
+++ b/examples/widgets/richtext/textobject/doc/textobject.rst
@@ -0,0 +1,31 @@
+TextObject Example
+==================
+
+A QTextDocument consists of a hierarchy of elements, such as text blocks and
+frames. A text object describes the structure or format of one or more of these
+elements. For instance, images imported from HTML are implemented using text
+objects. Text objects are used by the document's layout to lay out and render
+(paint) the document. Each object knows how to paint the elements they govern,
+and calculates their size.
+
+To be able to insert an SVG image into a text document, we create a text
+object, and implement painting for that object. This object can then be set on
+a QTextCharFormat. We also register the text object with the layout of the
+document, enabling it to draw QTextCharFormats governed by our text object. We
+can summarize the procedure with the following steps:
+
+ * Implement the text object.
+ * Register the text object with the layout of the text document.
+ * Set the text object on a QTextCharFormat.
+ * Insert a QChar::ObjectReplacementCharacter with that text char format into
+ the document.
+
+The example consists of the following classes:
+
+ * SvgTextObject implements the text object.
+ * Window shows a QTextEdit into which SVG images can be inserted.
+
+
+.. image:: textobject.png
+ :width: 400
+ :alt: TextObject Screenshot
diff --git a/examples/widgets/state-machine/trafficlight/doc/trafficlight.png b/examples/widgets/state-machine/trafficlight/doc/trafficlight.png
new file mode 100644
index 000000000..ec88a8e8b
--- /dev/null
+++ b/examples/widgets/state-machine/trafficlight/doc/trafficlight.png
Binary files differ
diff --git a/examples/widgets/state-machine/trafficlight/doc/trafficlight.rst b/examples/widgets/state-machine/trafficlight/doc/trafficlight.rst
new file mode 100644
index 000000000..57d369465
--- /dev/null
+++ b/examples/widgets/state-machine/trafficlight/doc/trafficlight.rst
@@ -0,0 +1,10 @@
+Traffic Light Example
+=====================
+
+The Traffic Light example shows how to use The State Machine Framework to
+implement the control flow of a traffic light.
+
+
+.. image:: trafficlight.png
+ :width: 400
+ :alt: Traffic Light Screenshot
diff --git a/examples/widgets/tutorials/addressbook/doc/addressbook.png b/examples/widgets/tutorials/addressbook/doc/addressbook.png
new file mode 100644
index 000000000..7d563c17c
--- /dev/null
+++ b/examples/widgets/tutorials/addressbook/doc/addressbook.png
Binary files differ
diff --git a/examples/widgets/tutorials/addressbook/doc/addressbook.rst b/examples/widgets/tutorials/addressbook/doc/addressbook.rst
new file mode 100644
index 000000000..646d949d2
--- /dev/null
+++ b/examples/widgets/tutorials/addressbook/doc/addressbook.rst
@@ -0,0 +1,9 @@
+Address Book Example
+====================
+
+The address book example shows how to use proxy models to display different
+views onto data from a single model.
+
+.. image:: addressbook.png
+ :width: 400
+ :alt: Address Book Screenshot
diff --git a/examples/widgets/tutorials/cannon/doc/cannon.png b/examples/widgets/tutorials/cannon/doc/cannon.png
new file mode 100644
index 000000000..1bdc9db88
--- /dev/null
+++ b/examples/widgets/tutorials/cannon/doc/cannon.png
Binary files differ
diff --git a/examples/widgets/tutorials/cannon/doc/cannon.rst b/examples/widgets/tutorials/cannon/doc/cannon.rst
new file mode 100644
index 000000000..da7cc556b
--- /dev/null
+++ b/examples/widgets/tutorials/cannon/doc/cannon.rst
@@ -0,0 +1,8 @@
+Cannon Example
+==============
+
+Simple Cannon example.
+
+.. image:: cannon.png
+ :width: 400
+ :alt: Cannon Screenshot