extragear/graphics/digikam/imageplugins

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

extragear/graphics/digikam/imageplugins

F.J.Cruz
SVN commit 497582 by fjcruz:

Widget to show icc metadata in open file dialogs. Warning: it's still buggy.

CCMAIL:[hidden email]

 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);
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel