Skip to content

Commit 0ec9ae6

Browse files
committed
Merge branch 'master' into stubtest
2 parents 325dcdc + 811462b commit 0ec9ae6

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+656
-606
lines changed

CHANGELOG.md

Lines changed: 28 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,34 @@ All notable changes to this project will be documented in this file.
44

55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
66

7-
## 5.14.2.3 [unreleased]
7+
## 5.15.1.0 [unreleased]
88

99
### Added
10+
* [#99](https://github.com/stlehmann/PyQt5-stubs/pull/99) enable mypy's strict mode
11+
* [#92](https://github.com/stlehmann/PyQt5-stubs/pull/92) add `Sequence` methods and `.__setitem__()` to `sip.array`
12+
* [#94](https://github.com/stlehmann/PyQt5-stubs/pull/94) add several operators to `QIODevice.OpenMode` and `QIODevice.OpenModeFlag`
13+
* [#93](https://github.com/stlehmann/PyQt5-stubs/pull/93) test against 3.5, 3.6, 3.7, 3.8, and 3.9
14+
* [#71](https://github.com/stlehmann/PyQt5-stubs/pull/71) update to PyQt5 5.15.1
15+
* [#56](https://github.com/stlehmann/PyQt5-stubs/pull/56) adds `pyqtBoundSignal.__getitem__()` allowing for indexing
16+
* [#51](https://github.com/stlehmann/PyQt5-stubs/pull/51) adds `pyqtBoundSignal.signal` hinted as `str`
1017

1118
### Changed
12-
* [#50](https://github.com/stlehmann/PyQt5-stubs/pull/50) fixes QTest QAbstractItemModelTester.FailureReportingMode attributes
13-
* [#46](https://github.com/stlehmann/PyQt5-stubs/pull/46) fixes QCoreApplication and QObject signals
14-
* [#48](https://github.com/stlehmann/PyQt5-stubs/pull/48) fixes some signals for QClipBoard, QWindows, QQuickView and QQml{Application,}Engine
15-
* [#49](https://github.com/stlehmann/PyQt5-stubs/pull/49) fixes QAbstractItemView.setModel to accept None
19+
* [#102](https://github.com/stlehmann/PyQt5-stubs/pull/102) fix `pyqtSlot` parameter typing and overloads
20+
* [#104](https://github.com/stlehmann/PyQt5-stubs/pull/104) `sip.voidptr` handles integer values and sequences and takes `self`
21+
* [#103](https://github.com/stlehmann/PyQt5-stubs/pull/103) `pyqtBoundSignal.disconnect()`'s `slot` parameter is optional
22+
* [#100](https://github.com/stlehmann/PyQt5-stubs/pull/100) fill generic parameter as `sip.array[int]` for QtDataVisualization textures
23+
* [#92](https://github.com/stlehmann/PyQt5-stubs/pull/92) remove self from `qDefaultSurfaceFormat()` and `qIdForNode()`
24+
* [#83](https://github.com/stlehmann/PyQt5-stubs/pull/83) fixes `sip.array` to be generic
25+
* [#79](https://github.com/stlehmann/PyQt5-stubs/pull/79) fixes extra class layer in several modules
26+
* [#57](https://github.com/stlehmann/PyQt5-stubs/pull/57) fixes `PYQT_SLOT` to allow callables returning any object
27+
* [#56](https://github.com/stlehmann/PyQt5-stubs/pull/56) fixes `pyqtSignal` as a descriptor and moves `.emit()`, `.connect()`, and `.disconnect()` to `pyqtBoundSignal`
28+
* [#54](https://github.com/stlehmann/PyQt5-stubs/pull/54) fixes `pyqtSignal.connect()` and `pyqtSignal.disconnect()` to support `QMetaObject.Connection`
29+
* [#59](https://github.com/stlehmann/PyQt5-stubs/pull/59) fixes `QGuiApplication.lastWindowClosed` to be a signal
30+
* [#58](https://github.com/stlehmann/PyQt5-stubs/pull/50) improves `QObject.findChild` and `QObject.findChildren`
31+
* [#50](https://github.com/stlehmann/PyQt5-stubs/pull/50) fixes `QAbstractItemModelTester.FailureReportingMode` attributes
32+
* [#46](https://github.com/stlehmann/PyQt5-stubs/pull/46) fixes `QCoreApplication` and `QObject` signals
33+
* [#48](https://github.com/stlehmann/PyQt5-stubs/pull/48) fixes some signals for `QClipBoard`, `QWindows`, `QQuickView`, `QQmlApplicationEngine` and `QQmlEngine`
34+
* [#49](https://github.com/stlehmann/PyQt5-stubs/pull/49) fixes `QAbstractItemView.setModel()` to accept `None`
1635

1736
### Removed
1837

@@ -21,18 +40,17 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
2140
### Added
2241

2342
### Changed
24-
* [#43](https://github.com/stlehmann/PyQt5-stubs/pull/43) Update stubs to PyQt5.14.2
43+
* [#43](https://github.com/stlehmann/PyQt5-stubs/pull/43) Update stubs to PyQt5 5.14.2
2544

2645
### Removed
2746

2847
## 5.14.2.1
2948

3049
### Added
3150
* [#39](https://github.com/stlehmann/PyQt5-stubs/pull/39) Add this changelog file
32-
* [#36](https://github.com/stlehmann/PyQt5-stubs/pull/36), [#41](https://github.com/stlehmann/PyQt5-stubs/pull/41
33-
) New build script for upstream stubs includes extra
34-
packages
35-
like QtWebEngine and Qt3D
51+
* [#36](https://github.com/stlehmann/PyQt5-stubs/pull/36),
52+
[#41](https://github.com/stlehmann/PyQt5-stubs/pull/41)
53+
New build script for upstream stubs includes extra packages like `QtWebEngine` and `Qt3D`
3654

3755
### Changed
3856
* [#38](https://github.com/stlehmann/PyQt5-stubs/pull/38) Changed license to GPLv3 to be compilient with PyQt5 license

PyQt5-stubs/Qt3DAnimation.pyi

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ from PyQt5 import Qt3DCore
3232
import datetime
3333

3434
# Convenient type aliases.
35-
PYQT_SIGNAL = typing.Union[QtCore.pyqtSignal, QtCore.pyqtBoundSignal]
3635
PYQT_SLOT = typing.Union[typing.Callable[..., None], QtCore.pyqtBoundSignal]
3736

3837
# Convenient aliases for complicated OpenGL types.

PyQt5-stubs/Qt3DCore.pyi

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ from PyQt5 import QtCore
3030
import datetime
3131

3232
# Convenient type aliases.
33-
PYQT_SIGNAL = typing.Union[QtCore.pyqtSignal, QtCore.pyqtBoundSignal]
3433
PYQT_SLOT = typing.Union[typing.Callable[..., None], QtCore.pyqtBoundSignal]
3534

3635
# Convenient aliases for complicated OpenGL types.

PyQt5-stubs/Qt3DExtras.pyi

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ from PyQt5 import Qt3DCore
3333
import datetime
3434

3535
# Convenient type aliases.
36-
PYQT_SIGNAL = typing.Union[QtCore.pyqtSignal, QtCore.pyqtBoundSignal]
3736
PYQT_SLOT = typing.Union[typing.Callable[..., None], QtCore.pyqtBoundSignal]
3837

3938
# Convenient aliases for complicated OpenGL types.

PyQt5-stubs/Qt3DInput.pyi

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ from PyQt5 import Qt3DCore
3131
import datetime
3232

3333
# Convenient type aliases.
34-
PYQT_SIGNAL = typing.Union[QtCore.pyqtSignal, QtCore.pyqtBoundSignal]
3534
PYQT_SLOT = typing.Union[typing.Callable[..., None], QtCore.pyqtBoundSignal]
3635

3736
# Convenient aliases for complicated OpenGL types.

PyQt5-stubs/Qt3DLogic.pyi

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ from PyQt5 import Qt3DCore
3030
import datetime
3131

3232
# Convenient type aliases.
33-
PYQT_SIGNAL = typing.Union[QtCore.pyqtSignal, QtCore.pyqtBoundSignal]
3433
PYQT_SLOT = typing.Union[typing.Callable[..., None], QtCore.pyqtBoundSignal]
3534

3635
# Convenient aliases for complicated OpenGL types.

PyQt5-stubs/Qt3DRender.pyi

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ from PyQt5 import Qt3DCore
3131
import datetime
3232

3333
# Convenient type aliases.
34-
PYQT_SIGNAL = typing.Union[QtCore.pyqtSignal, QtCore.pyqtBoundSignal]
3534
PYQT_SLOT = typing.Union[typing.Callable[..., None], QtCore.pyqtBoundSignal]
3635

3736
# Convenient aliases for complicated OpenGL types.

PyQt5-stubs/QtBluetooth.pyi

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ from PyQt5 import QtCore
2929
import datetime
3030

3131
# Convenient type aliases.
32-
PYQT_SIGNAL = typing.Union[QtCore.pyqtSignal, QtCore.pyqtBoundSignal]
3332
PYQT_SLOT = typing.Union[typing.Callable[..., None], QtCore.pyqtBoundSignal]
3433

3534

PyQt5-stubs/QtChart.pyi

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ from PyQt5 import QtCore
3131
import datetime
3232

3333
# Convenient type aliases.
34-
PYQT_SIGNAL = typing.Union[QtCore.pyqtSignal, QtCore.pyqtBoundSignal]
3534
PYQT_SLOT = typing.Union[typing.Callable[..., None], QtCore.pyqtBoundSignal]
3635

3736
# Convenient aliases for complicated OpenGL types.

0 commit comments

Comments
 (0)