~ubuntu-branches/ubuntu/intrepid/digikam/intrepid

« back to all changes in this revision

Viewing changes to digikam/imageplugins/colorfx/imageeffect_colorfx.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Mark Purcell
  • Date: 2008-07-17 20:25:39 UTC
  • mfrom: (1.2.15 upstream) (3.1.2 lenny)
  • Revision ID: james.westby@ubuntu.com-20080717202539-6n7dtirbkoo7qvhd
Tags: 2:0.9.4-1
* New upstream release
  - digiKam 0.9.4 Release Plan (KDE3) ~ 13 July 08 (Closes: #490144)
* DEB_CONFIGURE_EXTRA_FLAGS := --without-included-sqlite3
* Debhelper compatibility level V7
* Install pixmaps in debian/*.install
* Add debian/digikam.lintian-overrides

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
 *               effect to an image.
9
9
 *
10
10
 * Copyright (C) 2004-2005 by Renchi Raju <renchi@pooh.tam.uiuc.edu>
11
 
 * Copyright (C) 2006-2007 by Gilles Caulier <caulier dot gilles at gmail dot com>
 
11
 * Copyright (C) 2006-2008 by Gilles Caulier <caulier dot gilles at gmail dot com>
12
12
 * 
13
13
 * This program is free software; you can redistribute it
14
14
 * and/or modify it under the terms of the GNU General
80
80
    KAboutData *about = new KAboutData("digikam",
81
81
                            I18N_NOOP("Color Effects"),
82
82
                            digikam_version,
83
 
                            I18N_NOOP("A digiKam plugin to apply special color effects on an image."),
 
83
                            I18N_NOOP("A digiKam plugin to apply special color effects to an image."),
84
84
                            KAboutData::License_GPL,
85
 
                            "(c) 2004-2005, Renchi Raju\n(c) 2006-2007, Gilles Caulier",
 
85
                            "(c) 2004-2005, Renchi Raju\n(c) 2006-2008, Gilles Caulier",
86
86
                            0,
87
87
                            "http://www.digikam.org");
88
88
 
113
113
    m_channelCB->insertItem( i18n("Red") );
114
114
    m_channelCB->insertItem( i18n("Green") );
115
115
    m_channelCB->insertItem( i18n("Blue") );
116
 
    QWhatsThis::add( m_channelCB, i18n("<p>Select here the histogram channel to display:<p>"
 
116
    QWhatsThis::add( m_channelCB, i18n("<p>Select the histogram channel to display here:<p>"
117
117
                                       "<b>Luminosity</b>: display the image's luminosity values.<p>"
118
118
                                       "<b>Red</b>: display the red image-channel values.<p>"
119
119
                                       "<b>Green</b>: display the green image-channel values.<p>"
123
123
    m_scaleBG->setExclusive(true);
124
124
    m_scaleBG->setFrameShape(QFrame::NoFrame);
125
125
    m_scaleBG->setInsideMargin( 0 );
126
 
    QWhatsThis::add( m_scaleBG, i18n("<p>Select here the histogram scale.<p>"
 
126
    QWhatsThis::add( m_scaleBG, i18n("<p>Select the histogram scale here.<p>"
127
127
                                     "If the image's maximal counts are small, you can use the linear scale.<p>"
128
128
                                     "Logarithmic scale can be used when the maximal counts are big; "
129
129
                                     "if it is used, all values (small and large) will be visible on the graph."));
175
175
    m_effectType->insertItem( i18n("Vivid") );
176
176
    m_effectType->insertItem( i18n("Neon") );    
177
177
    m_effectType->insertItem( i18n("Find Edges") );    
178
 
    QWhatsThis::add( m_effectType, i18n("<p>Select here the effect type to apply on the image.<p>"
 
178
    QWhatsThis::add( m_effectType, i18n("<p>Select the effect type to apply to the image here.<p>"
179
179
                                        "<b>Solarize</b>: simulates solarization of photograph.<p>"
180
180
                                        "<b>Vivid</b>: simulates the Velvia(tm) slide film colors.<p>"
181
181
                                        "<b>Neon</b>: coloring the edges in a photograph to "
198
198
    m_iterationInput = new KIntNumInput(gboxSettings);
199
199
    m_iterationInput->setRange(0, 100, 1, true);
200
200
    QWhatsThis::add( m_iterationInput, i18n("<p>This value controls the number of iterations "
201
 
                                            "to use with Neon and Find Edges effects."));
 
201
                                            "to use with the Neon and Find Edges effects."));
202
202
    
203
203
    gridSettings->addMultiCellWidget(m_iterationLabel, 7, 7, 0, 4);
204
204
    gridSettings->addMultiCellWidget(m_iterationInput, 8, 8, 0, 4);
325
325
 
326
326
       case Vivid:
327
327
          m_levelInput->setRange(0, 50, 1, true);
328
 
          m_levelInput->setValue(10);
 
328
          m_levelInput->setValue(5);
329
329
          m_iterationInput->setEnabled(false);
330
330
          m_iterationLabel->setEnabled(false);
331
331
          break;