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

Public Types

enum  ButtonCode {
  Default = 0x00000001 , Try = 0x00000002 , Ok = 0x00000004 , Cancel = 0x00000008 ,
  SaveAs = 0x00000010 , Load = 0x00000020
}
 
enum  ToolCode { NoTool = 0x00000000 , ColorGuide = 0x00000001 , Histogram = 0x00000002 }
 

Signals

void signalCancelClicked ()
 
void signalChannelChanged ()
 
void signalColorGuideChanged ()
 
void signalDefaultClicked ()
 
void signalLoadClicked ()
 
void signalOkClicked ()
 
void signalSaveAsClicked ()
 
void signalScaleChanged ()
 
void signalTryClicked ()
 

Public Member Functions

QPushButton * button (int buttonCode) const
 
 EditorToolSettings (QWidget *const parent)
 
void enableButton (int buttonCode, bool state)
 
QColor guideColor () const
 
int guideSize () const
 
HistogramBoxhistogramBox () const
 
int marginHint ()
 
QSize minimumSizeHint () const override
 
QWidget * plainPage () const
 
virtual void readSettings ()
 
virtual void resetSettings ()
 
virtual void setBusy (bool)
 
void setButtons (Buttons buttonMask)
 
void setGuideColor (const QColor &color)
 
void setGuideSize (int size)
 
void setHistogramType (HistogramBoxType type)
 
void setTool (EditorTool *const tool)
 
void setTools (Tools toolMask)
 
int spacingHint ()
 
virtual void writeSettings ()
 
 ~EditorToolSettings () override
 

Member Enumeration Documentation

◆ ButtonCode

Enumerator
Default 
Try 
Ok 
Cancel 
SaveAs 
Load 

◆ ToolCode

Enumerator
NoTool 
ColorGuide 
Histogram 

Constructor & Destructor Documentation

◆ EditorToolSettings()

◆ ~EditorToolSettings()

Digikam::EditorToolSettings::~EditorToolSettings ( )
override

Member Function Documentation

◆ button()

QPushButton * Digikam::EditorToolSettings::button ( int  buttonCode) const

◆ enableButton()

void Digikam::EditorToolSettings::enableButton ( int  buttonCode,
bool  state 
)

◆ guideColor()

QColor Digikam::EditorToolSettings::guideColor ( ) const

◆ guideSize()

int Digikam::EditorToolSettings::guideSize ( ) const

◆ histogramBox()

◆ marginHint()

int Digikam::EditorToolSettings::marginHint ( )

◆ minimumSizeHint()

QSize Digikam::EditorToolSettings::minimumSizeHint ( ) const
override

◆ plainPage()

QWidget * Digikam::EditorToolSettings::plainPage ( ) const

◆ readSettings()

virtual void Digikam::EditorToolSettings::readSettings ( )
inlinevirtual

◆ resetSettings()

virtual void Digikam::EditorToolSettings::resetSettings ( )
inlinevirtual

◆ setBusy()

virtual void Digikam::EditorToolSettings::setBusy ( bool  )
inlinevirtual

◆ setButtons()

void Digikam::EditorToolSettings::setButtons ( Buttons  buttonMask)

◆ setGuideColor()

void Digikam::EditorToolSettings::setGuideColor ( const QColor &  color)

◆ setGuideSize()

void Digikam::EditorToolSettings::setGuideSize ( int  size)

◆ setHistogramType()

void Digikam::EditorToolSettings::setHistogramType ( HistogramBoxType  type)

◆ setTool()

void Digikam::EditorToolSettings::setTool ( EditorTool *const  tool)

◆ setTools()

void Digikam::EditorToolSettings::setTools ( Tools  toolMask)

◆ signalCancelClicked

void Digikam::EditorToolSettings::signalCancelClicked ( )
signal

Referenced by EditorToolSettings().

◆ signalChannelChanged

void Digikam::EditorToolSettings::signalChannelChanged ( )
signal

Referenced by EditorToolSettings().

◆ signalColorGuideChanged

void Digikam::EditorToolSettings::signalColorGuideChanged ( )
signal

Referenced by EditorToolSettings().

◆ signalDefaultClicked

void Digikam::EditorToolSettings::signalDefaultClicked ( )
signal

Referenced by EditorToolSettings().

◆ signalLoadClicked

void Digikam::EditorToolSettings::signalLoadClicked ( )
signal

Referenced by EditorToolSettings().

◆ signalOkClicked

void Digikam::EditorToolSettings::signalOkClicked ( )
signal

Referenced by EditorToolSettings().

◆ signalSaveAsClicked

void Digikam::EditorToolSettings::signalSaveAsClicked ( )
signal

Referenced by EditorToolSettings().

◆ signalScaleChanged

void Digikam::EditorToolSettings::signalScaleChanged ( )
signal

Referenced by EditorToolSettings().

◆ signalTryClicked

void Digikam::EditorToolSettings::signalTryClicked ( )
signal

Referenced by EditorToolSettings().

◆ spacingHint()

int Digikam::EditorToolSettings::spacingHint ( )

◆ writeSettings()

virtual void Digikam::EditorToolSettings::writeSettings ( )
inlinevirtual

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