#include <kis_wdg_wave.h>
Definition at line 17 of file kis_wdg_wave.h.
◆ KisWdgWave()
| KisWdgWave::KisWdgWave |
( |
KisFilter * | nfilter, |
|
|
QWidget * | parent = 0 ) |
◆ ~KisWdgWave()
| KisWdgWave::~KisWdgWave |
( |
| ) |
|
|
override |
◆ configuration()
- Returns
- the configuration
Implements KisConfigWidget.
Definition at line 68 of file kis_wdg_wave.cpp.
69{
71 config->setProperty(
"horizontalwavelength", this->
widget()->intHWavelength->value());
72 config->setProperty(
"horizontalshift", this->
widget()->intHShift->value());
73 config->setProperty(
"horizontalamplitude", this->
widget()->intHAmplitude->value());
74 config->setProperty(
"horizontalshape", this->
widget()->cbHShape->currentIndex());
75 config->setProperty(
"verticalwavelength", this->
widget()->intVWavelength->value());
76 config->setProperty(
"verticalshift", this->
widget()->intVShift->value());
77 config->setProperty(
"verticalamplitude", this->
widget()->intVAmplitude->value());
78 config->setProperty(
"verticalshape", this->
widget()->cbVShape->currentIndex());
79 return config;
80}
static KisResourcesInterfaceSP instance()
References KisGlobalResourcesInterface::instance(), and widget().
◆ setConfiguration()
- Parameters
-
| config | the configuration for this configuration widget. |
Implements KisConfigWidget.
Definition at line 39 of file kis_wdg_wave.cpp.
40{
42 if (config->getProperty(
"horizontalwavelength",
value)) {
44 }
45 if (config->getProperty(
"horizontalshift",
value)) {
47 }
48 if (config->getProperty(
"horizontalamplitude",
value)) {
50 }
51 if (config->getProperty(
"horizontalshape",
value)) {
52 widget()->cbHShape->setCurrentIndex(
value.toUInt());
53 }
54 if (config->getProperty(
"verticalwavelength",
value)) {
56 }
57 if (config->getProperty(
"verticalshift",
value)) {
59 }
60 if (config->getProperty(
"verticalamplitude",
value)) {
62 }
63 if (config->getProperty(
"verticalshape",
value)) {
64 widget()->cbVShape->setCurrentIndex(
value.toUInt());
65 }
66}
float value(const T *src, size_t ch)
References value(), and widget().
◆ widget()
| const Ui_WdgWaveOptions * KisWdgWave::widget |
( |
| ) |
const |
|
inline |
◆ m_widget
| Ui_WdgWaveOptions* KisWdgWave::m_widget |
|
private |
The documentation for this class was generated from the following files: