diff options
| author | Christian Tismer <tismer@stackless.com> | 2023-06-09 13:48:44 +0200 |
|---|---|---|
| committer | Christian Tismer <tismer@stackless.com> | 2023-06-16 19:15:31 +0200 |
| commit | 9446e0c8b4711cb886c2449fd8e17dcb26e69b6b (patch) | |
| tree | 85b6e694870f1dd08fd2d84ec781fdb5190118cb /sources/pyside6/tests/QtGui/qpen_test.py | |
| parent | 2b75519adf23ba490e32659ca337b48e7ae4ec41 (diff) | |
PyEnum: Update docs and rename the option
The new Enum implementation can no longer be switched off.
Individual features can still be deselected with the
environment variable PYSIDE6_OPTION_PYTHON_ENUM which
had the name PYSIDE63_OPTION_PYTHON_ENUM before.
This change is meant for PySide 6.6 .
Task-number: PYSIDE-1735
Change-Id: Iae5b7a9d42a0d7b005dbba20201a80713ef79be9
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'sources/pyside6/tests/QtGui/qpen_test.py')
| -rw-r--r-- | sources/pyside6/tests/QtGui/qpen_test.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/pyside6/tests/QtGui/qpen_test.py b/sources/pyside6/tests/QtGui/qpen_test.py index 84df8c499..c9d57f6c7 100644 --- a/sources/pyside6/tests/QtGui/qpen_test.py +++ b/sources/pyside6/tests/QtGui/qpen_test.py @@ -26,7 +26,7 @@ class Painting(QRasterWindow): with QPainter(self) as painter: painter.setPen(Qt.NoPen) self.penFromEnum = painter.pen() - intVal = Qt.NoPen.value if sys.pyside63_option_python_enum else int(Qt.NoPen) + intVal = Qt.NoPen.value if sys.pyside6_option_python_enum else int(Qt.NoPen) painter.setPen(intVal) self.penFromInteger = painter.pen() QTimer.singleShot(20, self.close) |
