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

Patch QComboBox with PySide? #21

Closed
astrofrog opened this issue Mar 30, 2016 · 7 comments
Closed

Patch QComboBox with PySide? #21

astrofrog opened this issue Mar 30, 2016 · 7 comments
Labels
Milestone

Comments

@astrofrog
Copy link
Contributor

In qt-helpers, we patch QComboBox because on PySide, storing Python objects in the userData causes segmentation faults (while it works correctly in PyQt4 and PyQt5). Here is our implementation (which is only used with PySide):

https://github.com/glue-viz/qt-helpers/blob/master/qt_helpers.py#L320

Would you be interested in something similar here? If so, I can open a PR.

@ccordoba12 ccordoba12 added this to the v1.1 milestone Mar 30, 2016
@ccordoba12
Copy link
Member

We were not aware of that issue, but if you recognized it as such in Glue then I think it's important to have it in qtpy too.

So, yes, please open a PR for it :-)

@Nodd
Copy link
Contributor

Nodd commented Mar 30, 2016

Just to be sure, did you check that the bug still exists in the last version ?
If that's the case a PR is welcomed !

@astrofrog
Copy link
Contributor Author

Ok, I'll work on it at the weekend! (and I'll check the bug is still present)

@goanpeca
Copy link
Member

Hi @astrofrog just checking if you found the issue :-p

@astrofrog
Copy link
Contributor Author

@goanpeca - oops, haven't had time yet, will try and look shortly.

@astrofrog
Copy link
Contributor Author

I'm finally working on switching glue to use QtPy, and will report back on this soon.

@ccordoba12
Copy link
Member

Nice!! Please send us as many PR as you consider necessary to support
Gue :-)

El 08/06/16 a las 06:13, Thomas Robitaille escribió:

I'm finally working on switching glue to use QtPy, and will report
back on this soon.


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#21 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/AAWS7YXHzT6cgexuOlYhT4oIpPit3cx8ks5qJqPngaJpZM4H7QBT.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants