QtAwesome
QtAwesome copied to clipboard
Take existing QPixmap/QImage/QIcon as source?
Hey
Its an awesome engine that can colorize icons based on state/etc. It would be great if it could take any of the other 3 types of pixmaps and draw that + its states/etc logic.
Regards Dariusz
Thanks for the suggestion. This looks a like nice addition!
I'm looking at this issue, but I'm wondering what QtAwesome should provide..
QIcon already supports all the different modes and states (https://doc.qt.io/qt-6/qicon.html#making-classes-that-use-qicon) And you can supply a different Pixmap for every state.
Hey Hmm I can't quite remember the details now (sigh) but I was trying to control QToolButton checked state/etc via icon. The default one did not quite work and I remember wacking up something custom. I'll dig in to code see if I can get example to show why this would help here.