-
Notifications
You must be signed in to change notification settings - Fork 18
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
QtInteractor
can no longer be used with qt-designer
#9
Comments
Thanks for your interest with |
Any news on this? I should have replied earlier, this would be a great feature. It seems that my awful hack is leaking memory all over the place… |
Sorry, been busy with other PRs. Would you mind opening up a PR for this? |
I think there is a misunderstanding, I did not develop anything usable, so I can't make a PR for this. ☺ Maybe you meant a feature request ? |
Could you try again with current |
Before pyvista 0.24.0, I could use qt-designer to design my UI and promote a widget to
pv.QtInteractor
.It is probably the expected behaviour, but this version makes it impossible to do that.
Also, If I want to remove/re-add the widget, which I have to do because I dynamically want to change the number of subplots in my app, I must be careful to use the
interactor
attribute of thepv.QtInteractor
instance and not the instance directly.I do not expect this to change, but since it took me a while to figure out what was happening, I thought I would write it here…
My fix was to create a simple QWidget in qt-designer, and basically call this on window create and every time I want to update the number of subplots.
I am sure there is a better way to do that, but it works…
Adding/removing subplots dynamically would be a great feature BTW.
The text was updated successfully, but these errors were encountered: