| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
| |
In the "eratosthenes" async example, the tick is not actually
coordinated between subroutines as claimed, update docstring to reflect
this (and streamline code slightly in the process).
Task-number: PYSIDE-769
Change-Id: I5f040b558851481355650c08ab15ac10e5b1a88c
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
(cherry picked from commit 87a9cd7472b7da57f86299dc58f0e24fc30f4878)
Reviewed-by: Christian Tismer <tismer@stackless.com>
|
|
|
|
|
|
|
|
|
|
| |
Fixing issues related to deprecated methods, Enums,
and more.
Change-Id: I07be29601f0ad257f5fcfb0a5bc4891cb7f9648c
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
(cherry picked from commit 23374ffc4215c2492d52a2d3b34c1dd7af61afb2)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
|
| |
- examples/sql/books/bookdelegate.py - removed drawFocus(). No such
attribute exists for the base classes.
- examples/charts/lineandbar/lineandbar.py - setAxisX() and setAxisY()
are deprecated. The example is now aligned more with the C++ example.
Change-Id: Iddf4f27db06ee574e1e849c753577c43224a9dc7
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
(cherry picked from commit d157e66967f5749ee9bf207223566215c070217e)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
| |
Remove the duplicated signals and fix the signal emission.
Task-number: PYSIDE-2070
Change-Id: I6020d0d3b971de699ace9da5332a5e173c1fba8f
Reviewed-by: Christian Tismer <tismer@stackless.com>
(cherry picked from commit c27712c48fead285a57bb0ba24186f28f21bcbe0)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
| |
Add two examples that demonstrate how to use Qt together with an async
package (Trio).
Task-number: PYSIDE-769
Change-Id: I1514eecc0a2eb65c6bb493857d901cf8817b7b52
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
(cherry picked from commit 493afb7bef94a8c1115a200b64f1df2d3f502591)
Reviewed-by: Christian Tismer <tismer@stackless.com>
|
|
|
|
|
|
|
|
|
|
| |
Amends ea6a6abd7266900d9b0ceae1b09ce039891ae9a8.
Task-number: PYSIDE-841
Change-Id: I23f5c32ef1e9f07b6cc20d44cbb37e12850d4522
Reviewed-by: Christian Tismer <tismer@stackless.com>
(cherry picked from commit c431daa37d3a9684d10ba2cd1f130910b65fcc9a)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
| |
- The example used the old way of registering the Qml type using the
qmlRegisterType(). This is now updated to use the @QmlElement
decorator. This would also make it work with pyside6-qml.
Change-Id: I97e5233331f01fcaa58ca8d6ffa9d978d6d31e91
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
(cherry picked from commit c662c744cf91f966dbc072afc6d433dbfed380fb)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
| |
It is useful for testing Drag and Drop operations.
Task-number: PYSIDE-841
Change-Id: I5cd6fa20542676317223d6acfdc938d286b4347f
Reviewed-by: Christian Tismer <tismer@stackless.com>
(cherry picked from commit 9463a8fcf78a77305e8a255e5c2f2b68d2b52b6e)
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
This works after changing Enum to allow missing values.
Task-number: PYSIDE-841
Change-Id: I29f145280a19a06a9586c4f240a22dc2a7b2fe19
Reviewed-by: Christian Tismer <tismer@stackless.com>
(cherry picked from commit a02fcec1bc05f6bd596be0f9409fb9cd51a18e35)
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
|
|
|
|
|
|
| |
Task-number: PYSIDE-841
Change-Id: If98b9b5356b325954fde10a712877b64625cf23c
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
(cherry picked from commit ea6a6abd7266900d9b0ceae1b09ce039891ae9a8)
|
|
|
|
|
|
|
|
|
|
| |
Amends 89e5d35c0f002fcb1aac3b1205402ce306074255.
Task-number: PYSIDE-1984
Change-Id: I09e74d2c3494ea263f988492cc09b2270137ad6a
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
(cherry picked from commit e2598d08d9db18cd5d24a8217c435dcbe212b071)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Port the Qt Quick example "Window and Screen" to PySide. This includes a
"shared" QML module located in a sibling directory of the example.
Task-number: PYSIDE-841
Change-Id: I7c8376701390b10d8b28bbf0ad04dce7a3089b20
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
(cherry picked from commit ef8d3daa8f4d19c48e44874dd6e38a3ed4d02425)
Reviewed-by: Adrian Herrmann <adrian.herrmann@qt.io>
|
|
|
|
|
|
|
|
|
| |
Ported from C++
Task-number: PYSIDE-841
Change-Id: Ib64218925961f3d0bbd783c5bb9d8365a81e8767
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
(cherry picked from commit 0a187a3aa58d326349d6c3415a031f0f68fdb84a)
|
|
|
|
|
|
|
|
|
|
| |
Incorporates fix
ecc192d91985e93536c64d6e40604c7c8cd6c18d.
Task-number: PYSIDE-841
Change-Id: If24127be2ab78b3542777fdf691227d51e628373
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
(cherry picked from commit ba5fdf167b79444f210884aa01f484b5283ec67a)
|
|
|
|
|
|
|
|
|
|
|
| |
As unearthed by the warnings added by the logging category.
As a drive-by, fix some imports.
Task-number: PYSIDE-2033
Change-Id: I3812c705b60eb7be744c3532fcfb0e4024763885
Reviewed-by: Christian Tismer <tismer@stackless.com>
(cherry picked from commit ebfaceedf7413ce70e6ae411c821e6c3e68aa37f)
Reviewed-by: Simo Fält <simo.falt@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Rearrange initialization, fixing warning:
QtWebEngineQuick::initialize() called with QCoreApplication object already created and should be call before. This is depreciated and may fail in the future.
Change-Id: Ibb55c6b793cd961aca34eb9c0822f8567e5b933d
Reviewed-by: Adrian Herrmann <adrian.herrmann@qt.io>
Reviewed-by: Christian Tismer <tismer@stackless.com>
(cherry picked from commit b910d4fffbde3a4d6c6310acda6bf6f530c69755)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fix a problem where building the samplebinding, widgetbinding and
scriptableapplication examples would fail if the CMAKE_BUILD_TYPE
variable was not explicitly set.
Amends f9f620436058efe93d086c5214955c4d56e70e26.
Change-Id: I6fa8afc386d259a16812bd69148d6299f3b70233
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
(cherry picked from commit c9269fc4e55b467773d80cfb05739b3b11a0b35d)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
examples/widgets/graphicsview/elasticnodes/elasticnodes.py", line 132, in __init__
self.setCacheMode(self.DeviceCoordinateCache)
AttributeError: 'Node' object has no attribute 'DeviceCoordinateCache'
examples/charts/chartthemes/main.py:137: DeprecationWarning: Function: 'QXYSeries.pointsVector() const' is marked as deprecated
points = lower_series.pointsVector()
examples/charts/chartthemes/main.py:148: DeprecationWarning: Function: 'QChart.axisX(QAbstractSeries * series) const' is marked as deprecated
chart.axisX().setRange(0, self.value_count - 1)
examples/charts/percentbarchart/percentbarchart.py:46: DeprecationWarning: Function: 'QChart.setAxisX(QAbstractAxis * axis, QAbstractSeries * series)' is marked as deprecated
chart.setAxisX(axis, series)
Task-number: PYSIDE-841
Change-Id: Ifc7a539f547b5986055a56b98d59ca00c5b51e19
Reviewed-by: Christian Tismer <tismer@stackless.com>
(cherry picked from commit 81c0c6d8ca57485cdaec68474fc879416f8fbecb)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Split a helper off the snippet extraction function taking the comment
pattern and let it return a dict by id to make it possible to replace
snippets by id.
Prototypically use it for the modelview tutorial.
Fixes: PYSIDE-1984
Task-number: PYSIDE-1952
Change-Id: I05dbc3e36825761fe2968d6507880cd6f588682d
Reviewed-by: Christian Tismer <tismer@stackless.com>
(cherry picked from commit c4a266e38fe5bdce707ad6b123fa88bb4f10dff3)
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Planning to add a mechanism to extract snippets from them.
Task-number: PYSIDE-1984
Change-Id: I0277ec27cb1eea85af8a921395374fc30935c99c
Reviewed-by: Adrian Herrmann <adrian.herrmann@qt.io>
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
(cherry picked from commit b4fc1c5d81053d30a9b03fe8a0d15336f024ed7a)
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Christian Tismer <tismer@stackless.com>
|
|
|
|
|
|
|
|
|
| |
Task-number: PYSIDE-1984
Change-Id: I91eadd56d87e95c7ff440d5625e41046c0a5341b
Reviewed-by: Adrian Herrmann <adrian.herrmann@qt.io>
Reviewed-by: Christian Tismer <tismer@stackless.com>
(cherry picked from commit 89e5d35c0f002fcb1aac3b1205402ce306074255)
Reviewed-by: Simo Fält <simo.falt@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fix the samplebinding, widgetbinding and scriptableapplication examples
for debug configurations on Windows:
1. Account for the python_d executable name vs python
2. Same for the pyd file name for the binding examples (module_d.pyd
instead of module.pyd)
Change-Id: I60933e8968401e03c829b797c5bc67a4db8d115d
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
(cherry picked from commit f9f620436058efe93d086c5214955c4d56e70e26)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
| |
Port pre-existing SpreadSheet example to PySide.
Change-Id: I32d014fbd5e3e406672b6bec2465c6e41c3a6580
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
(cherry picked from commit eae788072fff001028e0c8f04babd61325125281)
|
|
|
|
|
|
|
|
|
| |
Ported from c++.
Task-number: PYSIDE-841
Change-Id: I8cac7256d38a37d2c94967fec4e9349e8b17ec6a
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
(cherry picked from commit 387c1b84b5eae22dd394aac24bc73fdcac24a7b3)
|
|
|
|
|
|
|
|
|
|
| |
example_datavisualization__surface_numpy.rst:: WARNING: image file not readable: ../surface/doc/surface_mountain.png
examples/example_declarative_referenceexamples_extended.rst:1: WARNING: malformed hyperlink target.
Change-Id: I6c935a79a27b314d4ade12f1c2983aa49aa65259
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
(cherry picked from commit 304e00b83ef6069d91f7b27fa13cbe0c8680bbc0)
Reviewed-by: Christian Tismer <tismer@stackless.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
- added setNotificationPresenter(...)
- added QtWebEngineWidgets Notifications example which uses
setNotificationPresenter
Task-number: PYSIDE-1912
Change-Id: Ib8fdf7879d6e54bcae47dcc89be6bd5a861a8846
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
(cherry picked from commit cd394249fc77063a2bd6ba7a7633fdbc10621475)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
| |
Change-Id: I55bbaeff95bc55aef6a5e13f18a42752c29f61d8
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
(cherry picked from commit b6aaca48de358b4cfb3c841f05cc82267a6b47dc)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
| |
Task-number: PYSIDE-1880
Change-Id: If7b9946578be4e32fc3b52d360b969e91e642ee3
Reviewed-by: Christian Tismer <tismer@stackless.com>
(cherry picked from commit 1c66ec42d017f61a793e1818ce2d420f93bb932d)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
| |
- Introduce a Window class to unclutter main.py
- Port to snake case naming
Task-number: PYSIDE-1880
Change-Id: I433c48904ccc9adbafceb6d51c86f551e405a10e
Reviewed-by: Christian Tismer <tismer@stackless.com>
(cherry picked from commit e64a515c2195eb945264d5d4321a1aaf3bf09a3f)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
| |
Preparing for the deprecation of QLatin1Char in 6.4.
Task-number: QTBUG-98434
Change-Id: I8bc92aa9f4e6dbfcb12d2025c5a1e760ab4f0d7f
Reviewed-by: Christian Tismer <tismer@stackless.com>
(cherry picked from commit 42666b5bab09a80a65ae8f61961985f4923b7d65)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
| |
Demonstrate how to use numpy arrays in conjunction with a
QAbstractTableModel to populate a surface graph.
Task-number: PYSIDE-1880
Change-Id: I4eeeea73c1ec1f63278d8d2cd6a740108a644d41
Reviewed-by: Christian Tismer <tismer@stackless.com>
(cherry picked from commit 7659017d479ce7ddd0d1a13f00a3569e7e33ec54)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
| |
Task-number: PYSIDE-1880
Change-Id: I7451a8ffe84e63128daf96adca67add7fcc28862
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
(cherry picked from commit 9f67a00903ac869e0e5ce9aa34b61859868e0e25)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
| |
Use Pathlib to locate the image file.
Task-number: PYSIDE-1880
Change-Id: Idc1c0b6dc3fb1f62edd63e4c6eb61c7d4940387c
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
(cherry picked from commit a0576de0804861a8c69472f012a77c0db916dbc6)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is useful for toying with the module.
Task-number: PYSIDE-1880
Task-number: PYSIDE-841
Change-Id: I08f6e920e82a58df23f4b214ae6ec074b22b63e0
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
Reviewed-by: Christian Tismer <tismer@stackless.com>
(cherry picked from commit 8488a8e80644e37f99dcffe4dba8833ddc068f4e)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
| |
Pick-to: 6.2
Change-Id: Ib53667e03a2dea2afea73a344d5749d37d59c52b
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
|
|
|
|
|
|
|
|
|
|
| |
- Use a std::shared_ptr for internal storage.
- Simplify copy and assignment.
- Fix constness of the flavor accessor
- Add ostream operator to IceCream
Pick-to: 6.2
Change-Id: I814fa14095cbb96ab5642735e16b8b50101d4771
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The original fix worked with qmake, but the cmake version
has a bug. The setting for "qt_core_library_location_dir"
was two levels too deep.
This fixes the cmake build as-is.
The next check-in removes qmake and uses Ninja.
Amends {471b05f35a9c57d7fa910cf9f11c7f5fdfbf2a93}
Task-number: PYSIDE-623
Change-Id: I288f2e9cd9479843718fa8b498ded51c9c6b140b
Pick-to: 6.2
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
[ChangeLog][PySide] A context manager for override cursors
has been added. It is now possible to write code like:
with QApplication.setOverrideCursor(Qt.WaitCursor):...
Change-Id: I443ce82389b48656f21c98df17d97e1b3b3323b5
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
|
|
|
|
|
|
|
|
| |
Ported from C++
Pick-to: 6.2
Task-number: PYSIDE-841
Change-Id: Ib1a2ab1045d4b8cff6c6a12340b05b8db59f4bad
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
|
|
|
|
|
|
|
| |
Task-number: PYSIDE-841
Task-number: PYSIDE-1836
Change-Id: Iac93418494911a22c731cecd40464183ad092bb8
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
|
|
|
|
|
| |
Task-number: PYSIDE-841
Change-Id: Ie6d991b7c58148aa2963134465aaa156343f0a42
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
|
|
|
|
|
| |
Task-number: PYSIDE-841
Change-Id: Id7fe04eec3bd6cd734a77691137d1898908b5b45
Reviewed-by: Christian Tismer <tismer@stackless.com>
|
|
|
|
|
|
|
|
|
|
| |
- create bindigns for setModifyParametersFunction
- reddit example modified to include setModifyParametersFunction()
Pick-to: 6.2
Task-number: PYSIDE-1815
Change-Id: If3573df070483f22cc46d9f95f688299e9ece420
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
|
|
|
|
|
|
|
| |
Task-number: PYSIDE-841
Task-number: PYSIDE-1709
Change-Id: I2b00665eac23fed926915f7b204df6c8cd06e51c
Reviewed-by: Christian Tismer <tismer@stackless.com>
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
|
|
|
|
|
|
|
|
| |
Task-number: PYSIDE-841
Task-number: PYSIDE-1709
Change-Id: If6e52c9f1d8d6d980727143e20de031e750607a4
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
Reviewed-by: Christian Tismer <tismer@stackless.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Not only the QPainter, but also the QMutexLocker
were not correctly modelled after PEP 343 in the
examples. Since that is now fixed, we consider the PyPy
project not as ready, but good enough to publish it.
It also turned out that people have the expectation
to use QSignalBlocker in the "as" form:
with QSignalBlocker(self.double_spin_box) as blocker:
self.double_spin_box.setValue(2.5)
https://stackoverflow.com/questions/60384734/how-to-use-qsignalblocker-in-python
But that blocker would be None.
As a side effect, QMutexLocker, QReadLocker, QWriteLocker
and QSignalBlocker were augmented with a default
__enter__ implementation that returns the locker instance.
[ChangeLog][PySide6] The Mandelbrot example needed context managers
for QPainter and QMutexLocker to work in PyPy.
Task-number: PYSIDE-535
Pick-to: 6.2
Change-Id: I2a62ca645a4fddcafbf11869f14a538141f32c39
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
In Qt, the example has been ported to use modern Open GL (shaders).
While this can still be done, it is worthwhile to also
show the use of QOpenGLVersionFunctionsFactory for legacy Open GL code.
Pick-to: 6.2
Change-Id: I5ba434bd5324bde1eec3075689f08c770329ce00
Reviewed-by: Christian Tismer <tismer@stackless.com>
|
|
|
|
|
|
|
|
| |
- Changed str to QPixmap
Pick-to: 6.2
Change-Id: I591fee0bf254e2c0c5684fc5982d5a3d57695e6d
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
|
|
|
|
|
| |
Task-number: PYSIDE-1605
Change-Id: Ieefae548195c19ba9968b48c57d48a8255ed9633
Reviewed-by: Christian Tismer <tismer@stackless.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
After the new context manager is in place, most of
the examples benefit from moving QPainter into a
`with` statement.
The comments concerning PyPy could be removed, again.
[ChangeLog][PySide6] The examples are updated to use the new
context manager for QPainter.
Task-number: PYSIDE-535
Change-Id: Idf7e1f734d549ed663383ffbb2416297ebb1e0c7
Reviewed-by: Christian Tismer <tismer@stackless.com>
|