Pyside2-stubs

Latest version: v5.15.2.1.2

Safety actively analyzes 623343 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

5.15.2.1.2

===================
Many core improvements over previous version

* uses automatic code transforms from libcst to update all stubs at once
* add all missing signals to the stubs (many were missing)
* incorrect methods names are no longer silently ignored
* fix all QFlags values incorrectly declared as the QFlag wrapping class
* fix all method accepting a `QCursor` to accept also a `Qt.CursorShape`
* add conversion from `QByteArray` to bytes
* add `exec()` to QDialog
* fix `data()` and `setData()` to accept Qt.ItemDataRole
* add all method for operations on QFlag: `__or__`, `__xor__`, ...
* fix all method accepting a QColor to accept also a `Qt.GlobalColor`
* fix signature of `QCoreApplication.translate()`
* fix `QLabel.setAlignment()` to accept also Qt.AlignmentFlag

5.15.2.1

* fix `Signal` to make it accept method emit()
* fix `qVersion()` returns string, not bytes
* fix `QMessageBox.warning`, information, critical, question, about, aboutQt to accept None as parent argument
* fix `QProgressDialog.setCancelButton()` accepting None
* fix `QTreeWidget.topLevelItem()` returning possibly None
* fix `QMessageBox.StandardButton` or combinations
* fix `QProcess.ExitStatus` enum conversion to int
* fix `QAction.setShortcut()` to accept string as argument
* fix `QTreeWidgetItem` comparison with `<`
* fix `Signal.connect()` return value to bool instead of None
* fix `QTimer.timeout` undeclared signal
* support all `QSize` and `QSizeF` operations
* improve signature of operations on `QPolygon`
* improve `QPainter` methods which use lists of `QPoint` in entry
* improve `QObject.findChildren()` type information
* fix `QLineEdit.setText()` to accept None
* add `QDialogButtonBox.StandardButton` `__or__` operations
* fix `Slot()` argument and return value type-checking
* fix missing methods being undetected for all Qt objects
* add platform-specific stubs: QMacExtras, QWinExtras, QX11Extras

5.15.2.1.0

===================

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.