QGIS/python/gui/effects/qgseffectdrawmodecombobox.sip
Nyall Dawson 742f3233ee [FEATURE] Paint effects for layers and symbol layers
This commit adds a new framework for implementing paint effects, which
modify the results of QPainter operations to apply visual effects
such as drop shadows and blurs.

The initial implementation allows for effects to be applied to entire
layers and individual symbol layers.

Included are a drop shadow, inner shadow, blur, inner glow, outer glow,
colorise and transform effect. A "stack" effect is also implemented
which allows other paint effects to be combined in various ways.

Sponsored by hundreds of generous kickstarter contributors!
2015-03-28 20:04:50 +11:00

31 lines
686 B
Plaintext

/** \ingroup gui
* \class QgsEffectDrawModeComboBox
* \brief A combo box allowing selection of paint effect draw modes
*
* \note Added in version 2.9
*/
class QgsEffectDrawModeComboBox : QComboBox
{
%TypeHeaderCode
#include <qgseffectdrawmodecombobox.h>
%End
public:
QgsEffectDrawModeComboBox( QWidget* parent /TransferThis/ = NULL );
/** Returns the currently selected draw mode for the combo box
* @returns current draw mode
*/
QgsPaintEffect::DrawMode drawMode() const;
/** Sets the currently selected draw mode for the combo box
* @param drawMode selected draw mode
*/
void setDrawMode( QgsPaintEffect::DrawMode drawMode );
};