digiKam
Digikam::CurvesBox Class Reference
+ Inheritance diagram for Digikam::CurvesBox:

Public Types

enum  ColorPicker { NoPicker = -1 , BlackTonal = 0 , GrayTonal , WhiteTonal }
 
enum  CurvesDrawingType { SmoothDrawing = 0 , FreeDrawing }
 

Public Slots

void setChannel (ChannelType channel)
 
void setScale (HistogramScale scale)
 

Signals

void signalChannelReset (int)
 
void signalCurvesChanged ()
 
void signalCurveTypeChanged (int)
 
void signalPickerChanged (int)
 

Public Member Functions

ChannelType channel () const
 
ImageCurvescurves () const
 
 CurvesBox (int w, int h, const DImg &img, QWidget *const parent=nullptr, bool readOnly=false)
 
 CurvesBox (int w, int h, QWidget *const parent=nullptr, bool readOnly=false)
 
int curvesLeftOffset () const
 
void enableControlWidgets (bool enable)
 
void enableCurveTypes (bool enable)
 
void enableGradients (bool enable)
 
void enableHGradient (bool enable)
 
void enablePickers (bool enable)
 
void enableResetButton (bool enable)
 
void enableVGradient (bool enable)
 
int picker () const
 
void readCurveSettings (KConfigGroup &group, const QString &prefix)
 
void reset ()
 
void resetChannel (int channel)
 
void resetChannels ()
 
void resetPickers ()
 
void setCurveGuide (const DColor &color)
 
void writeCurveSettings (KConfigGroup &group, const QString &prefix)
 
 ~CurvesBox () override
 

Member Enumeration Documentation

◆ ColorPicker

Enumerator
NoPicker 
BlackTonal 
GrayTonal 
WhiteTonal 

◆ CurvesDrawingType

Enumerator
SmoothDrawing 
FreeDrawing 

Constructor & Destructor Documentation

◆ CurvesBox() [1/2]

Digikam::CurvesBox::CurvesBox ( int  w,
int  h,
QWidget *const  parent = nullptr,
bool  readOnly = false 
)

◆ CurvesBox() [2/2]

Digikam::CurvesBox::CurvesBox ( int  w,
int  h,
const DImg img,
QWidget *const  parent = nullptr,
bool  readOnly = false 
)

◆ ~CurvesBox()

Digikam::CurvesBox::~CurvesBox ( )
override

Member Function Documentation

◆ channel()

ChannelType Digikam::CurvesBox::channel ( ) const

◆ curves()

ImageCurves * Digikam::CurvesBox::curves ( ) const

◆ curvesLeftOffset()

int Digikam::CurvesBox::curvesLeftOffset ( ) const

◆ enableControlWidgets()

void Digikam::CurvesBox::enableControlWidgets ( bool  enable)

◆ enableCurveTypes()

void Digikam::CurvesBox::enableCurveTypes ( bool  enable)

Referenced by enableControlWidgets().

◆ enableGradients()

void Digikam::CurvesBox::enableGradients ( bool  enable)

◆ enableHGradient()

void Digikam::CurvesBox::enableHGradient ( bool  enable)

Referenced by enableGradients().

◆ enablePickers()

void Digikam::CurvesBox::enablePickers ( bool  enable)

Referenced by enableControlWidgets().

◆ enableResetButton()

void Digikam::CurvesBox::enableResetButton ( bool  enable)

Referenced by enableControlWidgets().

◆ enableVGradient()

void Digikam::CurvesBox::enableVGradient ( bool  enable)

Referenced by enableGradients().

◆ picker()

int Digikam::CurvesBox::picker ( ) const

◆ readCurveSettings()

void Digikam::CurvesBox::readCurveSettings ( KConfigGroup &  group,
const QString &  prefix 
)

References prefix.

◆ reset()

void Digikam::CurvesBox::reset ( )

◆ resetChannel()

void Digikam::CurvesBox::resetChannel ( int  channel)

References channel().

Referenced by resetChannels().

◆ resetChannels()

void Digikam::CurvesBox::resetChannels ( )

◆ resetPickers()

void Digikam::CurvesBox::resetPickers ( )

References NoPicker, and signalPickerChanged().

◆ setChannel

void Digikam::CurvesBox::setChannel ( ChannelType  channel)
slot

◆ setCurveGuide()

void Digikam::CurvesBox::setCurveGuide ( const DColor color)

◆ setScale

void Digikam::CurvesBox::setScale ( HistogramScale  scale)
slot

◆ signalChannelReset

void Digikam::CurvesBox::signalChannelReset ( int  )
signal

Referenced by resetChannels().

◆ signalCurvesChanged

void Digikam::CurvesBox::signalCurvesChanged ( )
signal

◆ signalCurveTypeChanged

void Digikam::CurvesBox::signalCurveTypeChanged ( int  )
signal

◆ signalPickerChanged

void Digikam::CurvesBox::signalPickerChanged ( int  )
signal

Referenced by resetPickers().

◆ writeCurveSettings()

void Digikam::CurvesBox::writeCurveSettings ( KConfigGroup &  group,
const QString &  prefix 
)

References prefix.


The documentation for this class was generated from the following files: