SVN commit 855274 by aclemens:
digiKam from trunk: Aspect Ratio Crop plugin is now ported to Editor Tool API. CCMAIL: [hidden email] M +1 -1 EDITORTOOLPORT M +2 -2 coreplugin/CMakeLists.txt M +3 -3 coreplugin/imageplugin_core.cpp D coreplugin/ratiocrop/imageeffect_ratiocrop.cpp D coreplugin/ratiocrop/imageeffect_ratiocrop.h A coreplugin/ratiocrop/ratiocroptool.cpp coreplugin/ratiocrop/imageeffect_ratiocrop.cpp#855233 [License: GPL (v2+)] A coreplugin/ratiocrop/ratiocroptool.h coreplugin/ratiocrop/imageeffect_ratiocrop.h#855233 [License: GPL (v2+)] --- trunk/extragear/graphics/digikam/imageplugins/EDITORTOOLPORT #855273:855274 @@ -7,7 +7,7 @@ \---bwsepia ImageDlgBase DONE \---hsl ImageDlgBase DONE \---iccproof ImageDlgBase DONE - \---ratiocrop ImageDlgBase A + \---ratiocrop ImageDlgBase DONE \---redeye ImageDlgBase DONE \---rgbtool ImageDlgBase DONE adjustcurves ImageDlgBase DONE --- trunk/extragear/graphics/digikam/imageplugins/coreplugin/CMakeLists.txt #855273:855274 @@ -51,11 +51,11 @@ ../../imageplugins/coreplugin/bwsepiatool.cpp ../../imageplugins/coreplugin/hsl/hsltool.cpp ../../imageplugins/coreplugin/hsl/hspreviewwidget.cpp + ../../imageplugins/coreplugin/iccprooftool.cpp ../../imageplugins/coreplugin/imageeffect_blur.cpp - ../../imageplugins/coreplugin/iccprooftool.cpp ../../imageplugins/coreplugin/imageplugin_core.cpp - ../../imageplugins/coreplugin/ratiocrop/imageeffect_ratiocrop.cpp ../../imageplugins/coreplugin/ratiocrop/imageselectionwidget.cpp + ../../imageplugins/coreplugin/ratiocrop/ratiocroptool.cpp ../../imageplugins/coreplugin/redeyetool.cpp ../../imageplugins/coreplugin/rgbtool.cpp ../../imageplugins/coreplugin/sharpnesseditor/imageeffect_sharpen.cpp --- trunk/extragear/graphics/digikam/imageplugins/coreplugin/imageplugin_core.cpp #855273:855274 @@ -45,7 +45,7 @@ #include "hsltool.h" #include "iccprooftool.h" #include "imageeffect_blur.h" -#include "imageeffect_ratiocrop.h" +#include "ratiocroptool.h" #include "imageeffect_sharpen.h" #include "redeyetool.h" #include "rgbtool.h" @@ -305,6 +305,6 @@ void ImagePlugin_Core::slotRatioCrop() { - ImageEffect_RatioCrop dlg(kapp->activeWindow()); - dlg.exec(); + RatioCropTool *tool = new RatioCropTool(kapp->activeWindow()); + loadTool(tool); } _______________________________________________ Digikam-devel mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-devel |
Free forum by Nabble | Edit this page |