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

HexColorLineEdit 支持粘贴带有#前缀的十六进制颜色值 #951

Open
wants to merge 1 commit into
base: PyQt5
Choose a base branch
from

Conversation

MidnightCrowing
Copy link

在使用第三方工具(如截图工具)获取十六进制颜色值时,这些颜色值通常会带有#前缀。在之前的代码中,用户需要手动删除这个#前缀后才能将颜色值粘贴到HexColorLineEdit中。

这个修改简化了这个流程,现在用户可以直接粘贴带有#前缀的十六进制颜色值,控件会自动删掉这个前缀并更新显示内容。

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.

1 participant