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

« back to all changes in this revision

Viewing changes to digikam/imageplugins/channelmixer/channelmixer.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:
6
6
 * Date        : 2005-02-26
7
7
 * Description : image channels mixer.
8
8
 *
9
 
 * Copyright (C) 2005-2007 by Gilles Caulier <caulier dot gilles at gmail dot com>
 
9
 * Copyright (C) 2005-2008 by Gilles Caulier <caulier dot gilles at gmail dot com>
10
10
 *
11
11
 * Load and save mixer gains methods inspired from 
12
12
 * Gimp 2.2.3 and copyrighted 2002 by Martin Guldahl 
101
101
                                       digikam_version,
102
102
                                       I18N_NOOP("An image color channel mixer plugin for digiKam."),
103
103
                                       KAboutData::License_GPL,
104
 
                                       "(c) 2005-2007, Gilles Caulier",
 
104
                                       "(c) 2005-2008, Gilles Caulier",
105
105
                                       0,
106
106
                                       "http://www.digikam.org");
107
107
 
130
130
    m_channelCB->insertItem( i18n("Green") );
131
131
    m_channelCB->insertItem( i18n("Blue") );
132
132
    m_channelCB->setCurrentText( i18n("Red") );
133
 
    QWhatsThis::add( m_channelCB, i18n("<p>Select here the color channel to mix:<p>"
 
133
    QWhatsThis::add( m_channelCB, i18n("<p>Select the color channel to mix here:<p>"
134
134
                                       "<b>Red</b>: display the red image-channel values.<p>"
135
135
                                       "<b>Green</b>: display the green image-channel values.<p>"
136
136
                                       "<b>Blue</b>: display the blue image-channel values.<p>"));
139
139
    m_scaleBG->setExclusive(true);
140
140
    m_scaleBG->setFrameShape(QFrame::NoFrame);
141
141
    m_scaleBG->setInsideMargin( 0 );
142
 
    QWhatsThis::add( m_scaleBG, i18n("<p>Select here the histogram scale.<p>"
 
142
    QWhatsThis::add( m_scaleBG, i18n("<p>Select the histogram scale here.<p>"
143
143
                                     "If the image's maximal counts are small, you can use the linear scale.<p>"
144
144
                                     "Logarithmic scale can be used when the maximal counts are big; "
145
145
                                     "if it is used, all values (small and large) will be visible on the graph."));
188
188
    m_redGain = new KDoubleNumInput(gboxSettings);
189
189
    m_redGain->setPrecision(0);
190
190
    m_redGain->setRange(-200.0, 200.0, 1, true);
191
 
    QWhatsThis::add( m_redGain, i18n("<p>Select here the red color gain in percent for the current channel."));
 
191
    QWhatsThis::add( m_redGain, i18n("<p>Select the red color gain in percent for the current channel here."));
192
192
    
193
193
    QLabel *blueLabel = new QLabel(i18n("Blue:"), gboxSettings);
194
194
    m_greenGain = new KDoubleNumInput(gboxSettings);
195
195
    m_greenGain->setPrecision(0);
196
196
    m_greenGain->setRange(-200.0, 200.0, 1, true);
197
 
    QWhatsThis::add( m_greenGain, i18n("<p>Select here the green color gain in percent for the current channel."));
 
197
    QWhatsThis::add( m_greenGain, i18n("<p>Select the green color gain in percent for the current channel here."));
198
198
    
199
199
    QLabel *greenLabel = new QLabel(i18n("Green:"), gboxSettings);
200
200
    m_blueGain = new KDoubleNumInput(gboxSettings);
201
201
    m_blueGain->setPrecision(0);
202
202
    m_blueGain->setRange(-200.0, 200.0, 1, true);
203
 
    QWhatsThis::add( m_blueGain, i18n("<p>Select here the blue color gain in percent for the current channel."));
 
203
    QWhatsThis::add( m_blueGain, i18n("<p>Select the blue color gain in percent for the current channel here."));
204
204
 
205
205
    m_resetButton = new QPushButton(i18n("&Reset"), gboxSettings);
206
206
    QWhatsThis::add( m_resetButton, i18n("Reset color channels' gains settings from the currently selected channel."));