All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog.
- #192 Add missing platform specific stubs:
- Windows specific: QAxContainer.pyi QtWinExtras.pyi QtCore.QWinEventNotifier
- MacOs X specific: QtMacExtras.pyi QtWidgets.QMacCocoaViewContainer
- #195 Add more tests based on the historical PR and issues:
- check that QTest methods are static
- check all pyqtSlot() usage
- check sip.voidptr behavior
- check sip.array[int] type
- check comparison operators for QModelIndex, QTableWidgetItem, QListWidgetItem, QTreeWidgetItem
- check QProgressDialog.setCancelButton() accepts optional None
- check signal connect() call returns a QMetaObject.Connection
- check argument for disconnect() is optional
- check QCoreApplication.instance() may return None
- #198 Corrected
QTableWidget.cellWidget()
to return an an optionalQWidget
instead of a list ofQWidgets
. - #210 Correct
QLineEdit.setValidator()
to acceptNone
for removing the validator.
- #179 update to PyQt5 5.15.6
- #176 update to PyQt5 5.15.5
- #175 catch up PyQtNetworkAuth with the 5.15.4 release
- #149 update to PyQt5 5.15.4
- #138 update to PyQt5 5.15.3
- #145 Support all implemented arithmetic operations between Qt.WindowType and Qt.WindowFlags and int
- #144 add
QTreeWidgetItem.__lt__()
to allow sorting of items in a QTreeWidget - #143 make
bytes(QByteArray())
valid by incorrectly adding.__bytes__()
until a proper solution is developed upstream - #152 add
.__or__()
forQDialogButtonBox.StandardButton
andQDialogButtonBox.StandardButtons
- #156 add operators to
QSize
andQSizeF
- #153 Support all implemented arithmetic operations for QFlags based classes in modules QtCore, QtWidgets, QtGui, QtNetwork, QtDBus, QtOpenGL, QtPrintsupport, QtSql, QtTest, QtXml
- #162 fixes all method not declared as signals
- #184 Fix missing module variable detected by latest mypy 0.930
- #183 Add missing operations on QSize
- #185 Add support for pyqtProperty()
- #189 Fix QListWidget, QTreeWidget and QTableWidget so that their respective items are now optional in many places when used as argument or return value
- #165 allow
None
as argument forQLineEdit.setText()
- #148 add
widgetResizable
parameter toQScrollArea.__init__()
andobjectName
parameter toQGroupBox.__init__()
.
- #125 on
QtWidgets.QMessageBox
, enumerators are also attributes of their enumerations - #99 enable mypy's strict mode
- #92 add
Sequence
methods and.__setitem__()
tosip.array
- #94 add several operators to
QIODevice.OpenMode
andQIODevice.OpenModeFlag
- #93 test against 3.5, 3.6, 3.7, 3.8, and 3.9
- #71 update to PyQt5 5.15.1
- #56 adds
pyqtBoundSignal.__getitem__()
allowing for indexing - #51 adds
pyqtBoundSignal.signal
hinted asstr
- #129 fixes
QThread
andQNetworkAccessManager
signals - #109
.__or__()
forQMessageBox.StandardButton
andQMessageBox.StandardButtons
- #126 fix
QCoreApplication.instance()
return type to be optional - #102 fix
pyqtSlot
parameter typing and overloads - #104
sip.voidptr
handles integer values and sequences and takesself
- #103
pyqtBoundSignal.disconnect()
'sslot
parameter is optional - #100 fill generic parameter as
sip.array[int]
for QtDataVisualization textures - #92 remove self from
qDefaultSurfaceFormat()
andqIdForNode()
- #83 fixes
sip.array
to be generic - #79 fixes extra class layer in several modules
- #57 fixes
PYQT_SLOT
to allow callables returning any object - #56 fixes
pyqtSignal
as a descriptor and moves.emit()
,.connect()
, and.disconnect()
topyqtBoundSignal
- #54 fixes
pyqtSignal.connect()
andpyqtSignal.disconnect()
to supportQMetaObject.Connection
- #59 fixes
QGuiApplication.lastWindowClosed
to be a signal - #58 improves
QObject.findChild
andQObject.findChildren
- #50 fixes
QAbstractItemModelTester.FailureReportingMode
attributes - #46 fixes
QCoreApplication
andQObject
signals - #48 fixes some signals for
QClipBoard
,QWindows
,QQuickView
,QQmlApplicationEngine
andQQmlEngine
- #49 fixes
QAbstractItemView.setModel()
to acceptNone
- #43 Update stubs to PyQt5 5.14.2
- #39 Add this changelog file
- #36,
#41
New build script for upstream stubs includes extra packages like
QtWebEngine
andQt3D
- #38 Changed license to GPLv3 to be compilient with PyQt5 license