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

Switch to PyQt v2 API for QString and QVariant #8795

Closed
1 task done
mantid-builder opened this issue Sep 16, 2013 · 1 comment
Closed
1 task done

Switch to PyQt v2 API for QString and QVariant #8795

mantid-builder opened this issue Sep 16, 2013 · 1 comment
Labels
High Priority An issue or pull request that if not addressed is severe enough to postponse a release.
Milestone

Comments

@mantid-builder
Copy link
Collaborator

Original Reporter: Russell Taylor

This ticket is blocked by :

This ticket is blocks : TRAC5939

This is required in order for us to be able to bring in IPython as the interpreter window. In this API, QString & QVariant are mapped to equivalent Python types instead of being wrapped objects as they are with the v1 API. There are other types that have a v2 API (see [http://pyqt.sourceforge.net/Docs/PyQt4/incompatible_apis.html here]), but these are the only ones we must move so that's as far as I will go.

Effecting the switch itself is easy, it's hunting down the places that break when we do it that's the hard part. It's no longer possible to instantiate these types on the Python side (easier to find), or to use methods of those types on returned objects (harder to find).


Keywords: IPython

@mantid-builder
Copy link
Collaborator Author

This issue was originally trac ticket 7950

@mantid-builder mantid-builder added High Priority An issue or pull request that if not addressed is severe enough to postponse a release. GUI labels Jun 3, 2015
@mantid-builder mantid-builder added this to the Release 3.0 milestone Jun 3, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
High Priority An issue or pull request that if not addressed is severe enough to postponse a release.
Projects
None yet
Development

No branches or pull requests

1 participant