QGIS API Documentation 3.40.0-Bratislava (b56115d8743)
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
33class GUI_EXPORT QgsPaintEffectPropertiesWidget : public QWidget, private Ui::EffectPropertiesWidget
34{
35 Q_OBJECT
36
37 public:
38
44 QgsPaintEffectPropertiesWidget( QgsPaintEffect *effect, QWidget *parent SIP_TRANSFERTHIS = nullptr );
45
46 public slots:
47
51 void effectTypeChanged();
52
56 void emitSignalChanged();
57
58 signals:
59
63 void changed();
64
69
70 private:
71
72 QgsPaintEffect *mEffect = nullptr;
73
74 void populateEffectTypes();
75 void updateEffectWidget( QgsPaintEffect *effect );
76
77};
78
79#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