Qt-py

Latest version: v1.1.0

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

Scan your dependencies

Page 3 of 5

1.0.0.b6

QtSiteConfig.py

Individual members of Qt.py may now be customised via an additional module called `QtSiteConfig.py`. For example, one could remove `QtCore` if for whatever reason it shouldn't be used at all, or add site-specific modules like [`Qsci`](http://pyqt.sourceforge.net/Docs/QScintilla2/).

- [Documentation](https://github.com/mottosso/Qt.pyqtsiteconfigpy)
- [Original pull-request](https://github.com/mottosso/Qt.py/pull/207)

Thanks to MHendricks for this feature!

1.0.0.b5

Added support for binding constants.

python
import Qt

Before
if Qt.__binding__ == "PyQt5":
Do PyQt5 things

After
if Qt.IsPyQt5:
Do PyQt5 things


Which in addition to cutting down on typed characters also enables your IDE to detect potential misspellings. The previous method still exists and continues to work, there are no plans to deprecate it.

Thanks to dgovil for this feature!

1.0.0.b4

Added support for `baseinstance` to `QtCompat.loadUi()`.

python
QtCompat.loadUi(uifile="my.ui", baseinstance=QtWidgets.QWidget)


This feature mimics the functionality (warts and all) of `PyQt5.uic.loadUi` found [here](http://pyqt.sourceforge.net/Docs/PyQt5/designer.htmlPyQt5.uic.loadUi).

- [Documentation](https://github.com/mottosso/Qt.pyloading-qt-designer-files)
- See 196 for more details.

Thanks to dgovil for this feature!

1.0.0.b3

**Beta** release of 179.

python
Before
from Qt import QtCompat
QtCompat.load_ui(...)

After
from Qt import QtCompat
QtCompat.loadUi(...)


This is backwards compatible, `QtCompat.load_ui` will continue to be available but is to be considered deprecated.

See 177

1.0.0.b2

**Beta** release of 185.

- See 186 for details.

1.0.0b1

**Beta** release of 152, an enforced PySide2 API.

- See 173 for more details.

Page 3 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.