Vuo  2.3.2
Static Public Member Functions | List of all members
VuoInputEditorIcon Class Reference

Description

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...
 

Member Function Documentation

◆ renderErrorPixmap()

static QPixmap* VuoInputEditorIcon::renderErrorPixmap ( bool  isDark)
inlinestatic

Returns the icon for an error within a line edit.

Definition at line 61 of file VuoInputEditorIcon.hh.

◆ renderIcon()

static QIcon* VuoInputEditorIcon::renderIcon ( void(^)(QPainter &p)  render,
int  width = 16,
int  height = 16 
)
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.

◆ renderPixmap()

static QPixmap* VuoInputEditorIcon::renderPixmap ( void(^)(QPainter &p)  render,
int  width = 16,
int  height = 16 
)
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.


The documentation for this class was generated from the following file: