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

« back to all changes in this revision

Viewing changes to libs/dimg/loaders/jp2ksettings.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:
54
54
        JPEG2000LossLess         = 0;
55
55
    }
56
56
 
57
 
    QGridLayout  *JPEG2000Grid;
58
 
 
59
 
    QLabel       *labelJPEG2000compression;
60
 
 
61
 
    QCheckBox    *JPEG2000LossLess;
62
 
 
63
 
    KIntNumInput *JPEG2000compression;
 
57
    QGridLayout*  JPEG2000Grid;
 
58
 
 
59
    QLabel*       labelJPEG2000compression;
 
60
 
 
61
    QCheckBox*    JPEG2000LossLess;
 
62
 
 
63
    KIntNumInput* JPEG2000compression;
64
64
};
65
65
 
66
 
JP2KSettings::JP2KSettings(QWidget *parent)
67
 
            : QWidget(parent), d(new JP2KSettingsPriv)
 
66
JP2KSettings::JP2KSettings(QWidget* parent)
 
67
    : QWidget(parent), d(new JP2KSettingsPriv)
68
68
{
69
69
    setAttribute(Qt::WA_DeleteOnClose);
70
70
 
81
81
    d->labelJPEG2000compression = new QLabel(i18n("JPEG 2000 quality:"), this);
82
82
 
83
83
    d->JPEG2000compression->setWhatsThis( i18n("<p>The quality value for JPEG 2000 images:</p>"
84
 
                                               "<p><b>1</b>: low quality (high compression and small "
85
 
                                               "file size)<br/>"
86
 
                                               "<b>50</b>: medium quality<br/>"
87
 
                                               "<b>75</b>: good quality (default)<br/>"
88
 
                                               "<b>100</b>: high quality (no compression and "
89
 
                                               "large file size)</p>"
90
 
                                               "<p><b>Note: JPEG 2000 is not a lossless image "
91
 
                                               "compression format when you use this setting.</b></p>"));
 
84
                                          "<p><b>1</b>: low quality (high compression and small "
 
85
                                          "file size)<br/>"
 
86
                                          "<b>50</b>: medium quality<br/>"
 
87
                                          "<b>75</b>: good quality (default)<br/>"
 
88
                                          "<b>100</b>: high quality (no compression and "
 
89
                                          "large file size)</p>"
 
90
                                          "<p><b>Note: JPEG 2000 is not a lossless image "
 
91
                                          "compression format when you use this setting.</b></p>"));
92
92
 
93
93
    d->JPEG2000Grid->addWidget(d->JPEG2000LossLess,         0, 0, 1, 2);
94
94
    d->JPEG2000Grid->addWidget(d->labelJPEG2000compression, 1, 0, 1, 2);