Qt.py
Qt.py copied to clipboard
Minimal Python 2 & 3 shim around all Qt bindings - PySide, PySide2, PyQt4 and PyQt5.
Qt.py hides many exceptions in an effort to make using it more pleasant. But it's too aggressive. Hiding things like #342 just now, and also this. ```bash root@4451f75afd4f:/# lsb_release -crd...
`QtGui.QPixmap.grabWindow` -> `QtGui.QScreen.grabWindow` `QtGui.QPixmap.grabWidget` -> `QtWidgets.QWidget.grab` It seems `grabWindow` can be remapped just fine. But I don't think `grabWidget` can be remapped to `grab` as it takes different arguments. More...
This is an attempt to fix #323. Where a UI loaded in `PySide` from a `.ui` file does not show up at the top of the parent widget as expected....
Whenever I try to create a Dialog which has an existant active parent Window, the placement of the Dialog on show (or exec_) is dependant upon the binding in question....
In all bindings you have the keyword argument `dir` for members of `QFileDialog`, but in PyQt5 it is `directory` (personally I think it's better because it doesn't redefine a built-in)....
I think I had found a bug in my previous implementation of QtCompat.translate. It should now support all cases that each binding support.
This gives me enough to port my existing `QWebView` widgets into `QWebEngineView`.
i'm having a strange issue where importing a method from a lib that had a "from Qt import QtWidgets " line, crashes sphinx with out error.... my rst file was...
i use nuke 9.0 qtpy 1.0.0.b6 have error nuke 9.0 Internal C++ object already deleted can not show ui but same code in nuke 10.0 is work。
Qt5.py
I put together a preliminary successor of Qt.py for PySide2 and PyQt5 only, an alternative being "upgrading" Qt.py itself, dropping support for Qt 4. - [Qt5.py](https://github.com/mottosso/Qt5.py) - [Initial discussion](https://github.com/mottosso/Qt.py/issues/293) Benefits...