icons: Set of icons

Set of icons for buttons.

Use getQIcon() to create Qt QIcon from the name identifying an icon.

silx.gui.icons.getQIcon(name)[source]

Create a QIcon from its name.

Parameters:name (str) – Name of the icon, in one of the defined icons in this module.
Returns:Corresponding QIcon
Raises:ValueError when name is not known
silx.gui.icons.getQPixmap(name)[source]

Create a QPixmap from its name.

Parameters:name (str) – Name of the icon, in one of the defined icons in this module.
Returns:Corresponding QPixmap
Raises:ValueError when name is not known

Previous topic

qt: Qt bindings

Next topic

Using silx widgets in Qt Designer

This Page