-
Notifications
You must be signed in to change notification settings - Fork 55
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
HeadingText fixes #976
HeadingText fixes #976
Conversation
- aligns Qt _create_control with standard API - route creation throught create() call - make widget creation in init() optional - deprecate automatic widget creation - various other small fixes
- appearance of Qt and Wx are similar - changes to text are dispatched on the ui thread - general clean-up and standardization
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
warnings.warn( | ||
"background images are no-longer supported for Wx and the " | ||
"'image' trait will be removed in a future Pyface update", | ||
PendingDeprecationWarning, | ||
) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you create an issue for this deprecation - and put it in the 8.0.0 milestone?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will do.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done #978
warnings.warn( | ||
"automatic widget creation is deprecated and will be removed " | ||
"in a future Pyface version, use create=False and explicitly " | ||
"call create() for future behaviour", | ||
PendingDeprecationWarning, | ||
) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same comment here regd an issue - and we can put this in the 8.0.0 milestone too if that makes sense.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is part of #729 (particularly the comment at the bottom about automatic creation in __init__
).
But I don't want to add it to a milestone until all of them are dealt with (ie. if I don't get it done this week it might bet Pyface 9 where we finally get rid of them).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've added a comment to #729 which goes over the idea for the sequence of events needed to change the API safely.
Improvements and fixes for HeadingText: