[Digikam-devel] [Bug 103255] wish: *add* (not edit) EXIF headers like date, comment etc
Gilles Caulier
caulier.gilles at free.fr
Wed Oct 18 15:28:18 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-18 16:28 -------
SVN commit 596794 by cgilles:
kipiplugins from trunk : MetadataEdit plugin: started Exif Exposure informations editor. Not yet complete
CCBUGS: 103255
M +2 -1 Makefile.am
M +13 -11 exifeditdialog.cpp
A exifexposure.cpp [License: GPL]
A exifexposure.h [License: GPL]
--- trunk/extragear/libs/kipi-plugins/metadataedit/Makefile.am #596793:596794
@ -13,7 +13,8 @
metadataitem.cpp iptceditdialog.cpp iptccaption.cpp \
iptccredits.cpp iptcstatus.cpp iptcorigin.cpp \
iptcdatetime.cpp iptckeywords.cpp iptccategories.cpp \
- exifeditdialog.cpp exifcaption.cpp exifdatetime.cpp
+ exifeditdialog.cpp exifcaption.cpp exifdatetime.cpp \
+ exifexposure.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 #596793:596794
@ -39,6 +39,7 @
#include "exifcaption.h"
#include "exifdatetime.h"
+#include "exifexposure.h"
#include "exifeditdialog.h"
#include "exifeditdialog.moc"
@ -53,7 +54,7 @
EXIFEditDialogDialogPrivate()
{
page_caption = 0;
- page_keywords = 0;
+ page_exposure = 0;
page_credits = 0;
page_status = 0;
page_origin = 0;
@ -62,7 +63,7 @
captionPage = 0;
datetimePage = 0;
/*
- keywordsPage = 0;
+ exposurePage = 0;
creditsPage = 0;
statusPage = 0;
originPage = 0;
@ -73,7 +74,7 @
QFrame *page_caption;
QFrame *page_datetime;
- QFrame *page_keywords;
+ QFrame *page_exposure;
QFrame *page_categories;
QFrame *page_credits;
QFrame *page_status;
@ -81,9 +82,9 @
EXIFCaption *captionPage;
EXIFDateTime *datetimePage;
-/*
- EXIFKeywords *keywordsPage;
- EXIFCategories *categoriesPage;
+ EXIFExposure *exposurePage;
+
+/* EXIFCategories *categoriesPage;
EXIFCredits *creditsPage;
EXIFStatus *statusPage;
EXIFOrigin *originPage;
@ -107,11 +108,11 @
BarIcon("today", KIcon::SizeMedium));
d->datetimePage = new EXIFDateTime(d->page_datetime, d->exifData);
-/* d->page_keywords = addPage(i18n("Keywords"), i18n("EXIF Keywords Informations"),
- BarIcon("bookmark", KIcon::SizeMedium));
- d->keywordsPage = new EXIFKeywords(d->page_keywords, d->exifData);
+ d->page_exposure = addPage(i18n("Exposure"), i18n("EXIF Exposure Informations"),
+ BarIcon("camera", KIcon::SizeMedium));
+ d->exposurePage = new EXIFExposure(d->page_exposure, d->exifData);
- d->page_categories = addPage(i18n("Categories"), i18n("EXIF Categories Informations"),
+/* d->page_categories = addPage(i18n("Categories"), i18n("EXIF Categories Informations"),
BarIcon("bookmark_folder", KIcon::SizeMedium));
d->categoriesPage = new EXIFCategories(d->page_categories, d->exifData);
@ -176,8 +177,9 @
{
d->captionPage->applyMetadata(d->exifData);
d->datetimePage->applyMetadata(d->exifData);
+ d->exposurePage->applyMetadata(d->exifData);
+
/*
- d->keywordsPage->applyMetadata(d->exifData);
d->categoriesPage->applyMetadata(d->exifData);
d->creditsPage->applyMetadata(d->exifData);
d->statusPage->applyMetadata(d->exifData);
More information about the Digikam-devel
mailing list