Provides an uniform layer to support PyQt5, PySide2, PyQt6, PySide6 with a single codebase
PySide6.QtWebEngineCore/QtWebEngineWidgets
(QWebEngineScrip
vs QWebEngineScript
) by @damonlynch in https://github.com/spyder-ide/qtpy/pull/455
Full Changelog: https://github.com/spyder-ide/qtpy/compare/v2.4.0...v2.4.1
path
and location
of QLibraryInfo
by @StSav012 in https://github.com/spyder-ide/qtpy/pull/420
QtGui
, QtWidgets
and QtOpenGL*
related modules by @DaelonSuzuka in https://github.com/spyder-ide/qtpy/pull/387
QDateTime.toPython
and toPyDateTime
, etc. by @StSav012 in https://github.com/spyder-ide/qtpy/pull/421
exec_
elsewhere where needed, and test them by @StSav012 in https://github.com/spyder-ide/qtpy/pull/422
QFileDialog
get*
methods by @Czaki in https://github.com/spyder-ide/qtpy/pull/433
utils.py
to _utils.py
to make it private by @StSav012 in https://github.com/spyder-ide/qtpy/pull/431
exec()
for PySide2 by @StSav012 in https://github.com/spyder-ide/qtpy/pull/438
DeprecationWarning
(CI) by @dalthviz in https://github.com/spyder-ide/qtpy/pull/443
QMenu.addAction
and QToolBar.addAction
compatible with Qt6 arguments' order by @StSav012 in https://github.com/spyder-ide/qtpy/pull/437
Qt.ItemFlags
access as Qt.ItemFlag
alias (PyQt6) by @dalthviz in https://github.com/spyder-ide/qtpy/pull/444
QDropEvent
pos
and posF
methods by @dalthviz in https://github.com/spyder-ide/qtpy/pull/445
QtWidgets.QFileDialog.Options
access as QtWidgets.QFileDialog.Option
alias (PyQt6) by @dalthviz in https://github.com/spyder-ide/qtpy/pull/448
QEnum
macro for PyQt bindings by @phil65 in https://github.com/spyder-ide/qtpy/pull/424
QFileDialog
static methods kwarg compatibility by @dalthviz in https://github.com/spyder-ide/qtpy/pull/449
PyQt
extra packages by @dalthviz in https://github.com/spyder-ide/qtpy/pull/446
Full Changelog: https://github.com/spyder-ide/qtpy/compare/v2.3.1...v2.4.0
LibraryLocation
-> LibraryPath
renaming due to deprecation with Qt6 by @StSav012 in https://github.com/spyder-ide/qtpy/pull/393
QTextStreamManipulator.exec_
on PyQt5/6 by @StSav012 in https://github.com/spyder-ide/qtpy/pull/404
QtWidgets
and QtGui
modules between Qt5 and Qt6 bindings by @StSav012 in https://github.com/spyder-ide/qtpy/pull/410
QtBindingsNotFoundError
also inherit from ImportError
by @cbrnr in https://github.com/spyder-ide/qtpy/pull/413
QSinglePointEvent
by @StSav012 in https://github.com/spyder-ide/qtpy/pull/417
Full Changelog: https://github.com/spyder-ide/qtpy/compare/v2.3.0...v2.3.1
Qsci
to the imports by @dgoeries in https://github.com/spyder-ide/qtpy/pull/372
QtPdf
and QtPdfWidgets
by @jschueller in https://github.com/spyder-ide/qtpy/pull/382
__init__
by @dalthviz / @tgwoodcock in https://github.com/spyder-ide/qtpy/pull/379
Full Changelog: https://github.com/spyder-ide/qtpy/compare/v2.2.1...v2.3.0
QUndoCommand
, provided QLineEdit.getTextMargins()
and QFontMetricsF.width()
by @random-developer in https://github.com/spyder-ide/qtpy/pull/366
self
for QtBindingsNotFoundError
definition by @dalthviz in https://github.com/spyder-ide/qtpy/pull/368
Full commits list between this release and the previous one: https://github.com/spyder-ide/qtpy/compare/v2.2.0...v2.2.1 Full Changelog: CHANGELOG.md - Version 2.2.0 (2022-08-10)
mode
argument in QTextCursor.movePosition (PySide6) by @rear1019 in https://github.com/spyder-ide/qtpy/pull/346
WEBENGINE
constant in QtWebEngineWidgets
by @ccordoba12 in https://github.com/spyder-ide/qtpy/pull/350
Methods, helpers and QtPy namespace specifics
section to the README by @dalthviz in https://github.com/spyder-ide/qtpy/pull/357
Full commits list between this release and the previous one: https://github.com/spyder-ide/qtpy/compare/v2.1.0...v2.2.0 Full Changelog: CHANGELOG.md - Version 2.2.0 (2022-08-10)
pyside2uic
UIParser.readResources
for Python 3.9 compatibility by @n-elie in https://github.com/spyder-ide/qtpy/pull/325
QWebEngineScript
support for PyQt5/6 and PySide2/6 by @EasyIsrael in https://github.com/spyder-ide/qtpy/pull/326
Qt.MidButton
on PyQt6 by @dalthviz in https://github.com/spyder-ide/qtpy/pull/328
QHeaderView
patch related files by @dalthviz in https://github.com/spyder-ide/qtpy/pull/334
mode
argument in QTextCursor.movePosition (Pyside2) by @rear1019 in https://github.com/spyder-ide/qtpy/pull/341
try order
to be PyQt5, PySide2, PyQt6, PySide6
by @dalthviz in https://github.com/spyder-ide/qtpy/pull/343
Full commits list between this release and the previous one: https://github.com/spyder-ide/qtpy/compare/v2.0.1...v2.1.0 Full Changelog: CHANGELOG.md - Version 2.1.0 (2022-05-02)
QtGui
utility function to QtCore.Qt
for PySide bindings by @dalthviz in https://github.com/spyder-ide/qtpy/pull/313
QtCore.Qt
by @dalthviz in https://github.com/spyder-ide/qtpy/pull/314
QtCharts
alias for backward compatibility with 1.x by @dalthviz in https://github.com/spyder-ide/qtpy/pull/315
Full commits list between this release and the previous one: https://github.com/spyder-ide/qtpy/compare/v2.0.0...v2.0.1 Full Changelog: CHANGELOG.md - Version 2.0.1 (2022-02-02)
QtCharts
module import and add missing skip validation for QtNetworkAuth
test with PyQt6
by @dalthviz in https://github.com/spyder-ide/qtpy/pull/260
Full commits list between this release and the previous one: https://github.com/spyder-ide/qtpy/compare/v1.11.3...v2.0.0 Full Changelog: CHANGELOG.md - Version 2.0.0 (2021-12-22)
PythonQtError
when trying to do alias for QtDataVisualization
and dev version correction by @dalthviz in https://github.com/spyder-ide/qtpy/pull/281
Full commits list between this release and the previous one: https://github.com/spyder-ide/qtpy/compare/v1.11.2...v1.11.3
Full Changelog: CHANGELOG.md - Version 1.11.3 (2021-12-03)