digikam
adjustcurvestool.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024 #ifndef ADJUSTCURVESTOOL_H
00025 #define ADJUSTCURVESTOOL_H
00026
00027
00028
00029 #include "editortool.h"
00030
00031 namespace Digikam
00032 {
00033 class DColor;
00034 }
00035
00036 namespace DigikamAdjustCurvesImagesPlugin
00037 {
00038
00039 class AdjustCurvesToolPriv;
00040
00041 class AdjustCurvesTool : public Digikam::EditorTool
00042 {
00043 Q_OBJECT
00044
00045 public:
00046
00047 AdjustCurvesTool(QObject *parent);
00048 ~AdjustCurvesTool();
00049
00050 private:
00051
00052 void readSettings();
00053 void writeSettings();
00054 void finalRendering();
00055
00056 private Q_SLOTS:
00057
00058 void slotSaveAsSettings();
00059 void slotLoadSettings();
00060 void slotEffect();
00061 void slotResetSettings();
00062 void slotResetCurrentChannel();
00063 void slotSpotColorChanged(const Digikam::DColor& color);
00064 void slotColorSelectedFromTarget(const Digikam::DColor& color);
00065 void slotPickerColorButtonActived();
00066 void slotChannelChanged();
00067 void slotScaleChanged();
00068
00069 private:
00070
00071 AdjustCurvesToolPriv* const d;
00072 };
00073
00074 }
00075
00076 #endif