aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6/doc/porting_from2.rst
diff options
context:
space:
mode:
Diffstat (limited to 'sources/pyside6/doc/porting_from2.rst')
-rw-r--r--sources/pyside6/doc/porting_from2.rst2
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.