Changeset View
Changeset View
Standalone View
Standalone View
Settings/ExifPage.cpp
Show All 30 Lines | 30 | Settings::ExifPage::ExifPage( QWidget* parent ) | |||
---|---|---|---|---|---|
31 | : QWidget( parent ) | 31 | : QWidget( parent ) | ||
32 | { | 32 | { | ||
33 | QVBoxLayout* vlay = new QVBoxLayout( this ); | 33 | QVBoxLayout* vlay = new QVBoxLayout( this ); | ||
34 | QHBoxLayout* hlay1 = new QHBoxLayout(); | 34 | QHBoxLayout* hlay1 = new QHBoxLayout(); | ||
35 | QHBoxLayout* hlay2 = new QHBoxLayout(); | 35 | QHBoxLayout* hlay2 = new QHBoxLayout(); | ||
36 | vlay->addLayout( hlay1 ); | 36 | vlay->addLayout( hlay1 ); | ||
37 | vlay->addLayout( hlay2 ); | 37 | vlay->addLayout( hlay2 ); | ||
38 | 38 | | |||
39 | m_exifForViewer = new Exif::TreeView( i18n( "EXIF/IPTC info to show in the Viewer" ), this ); | 39 | m_exifForViewer = new Exif::TreeView( i18n( "Exif/IPTC info to show in the viewer" ), this ); | ||
johanneszarl: Do the same capitalization rules as for EXIF apply for IPTC? (Although I have to say "Iptc" is… | |||||
pino: No, compare the two:
https://en.wikipedia. | |||||
40 | hlay1->addWidget( m_exifForViewer ); | 40 | hlay1->addWidget( m_exifForViewer ); | ||
41 | 41 | | |||
42 | m_exifForDialog = new Exif::TreeView( i18n("EXIF/IPTC info to show in the EXIF dialog"), this ); | 42 | m_exifForDialog = new Exif::TreeView( i18n("Exif/IPTC info to show in the Exif dialog"), this ); | ||
43 | hlay1->addWidget( m_exifForDialog ); | 43 | hlay1->addWidget( m_exifForDialog ); | ||
44 | 44 | | |||
45 | QLabel* iptcCharsetLabel = new QLabel( i18n("Character set for image metadata:"), this ); | 45 | QLabel* iptcCharsetLabel = new QLabel( i18n("Character set for image metadata:"), this ); | ||
46 | m_iptcCharset = new KComboBox( this ); | 46 | m_iptcCharset = new KComboBox( this ); | ||
47 | QStringList charsets; | 47 | QStringList charsets; | ||
48 | QList<QByteArray> charsetsBA = QTextCodec::availableCodecs(); | 48 | QList<QByteArray> charsetsBA = QTextCodec::availableCodecs(); | ||
49 | for (QList<QByteArray>::const_iterator it = charsetsBA.constBegin(); it != charsetsBA.constEnd(); ++it ) | 49 | for (QList<QByteArray>::const_iterator it = charsetsBA.constBegin(); it != charsetsBA.constEnd(); ++it ) | ||
50 | charsets << QString::fromLatin1(*it); | 50 | charsets << QString::fromLatin1(*it); | ||
Show All 25 Lines |
Do the same capitalization rules as for EXIF apply for IPTC? (Although I have to say "Iptc" is barely readable compared to "IPTC"...