Provides functions for rendering icons.
Definition at line 19 of file VuoInputEditorIcon.hh.
Static Public Member Functions | |
static QPixmap * | renderPixmap (void(^render)(QPainter &p), int width=16, int height=16) |
Renders the specified render block onto a pixmap of the given point size, respecting the device pixel ratio. More... | |
static QIcon * | renderIcon (void(^render)(QPainter &p), int width=16, int height=16) |
Renders the specified render block onto an icon of the given point size, respecting the device pixel ratio. More... | |
static QPixmap * | renderErrorPixmap (bool isDark) |
Returns the icon for an error within a line edit. More... | |
|
inlinestatic |
Returns the icon for an error within a line edit.
Definition at line 61 of file VuoInputEditorIcon.hh.
|
inlinestatic |
Renders the specified render
block onto an icon of the given point size, respecting the device pixel ratio.
Definition at line 45 of file VuoInputEditorIcon.hh.
|
inlinestatic |
Renders the specified render
block onto a pixmap of the given point size, respecting the device pixel ratio.
Definition at line 25 of file VuoInputEditorIcon.hh.