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

PR: Add QtHelp Wrapper #128

Merged
merged 2 commits into from
Mar 11, 2018
Merged

PR: Add QtHelp Wrapper #128

merged 2 commits into from
Mar 11, 2018

Conversation

rlaverde
Copy link
Member

Fixes #127

@rlaverde rlaverde added this to the v1.4 milestone Aug 17, 2017
@rlaverde rlaverde self-assigned this Aug 17, 2017
@rlaverde rlaverde requested a review from goanpeca August 17, 2017 23:52
@rlaverde rlaverde changed the title Add QtHelp Wrapper. PR: Add QtHelp Wrapper. Aug 17, 2017
qtpy/QtHelp.py Outdated
elif PYSIDE2:
# Current wheels don't have this module
# from PySide2.QtHelp
pass
Copy link
Member

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?

@ccordoba12 ?

Copy link
Member Author

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

Copy link
Member

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.

@rlaverde
Copy link
Member Author

I created a custom warning? is that ok? or should I just use the standard warning warnings.warn() as #121

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."""
Copy link
Member

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.

@ccordoba12 ccordoba12 changed the title PR: Add QtHelp Wrapper. PR: Add QtHelp Wrapper Dec 26, 2017
@ccordoba12
Copy link
Member

I created a custom warning? is that ok?

I think it's ok, thanks!

@ccordoba12 ccordoba12 merged commit a7d3d4f into spyder-ide:master Mar 11, 2018
@rlaverde rlaverde deleted the qthelp branch March 12, 2018 14:11
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