-
-
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: Add QtHelp Wrapper #128
Conversation
qtpy/QtHelp.py
Outdated
elif PYSIDE2: | ||
# Current wheels don't have this module | ||
# from PySide2.QtHelp | ||
pass |
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.
But, this would result in a successful import. Should we at least add a warning?
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.
If we are going to add a warning we should add it to qtmultimedia too
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.
Yeah, we should add warning to this one and also QtMultimedia.
I created a custom warning? is that ok? or should I just use the standard warning |
qtpy/__init__.py
Outdated
@@ -98,6 +98,9 @@ class PythonQtError(Exception): | |||
"""Error raise if no bindings could be selected""" | |||
pass | |||
|
|||
class PythonQtWarning(Warning): | |||
"""Warning if somefearures are not implemented in a binding.""" |
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 fix the spelling here.
I think it's ok, thanks! |
Fixes #127