#include <kis_wdg_unsharp.h>
Definition at line 16 of file kis_wdg_unsharp.h.
◆ KisWdgUnsharp()
| KisWdgUnsharp::KisWdgUnsharp |
( |
QWidget * | parent | ) |
|
Definition at line 19 of file kis_wdg_unsharp.cpp.
20{
23
24 widget()->doubleHalfSize->setRange(0.0, 99.99, 2);
25 widget()->doubleHalfSize->setSingleStep(1.0);
26 widget()->doubleAmount->setRange(0.0, 99.99, 2);
27 widget()->doubleAmount->setSingleStep(0.2);
28
33}
connect(this, SIGNAL(optionsChanged()), this, SLOT(saveOptions()))
const Ui_WdgUnsharp * widget() const
References connect(), m_widget, KisConfigWidget::sigConfigurationItemChanged(), and widget().
◆ ~KisWdgUnsharp()
| KisWdgUnsharp::~KisWdgUnsharp |
( |
| ) |
|
|
override |
◆ configuration()
◆ setConfiguration()
- Parameters
-
| config | the configuration for this configuration widget. |
Implements KisConfigWidget.
Definition at line 40 of file kis_wdg_unsharp.cpp.
41{
43 widget()->doubleHalfSize->setValue((config->getProperty(
"halfSize",
value)) ?
value.toDouble() : 1.0);
44 widget()->doubleAmount->setValue((config->getProperty(
"amount",
value)) ?
value.toDouble() : 0.0);
45 widget()->intThreshold->setValue((config->getProperty(
"threshold",
value)) ?
value.toUInt() : 2);
46 widget()->chkLightnessOnly->setChecked((config->getProperty(
"lightnessOnly",
value)) ?
value.toBool() : true);
47}
float value(const T *src, size_t ch)
References value(), and widget().
◆ widget()
| const Ui_WdgUnsharp * KisWdgUnsharp::widget |
( |
| ) |
const |
|
inline |
◆ m_widget
| Ui_WdgUnsharp* KisWdgUnsharp::m_widget |
|
private |
The documentation for this class was generated from the following files: