QGIS/python/gui/qgsblendmodecombobox.sip
Juergen E. Fischer 99f998aa30 - add missing sip bindings
- port widgets_tree.py to QtXml and update customization.xml (fixes #5752 and  #8054)
2013-06-22 19:41:34 +02:00

21 lines
597 B
Plaintext

/** \ingroup gui
* A combobox which lets the user select blend modes from a predefined list
**/
class QgsBlendModeComboBox : QComboBox
{
%TypeHeaderCode
#include <qgsblendmodecombobox.h>
%End
public:
QgsBlendModeComboBox( QWidget* parent = 0 );
virtual ~QgsBlendModeComboBox();
//! Function to read the selected blend mode as QPainter::CompositionMode
QPainter::CompositionMode blendMode();
//! Function to set the selected blend mode from QPainter::CompositionMode
void setBlendMode( QPainter::CompositionMode blendMode );
public slots:
void updateModes();
};