diff --git a/Qt.py b/Qt.py index e024a4a..d376834 100644 --- a/Qt.py +++ b/Qt.py @@ -371,6 +371,8 @@ "QSvgGenerator", "QSvgRenderer" ], + "QtSvgWidgets": [ + ], "QtTest": [ "QTest" ], @@ -963,6 +965,7 @@ def createWidget(self, class_name, parent=None, name=""): "QtCompat.qInstallMessageHandler", _qInstallMessageHandler ], "QtWidgets.QStyleOptionViewItem": "QtCompat.QStyleOptionViewItemV4", + "QtSvgWidgets.QSvgWidget": "QtSvgWidgets.QSvgWidget", }, "PySide2": { "QtWidgets.QUndoCommand": "QtWidgets.QUndoCommand", @@ -1000,6 +1003,7 @@ def createWidget(self, class_name, parent=None, name=""): "QtCompat.qInstallMessageHandler", _qInstallMessageHandler ], "QtWidgets.QStyleOptionViewItem": "QtCompat.QStyleOptionViewItemV4", + "QtSvg.QSvgWidget": "QtSvgWidgets.QSvgWidget", }, "PyQt5": { "QtWidgets.QUndoCommand": "QtWidgets.QUndoCommand", @@ -1033,6 +1037,7 @@ def createWidget(self, class_name, parent=None, name=""): ], "QtWidgets.QShortcut": "QtWidgets.QShortcut", "QtWidgets.QStyleOptionViewItem": "QtCompat.QStyleOptionViewItemV4", + "QtSvg.QSvgWidget": "QtSvgWidgets.QSvgWidget", }, "PySide": { "QtGui.QUndoCommand": "QtWidgets.QUndoCommand", @@ -1074,6 +1079,7 @@ def createWidget(self, class_name, parent=None, name=""): "QtCompat.qInstallMessageHandler", _qInstallMessageHandler ], "QtGui.QStyleOptionViewItemV4": "QtCompat.QStyleOptionViewItemV4", + "QtSvg.QSvgWidget": "QtSvgWidgets.QSvgWidget", }, "PyQt4": { "QtGui.QUndoCommand": "QtWidgets.QUndoCommand", @@ -1116,6 +1122,7 @@ def createWidget(self, class_name, parent=None, name=""): "QtCompat.qInstallMessageHandler", _qInstallMessageHandler ], "QtGui.QStyleOptionViewItemV4": "QtCompat.QStyleOptionViewItemV4", + "QtSvg.QSvgWidget": "QtSvgWidgets.QSvgWidget", } } diff --git a/README.md b/README.md index bf236b7..183da39 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ [![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/Qt-py/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) [![Reviewed by Hound](https://img.shields.io/badge/Reviewed_by-Hound-8E64B0.svg)](https://houndci.com) -Qt.py enables you to write software that runs on any of the 4 supported bindings - PySide2, PyQt5, PySide and PyQt4. +Qt.py enables you to write software that runs on any of the supported bindings - PySide, PySide2, PySide6, PyQt4 and PyQt5.
@@ -608,6 +608,7 @@ python -m twine upload .\dist\* | `QtCore.Qt.MidButton` | `QtCompat.QtCore.Qt.MidButton` | `QLabel.setPixmap(str)` | `QLabel.setPixmap(QPixmap())` | Can't take a string anymore (tested in Maya 2025.0) | `QModelIndex.child` | `QModel.index` | This one is apparently from Qt 4 and should not have been in Qt.py to begin with +| `QtSvg.QSvgWidget` | `QtSvgWidgets.QSvgWidget` | Moved to QtSvgWidgets in Qt 6 | | Submit your known issues here! | ##### Removed Members