124
124
GreycstorationSettings::GreycstorationSettings(KTabWidget* parent)
125
: QObject(static_cast<QObject*>(parent)),
126
d(new GreycstorationSettingsPriv)
125
: QObject(static_cast<QObject*>(parent)),
126
d(new GreycstorationSettingsPriv)
128
128
d->parent = parent;
138
138
d->sharpnessInput->setDecimals(2);
139
139
d->sharpnessInput->input()->setRange(0.01, 1.0, 0.1, true);
140
140
d->sharpnessInput->setWhatsThis( i18n("Preservation of details to set the sharpening level "
141
"of the small features in the target image. "
142
"Higher values leave details sharp."));
141
"of the small features in the target image. "
142
"Higher values leave details sharp."));
144
144
d->anisotropyLabel = new QLabel(i18n("Anisotropy:"), d->generalPage);
145
145
d->anisotropyInput = new RDoubleNumInput(d->generalPage);
146
146
d->anisotropyInput->setDecimals(2);
147
147
d->anisotropyInput->input()->setRange(0.0, 1.0, 0.1, true);
148
148
d->anisotropyInput->setWhatsThis( i18n("Anisotropic (directional) modifier of the details. "
149
"Keep it small for Gaussian noise."));
149
"Keep it small for Gaussian noise."));
151
151
d->amplitudeLabel = new QLabel(i18n("Smoothing:"), d->generalPage);
152
152
d->amplitudeInput = new RDoubleNumInput(d->generalPage);
153
153
d->amplitudeInput->setDecimals(2);
154
154
d->amplitudeInput->input()->setRange(0.01, 500.0, 0.1, true);
155
155
d->amplitudeInput->setWhatsThis( i18n("Total smoothing power: if the Detail Factor sets the relative "
156
"smoothing and the Anisotropy Factor the direction, "
157
"the Smoothing Factor sets the overall effect."));
156
"smoothing and the Anisotropy Factor the direction, "
157
"the Smoothing Factor sets the overall effect."));
159
159
d->sigmaLabel = new QLabel(i18n("Regularity:"), d->generalPage);
160
160
d->sigmaInput = new RDoubleNumInput(d->generalPage);