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

ElideLabel: Fix API inherited from QLabel #3650

Merged
merged 4 commits into from
Sep 27, 2022
Merged

Conversation

vallsv
Copy link
Contributor

@vallsv vallsv commented Aug 30, 2022

This PR fixes the ElideLabel API inherited from QLabel.

For consistency and interoperability purpose.

Closes #3641

Changelog:

  • ElideLabel: Fix API inherited from QLabel

@vallsv vallsv requested a review from t20100 August 30, 2022 14:04
@vallsv vallsv changed the title Elided api ElideLabel: Fix API inherited from QLabel Aug 30, 2022
@vallsv
Copy link
Contributor Author

vallsv commented Aug 30, 2022

I assume it is working with QtDesigner.
We don't have the setup for anyway, and we dont use it this way anyway.

Copy link
Member

@t20100 t20100 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To me, it's not worth breaking the API beyond replacing the properties by methods.

src/silx/gui/widgets/ElidedLabel.py Outdated Show resolved Hide resolved
src/silx/gui/widgets/ElidedLabel.py Show resolved Hide resolved
src/silx/gui/widgets/ElidedLabel.py Show resolved Hide resolved
@vallsv vallsv force-pushed the elided-api branch 2 times, most recently from e3dd4d1 to aa39d76 Compare September 27, 2022 07:30
Copy link
Member

@t20100 t20100 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@t20100 t20100 merged commit 4f750c3 into silx-kit:master Sep 27, 2022
@t20100 t20100 mentioned this pull request Oct 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

inconsistent behaviour of toolTip for silx.gui.widgets.ElidedLabel and generic QWidget
2 participants