-
-
Notifications
You must be signed in to change notification settings - Fork 153
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
PR: Update Readme to mention that we now support PySide2. #114
Conversation
README.md
Outdated
@@ -19,8 +19,8 @@ Copyright © 2009- The Spyder Development Team. | |||
**QtPy** is a small abstraction layer that lets you | |||
write applications using a single API call to either PyQt or PySide. | |||
|
|||
It provides support for PyQt5, PyQt4 and PySide using the PyQt5 layout (where | |||
the QtGui module has been split into QtGui and QtWidgets). | |||
It provides support for PyQt5, PyQt4, PySide2 and PySide using the PyQt5 layout |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please change here
... using the PyQt5 layout
to
.. using the Qt 5 layout
It looks good. I just added a minor comment. |
It provides support for PyQt5, PyQt4 and PySide using the PyQt5 layout (where | ||
the QtGui module has been split into QtGui and QtWidgets). | ||
It provides support for PyQt5, PyQt4, PySide2 and PySide using the Qt5 layout | ||
(where the QtGui module has been split into QtGui and QtWidgets). | ||
|
||
Basically, you write your code as if you were using PyQt5 but import Qt modules |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ccordoba12 @rlaverde we should change this to
Basically, you write your code as if you were using PySide2 but import Qt modules from qtpy
instead of PySide2
(or PyQt5
)
Which is what we actually do, because we use Signal instead of (PyQt5Signal
) for instance....
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@rlaverde, please open a new PR for this.
Fixes #111