~ubuntu-branches/ubuntu/saucy/digikam/saucy

« back to all changes in this revision

Viewing changes to libs/dimg/filters/greycstoration/greycstorationsettings.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Scott Kitterman
  • Date: 2010-12-21 23:19:11 UTC
  • mfrom: (1.2.33 upstream) (3.1.7 experimental)
  • Revision ID: james.westby@ubuntu.com-20101221231911-z9jip7s5aht1jqn9
Tags: 2:1.7.0-1ubuntu1
* Merge from Debian Experimental. Remaining Ubuntu changes:
  - Export .pot name and copy to plugins in debian/rules
  - Version build-depends on kipi-plugins-dev to ensure build is against the
    same version on all archs
* Drop debian/patches/kubuntu_01_linker.diff, incoporated upstream
* Remove patches directory and unused patches

Show diffs side-by-side

added added

removed removed

Lines of Context:
122
122
};
123
123
 
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)
127
127
{
128
128
    d->parent = parent;
129
129
 
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."));
143
143
 
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."));
150
150
 
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."));
158
158
 
159
159
    d->sigmaLabel = new QLabel(i18n("Regularity:"), d->generalPage);
160
160
    d->sigmaInput = new RDoubleNumInput(d->generalPage);
334
334
    QTextStream stream( &file );
335
335
 
336
336
    if (stream.readLine() != header)
 
337
    {
337
338
        return false;
 
339
    }
338
340
 
339
341
    blockSignals(true);
340
342