[Digikam-devel] extragear/graphics/digikam/imageplugins
Francisco J. Cruz
fj.cruz at supercable.es
Fri Jan 13 08:58:13 GMT 2006
SVN commit 497582 by fjcruz:
Widget to show icc metadata in open file dialogs. Warning: it's still buggy.
CCMAIL:digikam-devel at kde.org
M +3 -0 imageeffect_iccproof.cpp
--- trunk/extragear/graphics/digikam/imageplugins/imageeffect_iccproof.cpp #497581:497582
@@ -47,6 +47,7 @@
#include <kconfig.h>
#include <kurlrequester.h>
#include <kfiledialog.h>
+#include <kfile.h>
// Digikam includes.
@@ -298,6 +299,8 @@
// QComboBox *m_displayProfileCB = new QComboBox(m_displayProfile);
KURLRequester *m_displayProfileCB = new KURLRequester(m_displayProfile);
+ m_displayProfileCB->setMode(KFile::File|KFile::ExistingOnly);
+ m_displayProfileCB->setFilter("*.icc *.icm|"+i18n("ICC Files (*.icc; *.icm)"));
KFileDialog *displayProfiles_dialog = m_displayProfileCB->fileDialog();
m_iccPreviewWidget = new Digikam::ICCPreviewWidget(displayProfiles_dialog);
displayProfiles_dialog->setPreviewWidget(m_iccPreviewWidget);
More information about the Digikam-devel
mailing list