QGIS API Documentation 3.34.0-Prizren (ffbdd678812)
Loading...
Searching...
No Matches
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
34class GUI_EXPORT QgsPaintEffectPropertiesWidget : public QWidget, private Ui::EffectPropertiesWidget
35{
36 Q_OBJECT
37
38 public:
39
45 QgsPaintEffectPropertiesWidget( QgsPaintEffect *effect, QWidget *parent SIP_TRANSFERTHIS = nullptr );
46
47 public slots:
48
52 void effectTypeChanged();
53
57 void emitSignalChanged();
58
59 signals:
60
64 void changed();
65
70
71 private:
72
73 QgsPaintEffect *mEffect = nullptr;
74
75 void populateEffectTypes();
76 void updateEffectWidget( QgsPaintEffect *effect );
77
78};
79
80#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