• I created a simple class that allow you to build QIcon from font, like Awesome font.

    Suggestions to improve it are welcome. Please do it from github

    alt text

  • thanks for sharing this.
    2 small things:

    • isn't there a memory leak in mInstance?
    • does QApplication::palette("QWidget") use the style palette?

  • @VRonin mInstance is a singleton. Did you get an issue?
    Yes, actually it uses the native palette to display disabled color.
    You can set a custom color if you want.

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.