diff options
| author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2022-09-15 15:59:12 +0200 |
|---|---|---|
| committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2022-09-16 14:13:37 +0200 |
| commit | d59bc5fecc27a4ada48834783ec5f739b6037a09 (patch) | |
| tree | e9dc0a92098fa53d1e3862bc8abc8147359d65bc /examples/gui/analogclock/doc/analogclock.rst | |
| parent | cf32b66adbfb489cd6e5d5c0bf3f741b59ba204c (diff) | |
Add the QtGui analogclock example
Uses the ready-made QRasterWindow instead of the QWindow with backing
store of the C++ version for simplicity.
Task-number: PYSIDE-841
Change-Id: Ib0146b1563405b97f694cc53b382c1188061d6af
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Diffstat (limited to 'examples/gui/analogclock/doc/analogclock.rst')
| -rw-r--r-- | examples/gui/analogclock/doc/analogclock.rst | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/examples/gui/analogclock/doc/analogclock.rst b/examples/gui/analogclock/doc/analogclock.rst new file mode 100644 index 000000000..a1ede41dd --- /dev/null +++ b/examples/gui/analogclock/doc/analogclock.rst @@ -0,0 +1,8 @@ +Analog Clock Window Example +=========================== + +The Analog Clock Window example shows how to draw the contents of +a custom window. + +This example demonstrates how the transformation and scaling +features of QPainter can be used to make drawing easier. |
