QGIS API Documentation  3.10.0-A Coruña (6c816b4204)
Public Slots | Public Member Functions | List of all members
QgsBlendModeComboBox Class Reference

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

#include <qgsblendmodecombobox.h>

Inheritance diagram for QgsBlendModeComboBox:
Inheritance graph
[legend]

Public Slots

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

Public Member Functions

 QgsBlendModeComboBox (QWidget *parent=nullptr)
 Constructor for QgsBlendModeComboBox. More...
 
QPainter::CompositionMode blendMode ()
 Function to read the selected blend mode as QPainter::CompositionMode. More...
 
void setBlendMode (QPainter::CompositionMode blendMode)
 Function to set the selected blend mode from QPainter::CompositionMode. More...
 

Detailed Description

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

Definition at line 30 of file qgsblendmodecombobox.h.

Constructor & Destructor Documentation

◆ QgsBlendModeComboBox()

QgsBlendModeComboBox::QgsBlendModeComboBox ( QWidget *  parent = nullptr)

Constructor for QgsBlendModeComboBox.

Definition at line 28 of file qgsblendmodecombobox.cpp.

Member Function Documentation

◆ blendMode()

QPainter::CompositionMode QgsBlendModeComboBox::blendMode ( )

Function to read the selected blend mode as QPainter::CompositionMode.

Definition at line 90 of file qgsblendmodecombobox.cpp.

◆ setBlendMode()

void QgsBlendModeComboBox::setBlendMode ( QPainter::CompositionMode  blendMode)

Function to set the selected blend mode from QPainter::CompositionMode.

Definition at line 95 of file qgsblendmodecombobox.cpp.

◆ updateModes

void QgsBlendModeComboBox::updateModes ( )
slot

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

Definition at line 54 of file qgsblendmodecombobox.cpp.


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