Skip to main content

MediaToolIcons

MediaToolIcons

Functions

Name
QIcon createSelectToolIcon(int size =20)
Create a pointer/selection cursor icon.
QIcon createPenToolIcon(int size =20)
Create a pen nib icon for selected-line editing.
QIcon createEraserToolIcon(int size =20)
Create an eraser block icon.
QIcon createSmoothToolIcon(int size =20)
Create a smooth-curve icon for local line smoothing.

Functions Documentation

function createSelectToolIcon

inline QIcon createSelectToolIcon(
    int size =20
)

Create a pointer/selection cursor icon.

Parameters:

  • size Icon size in pixels

Return: Icon suitable for a toolbar button

function createPenToolIcon

inline QIcon createPenToolIcon(
    int size =20
)

Create a pen nib icon for selected-line editing.

Parameters:

  • size Icon size in pixels

Return: Icon suitable for a toolbar button

function createEraserToolIcon

inline QIcon createEraserToolIcon(
    int size =20
)

Create an eraser block icon.

Parameters:

  • size Icon size in pixels

Return: Icon suitable for a toolbar button

function createSmoothToolIcon

inline QIcon createSmoothToolIcon(
    int size =20
)

Create a smooth-curve icon for local line smoothing.

Parameters:

  • size Icon size in pixels

Return: Icon suitable for a toolbar button


Updated on 2026-11-13 at 20:25:42 +0000