QgsEffectDrawModeComboBox class

A combo box allowing selection of paint effect draw modes.

Contents

Public functions

auto drawMode() const -> QgsPaintEffect::DrawMode
Returns the currently selected draw mode for the combo box.
void setDrawMode(QgsPaintEffect::DrawMode drawMode)
Sets the currently selected draw mode for the combo box.

Function documentation

QgsPaintEffect::DrawMode QgsEffectDrawModeComboBox::drawMode() const

Returns the currently selected draw mode for the combo box.

Returns current draw mode

void QgsEffectDrawModeComboBox::setDrawMode(QgsPaintEffect::DrawMode drawMode)

Sets the currently selected draw mode for the combo box.

Parameters
drawMode selected draw mode