QGIS API Documentation  3.20.0-Odense (decaadbb31)
Public Member Functions | List of all members
QgsEffectDrawModeComboBox Class Reference

A combo box allowing selection of paint effect draw modes. More...

#include <qgseffectdrawmodecombobox.h>

Inheritance diagram for QgsEffectDrawModeComboBox:
Inheritance graph
[legend]

Public Member Functions

 QgsEffectDrawModeComboBox (QWidget *parent SIP_TRANSFERTHIS=nullptr)
 
QgsPaintEffect::DrawMode drawMode () const
 Returns the currently selected draw mode for the combo box. More...
 
void setDrawMode (QgsPaintEffect::DrawMode drawMode)
 Sets the currently selected draw mode for the combo box. More...
 

Detailed Description

A combo box allowing selection of paint effect draw modes.

Since
QGIS 2.9

Definition at line 31 of file qgseffectdrawmodecombobox.h.

Constructor & Destructor Documentation

◆ QgsEffectDrawModeComboBox()

QgsEffectDrawModeComboBox::QgsEffectDrawModeComboBox ( QWidget *parent  SIP_TRANSFERTHIS = nullptr)

Definition at line 22 of file qgseffectdrawmodecombobox.cpp.

Member Function Documentation

◆ drawMode()

QgsPaintEffect::DrawMode QgsEffectDrawModeComboBox::drawMode ( ) const

Returns the currently selected draw mode for the combo box.

Returns
current draw mode

Definition at line 38 of file qgseffectdrawmodecombobox.cpp.

◆ setDrawMode()

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

Sets the currently selected draw mode for the combo box.

Parameters
drawModeselected draw mode

Definition at line 43 of file qgseffectdrawmodecombobox.cpp.


The documentation for this class was generated from the following files: