Skip to content

Releases: mottosso/Qt.py

0.6.8.dev1

24 Nov 18:40

Choose a tag to compare

This is a test release to attempt to produce a universal wheel.

0.6.8-test-01

24 Nov 17:48

Choose a tag to compare

This is a test release to attempt to produce a universal wheel.

0.6.7

24 Nov 17:23

Choose a tag to compare

This fixes #165 where Qt.QtCompat.__binding_version__ and Qt.QtCompat.__qt_version__ would both return 0.0.0 at all times.

0.6.6

21 Nov 13:19

Choose a tag to compare

This release fixes #160, where the Qt 4 version of setSectionResizeMode had broken since 0.6.1.

The fault was on me, having wrongly interpreted setSectionResizeMode as setSectionHidden in the documentation.

Surprisingly, the CAVEATS test didn't catch it.

0.6.5

21 Nov 12:16

Choose a tag to compare

This release fixes an edgecase whereby (1) using Qt.py in conjunction with PyQt and (2) attempting to import Qt.QtCore directly causes remappings - such as pyqtSignal -> Signal - to vanish.

See #158 for details.

0.6.4

20 Nov 17:10

Choose a tag to compare

Fixed QtCompat.translate.

The argument signature is native to PySide2 and mirrors the Qt documentation as well.

# Example
import Qt

result = Qt.QtCompat.translate("CustomDialog",  # context
                               "Status",        # sourceText
                               None,            # disambiguation
                               -1)              # n

assert result == u'Status', result

0.6.3

15 Nov 21:00

Choose a tag to compare

Qt.py + LICENSE = <3

With this release, you may safely copy/paste or otherwise use the Qt.py file standalone, without the LICENSE file, and still fully comply with the (MIT) license.

Win-win!

0.6.2

31 Oct 15:30

Choose a tag to compare

No end-user changes; pure refactoring to simplify understanding and future development/contributions of the project.

0.6.1

10 Oct 07:42

Choose a tag to compare

Minor refactoring.

0.6.0

21 Sep 05:30

Choose a tag to compare

Move added functionality to QtCompat module.

# Before
import Qt
Qt.load_ui("my.ui")
Qt.__binding__ == "PyQt5"

# After
from Qt import QtCompat
QtCompat.load_ui("my.ui")
QtCompat.__binding__ == "PyQt5"

This module will contain anything that isn't remapped, but added to Qt.py. The reduces the risk of nameclashes, more explicitly points out what is unique to Qt.py while at the same time makes your code more readable via the use of the similar, but unique, module.

button = QtWidgets.QPushButton("Button")
QtCompat.load_ui(...)

Backwards compatibility is maintained

Previous members are preserved, but deprecated. You are advised to transition when you are able.