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

« back to all changes in this revision

Viewing changes to digikam/libs/widgets/iccprofiles/iccprofilewidget.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        : 2006-06-23
7
7
 * Description : a tab widget to display ICC profile infos
8
8
 * 
9
 
 * Copyright (C) 2006-2007 by Gilles Caulier <caulier dot gilles at gmail dot com>
 
9
 * Copyright (C) 2006-2008 by Gilles Caulier <caulier dot gilles at gmail dot com>
10
10
 *
11
11
 * This program is free software; you can redistribute it
12
12
 * and/or modify it under the terms of the GNU General
131
131
    d->iccTagsDescription["Icc.Header.Description"]     = ICCTagInfo(i18n("Description"),  
132
132
                                                          i18n("The ICC profile product description"));
133
133
    d->iccTagsDescription["Icc.Header.Information"]     = ICCTagInfo(i18n("Information"),  
134
 
                                                          i18n("The additional ICC profile information"));
 
134
                                                          i18n("Additional ICC profile information"));
135
135
    d->iccTagsDescription["Icc.Header.Manufacturer"]    = ICCTagInfo(i18n("Manufacturer"), 
136
 
                                                          i18n("The raw information about ICC profile manufacturer"));
 
136
                                                          i18n("Raw information about the ICC profile manufacturer"));
137
137
    d->iccTagsDescription["Icc.Header.Model"]           = ICCTagInfo(i18n("Model"), 
138
 
                                                          i18n("The raw information about ICC profile model"));
 
138
                                                          i18n("Raw information about the ICC profile model"));
139
139
    d->iccTagsDescription["Icc.Header.Copyright"]       = ICCTagInfo(i18n("Copyright"), 
140
 
                                                          i18n("The raw information about ICC profile copyright"));
 
140
                                                          i18n("Raw information about the ICC profile copyright"));
141
141
    d->iccTagsDescription["Icc.Header.ProfileID"]       = ICCTagInfo(i18n("Profile ID"), 
142
142
                                                          i18n("The ICC profile ID number"));
143
143
    d->iccTagsDescription["Icc.Header.ColorSpace"]      = ICCTagInfo(i18n("Color Space"), 
196
196
    d->cieTongue->loadingFailed();
197
197
}
198
198
 
199
 
QString ICCProfileWidget::getMetadataTitle(void)
 
199
QString ICCProfileWidget::getMetadataTitle()
200
200
{
201
201
    return i18n("ICC Color Profile Information");
202
202
}
406
406
    return true;
407
407
}
408
408
 
409
 
void ICCProfileWidget::buildView(void)
 
409
void ICCProfileWidget::buildView()
410
410
{    
411
411
    if (getMode() == SIMPLE)
412
412
    {
416
416
    {
417
417
        setIfdList(getMetadataMap(), d->keysFilter, QStringList());
418
418
    }
 
419
 
 
420
    MetadataWidget::buildView();
419
421
}
420
422
 
421
423
QString ICCProfileWidget::getTagTitle(const QString& key)
427
429
    return key.section('.', 2, 2);
428
430
}
429
431
 
430
 
void ICCProfileWidget::slotSaveMetadataToFile(void)
 
432
void ICCProfileWidget::slotSaveMetadataToFile()
431
433
{
432
434
    KURL url = saveMetadataToFile(i18n("ICC color profile File to Save"), 
433
435
                                  QString("*.icc *.icm|"+i18n("ICC Files (*.icc; *.icm)")));
444
446
}
445
447
 
446
448
}  // namespace Digikam
447