diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2021-05-28 08:08:27 +0200 |
---|---|---|
committer | Simo Fält <simo.falt@qt.io> | 2021-05-31 10:56:09 +0000 |
commit | fc376988a75ac98f10f28baa4b2898cf9f65b701 (patch) | |
tree | aa0a3c223752ac6fad6a20965b52612ce0f61bb4 | |
parent | bcd101083108864992dd6d1f7aa22acbffb34e7f (diff) |
Fixes: PYSIDE-1583
Change-Id: Id2fc50237c8c5256a280f822b4c2e1445a9b9aec
Reviewed-by: Christian Tismer <tismer@stackless.com>
(cherry picked from commit 76c6b9c85eb137670046c8bbb7e48a0d5f35edc6)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit 1fb2a176a915daedd4e7179fc9392ee362e161eb)
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
-rw-r--r-- | sources/pyside6/doc/porting_from2.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sources/pyside6/doc/porting_from2.rst b/sources/pyside6/doc/porting_from2.rst index ac4474df0..aa3e41780 100644 --- a/sources/pyside6/doc/porting_from2.rst +++ b/sources/pyside6/doc/porting_from2.rst @@ -80,9 +80,11 @@ accordingly. For example: ``QGuiApplication.primaryScreen()`` or ``QGuiApplication.screens()``. * ``QFontMetrics.width()`` has been renamed to ``horizontalAdvance()``. * ``QMouseEvent.pos()`` and ``QMouseEvent.globalPos()`` returning a ``QPoint`` + as well as ``QMouseEvent.x()`` and ``QMouseEvent.y()`` returning ``int`` are now deprecated. ``QMouseEvent.position()`` and ``QMouseEvent.globalPosition()`` returning a ``QPointF`` should be used instead. + * ``Qt.MidButton`` has been renamed to ``Qt.MiddleButton``. * ``QOpenGLVersionFunctionsFactory.get()`` instead of ``QOpenGLContext.versionFunctions()`` should be used to obtain *Open GL* functions. |