QGIS/python/gui/effects/qgspainteffectpropertieswidget.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

44 lines
925 B
Plaintext

/** \ingroup gui
* \class QgsPaintEffectPropertiesWidget
* \brief A widget which modifies the properties of a QgsPaintEffect
*
* \note Added in version 2.9
*/
class QgsPaintEffectPropertiesWidget : QWidget
{
%TypeHeaderCode
#include <qgspainteffectpropertieswidget.h>
%End
public:
/** QgsPaintEffectPropertiesWidget constructor
* @param effect QgsPaintEffect to modify in the widget
* @param parent parent widget
*/
QgsPaintEffectPropertiesWidget( QgsPaintEffect* effect, QWidget* parent /TransferThis/ = NULL );
public slots:
/** Update widget when effect type changes
*/
void effectTypeChanged();
/** Emits the changed signal
*/
void emitSignalChanged();
signals:
/** Emitted when paint effect properties changes
*/
void changed();
/** Emitted when paint effect type changes
*/
void changeEffect( QgsPaintEffect* effect );
};