|
| static void | setTheme (IconTheme theme) |
| | Sets the global icon theme.
|
| |
| static IconTheme | currentTheme () |
| | Gets the current global icon theme.
|
| |
| static QString | iconPath (Icon icon) |
| | Gets the resource path for a semantic icon using the current global theme.
|
| |
| static QIcon | createRecoloredIcon (Icon icon, const QColor &color) |
| | Creates a recolored version of a semantic icon using the current global theme.
|
| |
| static QIcon | createRecoloredIcon (const QString &svgPath, const QColor &color) |
| | Creates a recolored version of an SVG icon.
|
| |
| static QIcon | svgDataToIcon (const std::string &svg_data) |
| | Renders SVG data to a QIcon preserving aspect ratio.
|
| |
| static QPixmap | svgDataToPixmap (const std::string &svg_data, int height) |
| | Renders SVG data to a QPixmap at specified height, preserving aspect ratio.
|
| |
|
|
static const QColor | DefaultIconColor {220, 220, 220} |
| |
|
static const QColor | ConnectedColor {100, 200, 100} |
| |
|
static const QColor | DisconnectedColor {200, 100, 100} |
| |
|
static const QColor | ReconnectingColor {230, 180, 80} |
| |
|
static const QColor | RecordingOnColor {220, 80, 80} |
| |
|
static const QColor | DisabledIconColor {100, 100, 100} |
| |
Utility class for icon manipulation operations.