QGIS API Documentation 3.99.0-Master (2fe06baccd8)
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
21#include "qgis_gui.h"
22#include "qgis_sip.h"
23
24class QgsPaintEffect;
25
26
32class GUI_EXPORT QgsPaintEffectPropertiesWidget : public QWidget, private Ui::EffectPropertiesWidget
33{
34 Q_OBJECT
35
36 public:
42 QgsPaintEffectPropertiesWidget( QgsPaintEffect *effect, QWidget *parent SIP_TRANSFERTHIS = nullptr );
43
44 public slots:
45
49 void effectTypeChanged();
50
54 void emitSignalChanged();
55
56 signals:
57
61 void changed();
62
67
68 private:
69 QgsPaintEffect *mEffect = nullptr;
70
71 void populateEffectTypes();
72 void updateEffectWidget( QgsPaintEffect *effect );
73};
74
75#endif //QGSPAINTEFFECTPROPERTIESWIDGET_H
void emitSignalChanged()
Emits the changed signal.
void effectTypeChanged()
Update widget when effect type changes.
void changeEffect(QgsPaintEffect *effect)
Emitted when paint effect type changes.
void changed()
Emitted when paint effect properties changes.
QgsPaintEffectPropertiesWidget(QgsPaintEffect *effect, QWidget *parent=nullptr)
QgsPaintEffectPropertiesWidget constructor.
Base class for visual effects which can be applied to QPicture drawings.
#define SIP_TRANSFERTHIS
Definition qgis_sip.h:53