SVN commit 855618 by aclemens:
digiKam from trunk: Lens Correction - Distortion plugin is now ported to Editor Tool API. CCMAIL: [hidden email] M +2 -2 EDITORTOOLPORT M +1 -1 lenscorrection/CMakeLists.txt D lenscorrection/distortion/imageeffect_lensdistortion.cpp D lenscorrection/distortion/imageeffect_lensdistortion.h A lenscorrection/distortion/lensdistortiontool.cpp lenscorrection/distortion/imageeffect_lensdistortion.cpp#855612 [License: GPL (v2+)] A lenscorrection/distortion/lensdistortiontool.h lenscorrection/distortion/imageeffect_lensdistortion.h#855612 [License: GPL (v2+)] M +4 -4 lenscorrection/imageplugin_lenscorrection.cpp --- trunk/extragear/graphics/digikam/imageplugins/EDITORTOOLPORT #855617:855618 @@ -25,7 +25,7 @@ lenscorrection \---antivignetting ImageGuideDlg DONE DONE \---autocorrection ImageGuideDlg DONE DONE - \---distortion ImageGuideDlg A DONE + \---distortion ImageGuideDlg DONE DONE border ImageGuideDlg DONE DONE distortionfx ImageGuideDlg DONE DONE freerotation ImageGuideDlg DONE DONE @@ -34,7 +34,7 @@ sheartool ImageGuideDlg DONE DONE coreplugin - \---blur CtrlPanelDlg G DONE + \---blur CtrlPanelDlg G DONE \---sharpnesseditor CtrlPanelDlg DONE blurfx CtrlPanelDlg charcoal CtrlPanelDlg --- trunk/extragear/graphics/digikam/imageplugins/lenscorrection/CMakeLists.txt #855617:855618 @@ -9,7 +9,7 @@ autocorrection/klensfun.cpp ) -SET(distortion_SRCS distortion/imageeffect_lensdistortion.cpp +SET(distortion_SRCS distortion/lensdistortiontool.cpp distortion/lensdistortion.cpp distortion/pixelaccess.cpp ) --- trunk/extragear/graphics/digikam/imageplugins/lenscorrection/imageplugin_lenscorrection.cpp #855617:855618 @@ -35,16 +35,16 @@ #include "config-digikam.h" #ifdef HAVE_LENSFUN #include "autocorrectiontool.h" +using namespace DigikamAutoCorrectionImagesPlugin; #endif // HAVE_LENSFUN #include "ddebug.h" #include "antivignettingtool.h" -#include "imageeffect_lensdistortion.h" +#include "lensdistortiontool.h" #include "imageplugin_lenscorrection.h" #include "imageplugin_lenscorrection.moc" using namespace DigikamAntiVignettingImagesPlugin; -using namespace DigikamAutoCorrectionImagesPlugin; using namespace DigikamLensDistortionImagesPlugin; K_PLUGIN_FACTORY( LensCorrectionFactory, registerPlugin<ImagePlugin_LensCorrection>(); ) @@ -104,8 +104,8 @@ void ImagePlugin_LensCorrection::slotLensDistortion() { - DigikamLensDistortionImagesPlugin::ImageEffect_LensDistortion dlg(kapp->activeWindow()); - dlg.exec(); + LensDistortionTool *tool = new LensDistortionTool(this); + loadTool(tool); } void ImagePlugin_LensCorrection::slotAntiVignetting() _______________________________________________ Digikam-devel mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-devel |
Free forum by Nabble | Edit this page |