#include <kis_wdg_blur.h>
Definition at line 16 of file kis_wdg_blur.h.
◆ KisWdgBlur()
| KisWdgBlur::KisWdgBlur |
( |
QWidget * | parent | ) |
|
Definition at line 21 of file kis_wdg_blur.cpp.
22{
27
28 widget()->angleSelector->setDecimals(0);
29
33
35
39}
connect(this, SIGNAL(optionsChanged()), this, SLOT(saveOptions()))
void sldHalfWidthChanged(int)
const Ui_WdgBlur * widget() const
void sldHalfHeightChanged(int)
void linkSpacingToggled(bool)
References connect(), linkSpacingToggled(), m_halfSizeLink, m_widget, KisConfigWidget::sigConfigurationItemChanged(), sldHalfHeightChanged(), sldHalfWidthChanged(), and widget().
◆ ~KisWdgBlur()
| KisWdgBlur::~KisWdgBlur |
( |
| ) |
|
|
override |
◆ configuration()
- Returns
- the configuration
Implements KisConfigWidget.
Definition at line 46 of file kis_wdg_blur.cpp.
47{
49 config->setProperty(
"lockAspect",
widget()->aspectButton->keepAspectRatio());
50 config->setProperty(
"halfWidth",
widget()->intHalfWidth->value());
51 config->setProperty(
"halfHeight",
widget()->intHalfHeight->value());
53 config->setProperty(
"strength",
widget()->intStrength->value());
54 config->setProperty(
"shape",
widget()->cbShape->currentIndex());
55 return config;
56}
static KisResourcesInterfaceSP instance()
References KisGlobalResourcesInterface::instance(), and widget().
◆ linkSpacingToggled
| void KisWdgBlur::linkSpacingToggled |
( |
bool | b | ) |
|
|
privateslot |
◆ setConfiguration()
- Parameters
-
| config | the configuration for this configuration widget. |
Implements KisConfigWidget.
Definition at line 58 of file kis_wdg_blur.cpp.
59{
61 if (config->getProperty(
"lockAspect",
value)) {
63 }
64 if (config->getProperty(
"shape",
value)) {
66 }
67 if (config->getProperty(
"halfWidth",
value)) {
69 }
70 if (config->getProperty(
"halfHeight",
value)) {
72 }
73 if (config->getProperty(
"rotate",
value)) {
74 widget()->angleSelector->setAngle(
static_cast<qreal
>(
value.toUInt()));
75 }
76 if (config->getProperty(
"strength",
value)) {
78 }
79}
float value(const T *src, size_t ch)
References m_widget, value(), and widget().
◆ sldHalfHeightChanged
| void KisWdgBlur::sldHalfHeightChanged |
( |
int | v | ) |
|
|
privateslot |
◆ sldHalfWidthChanged
| void KisWdgBlur::sldHalfWidthChanged |
( |
int | v | ) |
|
|
privateslot |
◆ widget()
| const Ui_WdgBlur * KisWdgBlur::widget |
( |
| ) |
const |
|
inline |
◆ m_halfSizeLink
| bool KisWdgBlur::m_halfSizeLink |
|
private |
◆ m_widget
| Ui_WdgBlur* KisWdgBlur::m_widget |
|
private |
The documentation for this class was generated from the following files: