QGIS API Documentation
3.6.0-Noosa (5873452)
|
A combobox which lets the user select blend modes from a predefined list. More...
#include <qgsblendmodecombobox.h>
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... | |
A combobox which lets the user select blend modes from a predefined list.
Definition at line 30 of file qgsblendmodecombobox.h.
QgsBlendModeComboBox::QgsBlendModeComboBox | ( | QWidget * | parent = nullptr | ) |
Constructor for QgsBlendModeComboBox.
Definition at line 28 of file qgsblendmodecombobox.cpp.
QPainter::CompositionMode QgsBlendModeComboBox::blendMode | ( | ) |
Function to read the selected blend mode as QPainter::CompositionMode.
Definition at line 90 of file qgsblendmodecombobox.cpp.
void QgsBlendModeComboBox::setBlendMode | ( | QPainter::CompositionMode | blendMode | ) |
Function to set the selected blend mode from QPainter::CompositionMode.
Definition at line 95 of file qgsblendmodecombobox.cpp.
|
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.