Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Runnable with both Python3 and Python2, with both PyQt5 and PyQt4 by using Qt.py #2250

Open
wants to merge 127 commits into
base: v0.6
Choose a base branch
from

Conversation

kashikoibumi
Copy link

Runnable with both Python3 and Python2, with both PyQt5 and PyQt4 by using Qt.py.

QtPy is a compatibility layer which allows to use the code written for
PyQt5 with any python Qt binding: PyQt4, PyQt5, pyside or pyside2.

Main differences in PyQt5:

  - all widget classes are now in QtWidgets package, not QtGui;
  - QString obsoleted by unicode (sip API 2);
  - changed the way of signals connection.

Closes: Bitmessage#1191
customwidgets in ui-files and QtGui.QPen instantiation
  - added Qt API string into support request
  - finished flake8 formatting
(for simple encoding like for extended)
resolved pylint redefined-variable-type warnings,
marked autogenerated modules for skipping by pylint and flake8
on tabs "Send", "Blacklist" and "Network Status":
in qt5 it's probably true by default.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants