diff options
| author | Sacha Schutz <sacha@labsquare.org> | 2021-02-13 15:25:04 +0100 |
|---|---|---|
| committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2021-04-15 19:18:48 +0000 |
| commit | b1d79cd3f8bc536250e96bb8c930d7b27bca8f1d (patch) | |
| tree | bbb10c7032bba0f4760cb27bf65d90c50ad09428 /examples/external/matplotlib/widget3d/widget3d.py | |
| parent | de9bf5189f6871235c6aae6ec18f6431f21a00a9 (diff) | |
Add a Paintbrush like example
A widget where user can draw on a canvas with different color.
It is possible to save and load the canvas into a PNG file.
This example teaches the user how to use QPainter outside the paintEvent
using a QPixmap.
Task-number: PYSIDE-841
Change-Id: I8bbab68193894f4f5a6e101fa23fc65e6cb30864
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
(cherry picked from commit a434c1852ce3c040e2086568d7331c68b96ea38d)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'examples/external/matplotlib/widget3d/widget3d.py')
0 files changed, 0 insertions, 0 deletions
