-
Notifications
You must be signed in to change notification settings - Fork 33
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
Support for Inheritance #8
Comments
Not so sure if it is appreciated but I made a pull request for this issue. |
Very much appreciated 👍 I just need to find time to sit down and work through the PRs. From what I've seen I don't imagine having any problems merging any of them but I need test against PyQt4, PySide and on different platforms (Windows, Linux) before accepting. They all do slightly weird things with the input/output of QSettings and it can cause issues. |
Specific to this bug, the normal way I've dealt with this is to write custom handlers for the subclasses (you can pass them in when creating the manager). I have custom widgets that override signals and return different types, so it will need to ensure that the most specific possible handler is used. Perhaps test by |
I agree with you here. |
Alright, I modified the code that now first the exact type is checked with |
Currently the mapper is not working with inherited QWidget classes. Do you have any plans for fixing this?
Here is my Traceback:
The text was updated successfully, but these errors were encountered: