QgsBlendModeComboBox class

A combobox which lets the user select blend modes from a predefined list.

Constructors, destructors, conversion operators

QgsBlendModeComboBox(QWidget* parent = nullptr)
Constructor for QgsBlendModeComboBox.

Public functions

auto blendMode() -> QPainter::CompositionMode
Function to read the selected blend mode as QPainter::CompositionMode.
void setBlendMode(QPainter::CompositionMode blendMode)
Function to set the selected blend mode from QPainter::CompositionMode.

Public slots

void updateModes()
Populates the blend mode combo box, and sets up mapping for blend modes to combo box indexes.