QGIS API Documentation 3.43.0-Master (c67cf405802)
qgspainteffectpropertieswidget.h
Go to the documentation of this file.
1/***************************************************************************
2 qgspainteffectpropertieswidget.h
3 --------------------------------
4 begin : January 2015
5 copyright : (C) 2015 by Nyall Dawson
6 email : nyall dot dawson at gmail.com
7 ***************************************************************************
8 * *
9 * This program is free software; you can redistribute it and/or modify *
10 * it under the terms of the GNU General Public License as published by *
11 * the Free Software Foundation; either version 2 of the License, or *
12 * (at your option) any later version. *
13 * *
14 ***************************************************************************/
15
16#ifndef QGSPAINTEFFECTPROPERTIESWIDGET_H
17#define QGSPAINTEFFECTPROPERTIESWIDGET_H
18
19#include "ui_qgseffectpropertieswidget.h"
20#include "qgis_gui.h"
21#include "qgis_sip.h"
22
23class QgsPaintEffect;
24
25
31class GUI_EXPORT QgsPaintEffectPropertiesWidget : public QWidget, private Ui::EffectPropertiesWidget
32{
33 Q_OBJECT
34
35 public:
41 QgsPaintEffectPropertiesWidget( QgsPaintEffect *effect, QWidget *parent SIP_TRANSFERTHIS = nullptr );
42
43 public slots:
44
48 void effectTypeChanged();
49
53 void emitSignalChanged();
54
55 signals:
56
60 void changed();
61
66
67 private:
68 QgsPaintEffect *mEffect = nullptr;
69
70 void populateEffectTypes();
71 void updateEffectWidget( QgsPaintEffect *effect );
72};
73
74#endif //QGSPAINTEFFECTPROPERTIESWIDGET_H
A widget which modifies the properties of a QgsPaintEffect.
void changeEffect(QgsPaintEffect *effect)
Emitted when paint effect type changes.
void changed()
Emitted when paint effect properties changes.
Base class for visual effects which can be applied to QPicture drawings.
#define SIP_TRANSFERTHIS
Definition qgis_sip.h:53