|
ORE Studio 0.0.4
|
Utility class for icon manipulation operations. More...
#include <IconUtils.hpp>

Static Public Member Functions | |
| static QIcon | createRecoloredIcon (const QString &svgPath, const QColor &color) |
| Creates a recolored version of an SVG icon. | |
Utility class for icon manipulation operations.
|
static |
Creates a recolored version of an SVG icon.
Loads an SVG icon and creates a new QIcon with the specified color for normal state and a dark gray color for disabled state. Uses QPainter composition modes for efficient rendering.
| svgPath | Path to the SVG icon resource (e.g., ":/icons/icon.svg") |
| color | Color to apply to the icon in normal state |
