[Digikam-devel] [Bug 103255] wish: *add* (not edit) EXIF headers like date, comment etc
Gilles Caulier
caulier.gilles at free.fr
Tue Oct 24 13:11:33 BST 2006
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=103255
------- Additional Comments From caulier.gilles free fr 2006-10-24 14:11 -------
SVN commit 598732 by cgilles:
kipiplugins from trunk : MetadataEdit plugin: add Exif Picture Adjustments informations editor
CCBUGS: 103255
M +1 -1 Makefile.am
A exifadjust.cpp [License: GPL]
A exifadjust.h [License: GPL]
M +10 -0 exifeditdialog.cpp
--- trunk/extragear/libs/kipi-plugins/metadataedit/Makefile.am #598731:598732
@ -14,7 +14,7 @
iptccredits.cpp iptcstatus.cpp iptcorigin.cpp \
iptcdatetime.cpp iptckeywords.cpp iptccategories.cpp \
exifeditdialog.cpp exifcaption.cpp exifdatetime.cpp \
- exiflens.cpp exifexposure.cpp exiflight.cpp
+ exiflens.cpp exifexposure.cpp exiflight.cpp exifadjust.cpp
# Libs needed by the plugin
kipiplugin_metadataedit_la_LIBADD = $(top_builddir)/kipi-plugins/common/exiv2iface/libexiv2iface.la \
--- trunk/extragear/libs/kipi-plugins/metadataedit/exifeditdialog.cpp #598731:598732
@ -42,6 +42,7 @
#include "exiflens.h"
#include "exifexposure.h"
#include "exiflight.h"
+#include "exifadjust.h"
#include "exifeditdialog.h"
#include "exifeditdialog.moc"
@ -60,12 +61,14 @
page_lens = 0;
page_exposure = 0;
page_light = 0;
+ page_adjust = 0;
captionPage = 0;
datetimePage = 0;
lensPage = 0;
exposurePage = 0;
lightPage = 0;
+ adjustPage = 0;
}
QByteArray exifData;
@ -75,12 +78,14 @
QFrame *page_lens;
QFrame *page_exposure;
QFrame *page_light;
+ QFrame *page_adjust;
EXIFCaption *captionPage;
EXIFDateTime *datetimePage;
EXIFLens *lensPage;
EXIFExposure *exposurePage;
EXIFLight *lightPage;
+ EXIFAdjust *adjustPage;
};
EXIFEditDialog::EXIFEditDialog(QWidget* parent, QByteArray exifData, const QString& fileName)
@ -112,6 +117,10 @
BarIcon("idea", KIcon::SizeMedium));
d->lightPage = new EXIFLight(d->page_light, d->exifData);
+ d->page_adjust = addPage(i18n("Adjustments"), i18n("Pictures Adjustments Informations"),
+ BarIcon("blend", KIcon::SizeMedium));
+ d->adjustPage = new EXIFAdjust(d->page_adjust, d->exifData);
+
readSettings();
show();
}
@ -163,6 +172,7 @
d->lensPage->applyMetadata(d->exifData);
d->exposurePage->applyMetadata(d->exifData);
d->lightPage->applyMetadata(d->exifData);
+ d->adjustPage->applyMetadata(d->exifData);
saveSettings();
accept();
More information about the Digikam-devel
mailing list