QGIS/python/gui/qgsblendmodecombobox.sip
2017-12-12 21:14:58 +11:00

55 lines
1.8 KiB
Plaintext

/************************************************************************
* This file has been generated automatically from *
* *
* src/gui/qgsblendmodecombobox.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/
class QgsBlendModeComboBox : QComboBox
{
%Docstring
A combobox which lets the user select blend modes from a predefined list
*
%End
%TypeHeaderCode
#include "qgsblendmodecombobox.h"
%End
public:
QgsBlendModeComboBox( QWidget *parent /TransferThis/ = 0 );
%Docstring
Constructor for QgsBlendModeComboBox
%End
QPainter::CompositionMode blendMode();
%Docstring
Function to read the selected blend mode as QPainter.CompositionMode
:rtype: QPainter.CompositionMode
%End
void setBlendMode( QPainter::CompositionMode blendMode );
%Docstring
Function to set the selected blend mode from QPainter.CompositionMode
%End
public slots:
void updateModes();
%Docstring
Populates the blend mode combo box, and sets up mapping for
blend modes to combo box indexes
%End
};
/************************************************************************
* This file has been generated automatically from *
* *
* src/gui/qgsblendmodecombobox.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/