diff --git a/CHANGELOG.md b/CHANGELOG.md index 851676a9..466f89ea 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). ### Added ### Changed +* [#59](https://github.com/stlehmann/PyQt5-stubs/pull/59) fixes QGuiApplication.lastWindowClosed to be a signal * [#58](https://github.com/stlehmann/PyQt5-stubs/pull/50) improves QObject.findChild and findChildren * [#50](https://github.com/stlehmann/PyQt5-stubs/pull/50) fixes QTest QAbstractItemModelTester.FailureReportingMode attributes * [#46](https://github.com/stlehmann/PyQt5-stubs/pull/46) fixes QCoreApplication and QObject signals diff --git a/PyQt5-stubs/QtGui.pyi b/PyQt5-stubs/QtGui.pyi index 348ffb59..5759a1d0 100644 --- a/PyQt5-stubs/QtGui.pyi +++ b/PyQt5-stubs/QtGui.pyi @@ -2333,7 +2333,7 @@ class QGuiApplication(QtCore.QCoreApplication): def saveStateRequest(self, sessionManager: 'QSessionManager') -> None: ... def commitDataRequest(self, sessionManager: 'QSessionManager') -> None: ... def focusObjectChanged(self, focusObject: QtCore.QObject) -> None: ... - def lastWindowClosed(self) -> None: ... + lastWindowClosed: typing.ClassVar[QtCore.pyqtSignal] def screenAdded(self, screen: 'QScreen') -> None: ... def fontDatabaseChanged(self) -> None: ... def notify(self, a0: QtCore.QObject, a1: QtCore.QEvent) -> bool: ...