2017-05-23 14:36:52 +02:00
|
|
|
/************************************************************************
|
|
|
|
* This file has been generated automatically from *
|
|
|
|
* *
|
|
|
|
* src/gui/qgsblendmodecombobox.h *
|
|
|
|
* *
|
|
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
|
|
************************************************************************/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-06-22 19:37:41 +02:00
|
|
|
class QgsBlendModeComboBox : QComboBox
|
|
|
|
{
|
2017-05-23 14:36:52 +02:00
|
|
|
%Docstring
|
|
|
|
A combobox which lets the user select blend modes from a predefined list
|
|
|
|
*
|
|
|
|
%End
|
|
|
|
|
2013-06-22 19:37:41 +02:00
|
|
|
%TypeHeaderCode
|
2017-05-23 14:36:52 +02:00
|
|
|
#include "qgsblendmodecombobox.h"
|
2013-06-22 19:37:41 +02:00
|
|
|
%End
|
|
|
|
public:
|
2017-12-12 11:44:10 +10:00
|
|
|
|
2017-05-01 16:42:33 +02:00
|
|
|
QgsBlendModeComboBox( QWidget *parent /TransferThis/ = 0 );
|
2017-12-12 11:44:10 +10:00
|
|
|
%Docstring
|
|
|
|
Constructor for QgsBlendModeComboBox
|
|
|
|
%End
|
2013-06-22 19:37:41 +02:00
|
|
|
|
|
|
|
QPainter::CompositionMode blendMode();
|
2017-05-23 14:36:52 +02:00
|
|
|
%Docstring
|
|
|
|
Function to read the selected blend mode as QPainter.CompositionMode
|
|
|
|
:rtype: QPainter.CompositionMode
|
|
|
|
%End
|
2013-06-22 19:37:41 +02:00
|
|
|
void setBlendMode( QPainter::CompositionMode blendMode );
|
2017-05-23 14:36:52 +02:00
|
|
|
%Docstring
|
|
|
|
Function to set the selected blend mode from QPainter.CompositionMode
|
|
|
|
%End
|
2013-06-22 19:37:41 +02:00
|
|
|
public slots:
|
2017-05-23 14:36:52 +02:00
|
|
|
|
2013-06-22 19:37:41 +02:00
|
|
|
void updateModes();
|
2017-05-23 14:36:52 +02:00
|
|
|
%Docstring
|
|
|
|
Populates the blend mode combo box, and sets up mapping for
|
|
|
|
blend modes to combo box indexes
|
|
|
|
%End
|
2014-05-27 23:22:50 +02:00
|
|
|
|
2013-06-22 19:37:41 +02:00
|
|
|
};
|
2017-05-23 14:36:52 +02:00
|
|
|
|
|
|
|
/************************************************************************
|
|
|
|
* This file has been generated automatically from *
|
|
|
|
* *
|
|
|
|
* src/gui/qgsblendmodecombobox.h *
|
|
|
|
* *
|
|
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
|
|
************************************************************************/
|