QGIS API Documentation
3.99.0-Master (2fe06baccd8)
Loading...
Searching...
No Matches
src
gui
effects
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
24
class
QgsPaintEffect
;
25
26
32
class
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
66
void
changeEffect
(
QgsPaintEffect
*effect );
67
68
private
:
69
QgsPaintEffect
*mEffect =
nullptr
;
70
71
void
populateEffectTypes();
72
void
updateEffectWidget(
QgsPaintEffect
*effect );
73
};
74
75
#endif
//QGSPAINTEFFECTPROPERTIESWIDGET_H
QgsPaintEffectPropertiesWidget::emitSignalChanged
void emitSignalChanged()
Emits the changed signal.
Definition
qgspainteffectpropertieswidget.cpp:170
QgsPaintEffectPropertiesWidget::effectTypeChanged
void effectTypeChanged()
Update widget when effect type changes.
Definition
qgspainteffectpropertieswidget.cpp:142
QgsPaintEffectPropertiesWidget::changeEffect
void changeEffect(QgsPaintEffect *effect)
Emitted when paint effect type changes.
QgsPaintEffectPropertiesWidget::changed
void changed()
Emitted when paint effect properties changes.
QgsPaintEffectPropertiesWidget::QgsPaintEffectPropertiesWidget
QgsPaintEffectPropertiesWidget(QgsPaintEffect *effect, QWidget *parent=nullptr)
QgsPaintEffectPropertiesWidget constructor.
Definition
qgspainteffectpropertieswidget.cpp:71
QgsPaintEffect
Base class for visual effects which can be applied to QPicture drawings.
Definition
qgspainteffect.h:55
qgis_sip.h
SIP_TRANSFERTHIS
#define SIP_TRANSFERTHIS
Definition
qgis_sip.h:53
Generated on
for QGIS API Documentation by
1.15.0