Releases: mottosso/Qt.py
0.6.8.dev1
This is a test release to attempt to produce a universal wheel.
0.6.8-test-01
This is a test release to attempt to produce a universal wheel.
0.6.7
0.6.6
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
0.6.4
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', result0.6.3
0.6.2
0.6.1
Minor refactoring.
0.6.0
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.