![]() |
NDEVR
API Documentation
|
A QIconEngine used to render SVG icons. More...
Public Member Functions | |
| SVGIconEngine () | |
| Constructs an SVGIconEngine. | |
| bool | canProcess (const StringView &icon, const IconThemeSettings &theme, QIcon::Mode mode) const final override |
| Checks whether this engine can process the given icon. | |
| QIcon | createIcon (const StringView &icon, const IconThemeSettings &theme, QIcon::Mode mode=QIcon::Mode::Normal) final override |
| Creates a QIcon from the given SVG icon identifier. | |
| Public Member Functions inherited from NDEVRIconEngine | |
| NDEVRIconEngine (const UUID &id) | |
| Constructs an icon engine with the given unique identifier. | |
| UUID | id () const |
| Returns the unique identifier for this icon engine. | |
A QIconEngine used to render SVG icons.
Allows the NDEVR engine to process and display SVG icons within the UI.
Definition at line 87 of file SVGIconManager.h.
|
finaloverridevirtual |
Checks whether this engine can process the given icon.
| [in] | icon | The icon identifier to check. |
| [in] | theme | The icon theme settings. |
| [in] | mode | The QIcon display mode. |
Implements NDEVRIconEngine.
|
finaloverridevirtual |
Creates a QIcon from the given SVG icon identifier.
| [in] | icon | The icon identifier string. |
| [in] | theme | The icon theme settings. |
| [in] | mode | The QIcon display mode. |
Implements NDEVRIconEngine.