Class: QgsEffectDrawModeComboBox

A combo box allowing selection of paint effect draw modes

QgsEffectDrawModeComboBox in the collapsed state

QgsEffectDrawModeComboBox in the collapsed state

QgsEffectDrawModeComboBox in the expanded state

QgsEffectDrawModeComboBox in the expanded state

Class Hierarchy

Inheritance diagram of qgis.gui.QgsEffectDrawModeComboBox

Base classes

QComboBox

QWidget

QObject

QPaintDevice

Methods

drawMode

Returns the currently selected draw mode for the combo box

setDrawMode

Sets the currently selected draw mode for the combo box

class qgis.gui.QgsEffectDrawModeComboBox[source]

Bases: QComboBox

drawMode(self) QgsPaintEffect.DrawMode[source]

Returns the currently selected draw mode for the combo box

Return type:

QgsPaintEffect.DrawMode

Returns:

current draw mode

setDrawMode(self, drawMode: QgsPaintEffect.DrawMode)[source]

Sets the currently selected draw mode for the combo box

Parameters:

drawMode (QgsPaintEffect.DrawMode) – selected draw mode