mirror of
				https://github.com/qgis/QGIS.git
				synced 2025-11-04 00:04:25 -05:00 
			
		
		
		
	
		
			
				
	
	
		
			22 lines
		
	
	
		
			613 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
		
			613 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 /TransferThis/ = 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();
 | 
						|
 | 
						|
};
 |