Usability improvement: use default framework.iconSet to find icon by name (without prefix) #17562
Unanswered
mycarrysun
asked this question in
Ideas / Proposals
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Problem
Its very annoying to have to use the prefix of your preferred icon set. It also makes a refactor hard if you want to change all the icons across your app to another icon set.
I also understand if you have multiple icon sets included, you should have the ability to still choose which one to use in QBtn and QIcon etc.
Proposal
It would be nice to have QIcon look for an icon without the prefix, and if one is found for your icon set configured in the
framework.iconSet
it should use that icon instead of thematerial-icons
by default.Before
After
I'd be happy to put up a PR if this proposal is accepted.
Beta Was this translation helpful? Give feedback.
All reactions