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

Public Types

enum  AdvancedSettingsOptions { SIXTEENBITS = 0x00000001 , COLORSPACE = 0x00000002 , POSTPROCESSING = 0x00000004 , BLACKWHITEPOINTS = 0x00000008 }
 
enum  SettingsTabs { DEMOSAICING = 0 , WHITEBALANCE , CORRECTIONS , COLORMANAGEMENT }
 

Signals

void signalItemExpanded (int index, bool b)
 
void signalItemToggled (int index, bool b)
 
void signalSettingsChanged ()
 
void signalSixteenBitsImageToggled (bool)
 

Public Member Functions

void addItem (QWidget *const w, const QIcon &icon, const QString &txt, const QString &objName, bool expandBydefault)
 
void addItem (QWidget *const w, const QString &txt, const QString &objName, bool expandBydefault)
 
void addStretch ()
 
bool brightnessSettingsIsEnabled () const
 
bool checkBoxIsVisible (int index) const
 
int count () const
 
 DRawDecoderWidget (QWidget *const parent, int advSettings=COLORSPACE)
 
int indexOf (DLabelExpander *const widget) const
 
DFileSelectorinputProfileUrlEdit () const
 
void insertItem (int index, QWidget *const w, const QIcon &icon, const QString &txt, const QString &objName, bool expandBydefault)
 
void insertItem (int index, QWidget *const w, const QString &txt, const QString &objName, bool expandBydefault)
 
void insertStretch (int index)
 
bool isChecked (int index) const
 
bool isItemEnabled (int index) const
 
bool isItemExpanded (int index) const
 
QIcon itemIcon (int index) const
 
QString itemText (int index) const
 
QString itemToolTip (int index) const
 
DFileSelectoroutputProfileUrlEdit () const
 
void readSettings (KConfigGroup &group) override
 
void removeItem (int index)
 
void resetToDefault ()
 
void setCheckBoxVisible (int index, bool b)
 
void setChecked (int index, bool b)
 
void setEnabledBrightnessSettings (bool b)
 
void setItemEnabled (int index, bool enabled)
 
void setItemExpanded (int index, bool b)
 
void setItemIcon (int index, const QIcon &icon)
 
void setItemText (int index, const QString &txt)
 
void setItemToolTip (int index, const QString &tip)
 
void setSettings (const DRawDecoderSettings &settings)
 
DRawDecoderSettings settings () const
 
void setup (int advSettings)
 
void updateMinimumWidth ()
 
DLabelExpanderwidget (int index) const
 
void writeSettings (KConfigGroup &group) override
 
 ~DRawDecoderWidget () override
 

Static Public Member Functions

static void readSettings (DRawDecoderSettings &setting, KConfigGroup &group)
 
static void writeSettings (const DRawDecoderSettings &setting, KConfigGroup &group)
 

Member Enumeration Documentation

◆ AdvancedSettingsOptions

Enumerator
SIXTEENBITS 
COLORSPACE 
POSTPROCESSING 
BLACKWHITEPOINTS 

◆ SettingsTabs

Enumerator
DEMOSAICING 
WHITEBALANCE 
CORRECTIONS 
COLORMANAGEMENT 

Constructor & Destructor Documentation

◆ DRawDecoderWidget()

Digikam::DRawDecoderWidget::DRawDecoderWidget ( QWidget *const  parent,
int  advSettings = COLORSPACE 
)
explicit
Parameters
advSettingsthe default value is COLORSPACE

References setup().

◆ ~DRawDecoderWidget()

Digikam::DRawDecoderWidget::~DRawDecoderWidget ( )
override

Member Function Documentation

◆ addItem() [1/2]

void Digikam::DExpanderBox::addItem ( QWidget *const  w,
const QIcon &  icon,
const QString &  txt,
const QString &  objName,
bool  expandBydefault 
)
inherited

Add DLabelExpander item at end of box layout with these settings : 'w' : the widget hosted by DLabelExpander. 'pix' : pixmap used as icon to item title. 'txt' : text used as item title. 'objName' : item object name used to read/save expanded settings to rc file. 'expandBydefault' : item state by default (expanded or not).

Referenced by Digikam::DExpanderBox::addItem(), Digikam::ImportItemPropertiesTab::ImportItemPropertiesTab(), setup(), and Digikam::TemplateViewer::TemplateViewer().

◆ addItem() [2/2]

void Digikam::DExpanderBox::addItem ( QWidget *const  w,
const QString &  txt,
const QString &  objName,
bool  expandBydefault 
)
inherited

◆ addStretch()

◆ brightnessSettingsIsEnabled()

bool Digikam::DRawDecoderWidget::brightnessSettingsIsEnabled ( ) const

◆ checkBoxIsVisible()

bool Digikam::DExpanderBox::checkBoxIsVisible ( int  index) const
inherited

◆ count()

◆ indexOf()

int Digikam::DExpanderBox::indexOf ( DLabelExpander *const  widget) const
inherited

◆ inputProfileUrlEdit()

DFileSelector * Digikam::DRawDecoderWidget::inputProfileUrlEdit ( ) const

◆ insertItem() [1/2]

void Digikam::DExpanderBox::insertItem ( int  index,
QWidget *const  w,
const QIcon &  icon,
const QString &  txt,
const QString &  objName,
bool  expandBydefault 
)
inherited

Insert DLabelExpander item at box layout index with these settings : 'w' : the widget hosted by DLabelExpander. 'pix' : pixmap used as icon to item title. 'txt' : text used as item title. 'objName' : item object name used to read/save expanded settings to rc file. 'expandBydefault' : item state by default (expanded or not).

Referenced by Digikam::DExpanderBox::insertItem(), Digikam::ItemPropertiesTab::ItemPropertiesTab(), and Digikam::ItemSelectionPropertiesTab::ItemSelectionPropertiesTab().

◆ insertItem() [2/2]

void Digikam::DExpanderBox::insertItem ( int  index,
QWidget *const  w,
const QString &  txt,
const QString &  objName,
bool  expandBydefault 
)
inherited

◆ insertStretch()

void Digikam::DExpanderBox::insertStretch ( int  index)
inherited

◆ isChecked()

bool Digikam::DExpanderBox::isChecked ( int  index) const
inherited

◆ isItemEnabled()

bool Digikam::DExpanderBox::isItemEnabled ( int  index) const
inherited

◆ isItemExpanded()

bool Digikam::DExpanderBox::isItemExpanded ( int  index) const
inherited

◆ itemIcon()

QIcon Digikam::DExpanderBox::itemIcon ( int  index) const
inherited

◆ itemText()

QString Digikam::DExpanderBox::itemText ( int  index) const
inherited

◆ itemToolTip()

QString Digikam::DExpanderBox::itemToolTip ( int  index) const
inherited

◆ outputProfileUrlEdit()

DFileSelector * Digikam::DRawDecoderWidget::outputProfileUrlEdit ( ) const

◆ readSettings() [1/2]

void Digikam::DRawDecoderWidget::readSettings ( DRawDecoderSettings setting,
KConfigGroup &  group 
)
static

References Digikam::DRawDecoderSettings::autoBrightness, Digikam::DRawDecoderSettings::blackPoint, Digikam::DRawDecoderSettings::brightness, Digikam::DRawDecoderSettings::customWhiteBalance, Digikam::DRawDecoderSettings::customWhiteBalanceGreen, Digikam::DRawDecoderSettings::dcbEnhanceFl, Digikam::DRawDecoderSettings::dcbIterations, Digikam::DRawDecoderSettings::DontStretchPixels, Digikam::DRawDecoderSettings::enableBlackPoint, Digikam::DRawDecoderSettings::enableWhitePoint, Digikam::DRawDecoderSettings::expoCorrection, Digikam::DRawDecoderSettings::expoCorrectionHighlight, Digikam::DRawDecoderSettings::expoCorrectionShift, Digikam::DRawDecoderSettings::fixColorsHighlights, Digikam::DRawDecoderSettings::medianFilterPasses, Digikam::DRawDecoderSettings::NRThreshold, Digikam::DRawDecoderSettings::NRType, OPTIONAUTOBRIGHTNESSENTRY, OPTIONBLACKPOINTENTRY, OPTIONBRIGHTNESSMULTIPLIERENTRY, OPTIONCUSTOMWBGREENENTRY, OPTIONCUSTOMWHITEBALANCEENTRY, OPTIONDCBENHANCEFLENTRY, OPTIONDCBITERATIONSENTRY, OPTIONDECODESIXTEENBITENTRY, OPTIONDECODINGQUALITYENTRY, OPTIONDONTSTRETCHPIXELSSENTRY, OPTIONEXPOCORRECTIONENTRY, OPTIONEXPOCORRECTIONHIGHLIGHTENTRY, OPTIONEXPOCORRECTIONSHIFTENTRY, OPTIONFIXCOLORSHIGHLIGHTSENTRY, OPTIONFOURCOLORRGBENTRY, OPTIONMEDIANFILTERPASSESENTRY, OPTIONNOISEREDUCTIONTHRESHOLDENTRY, OPTIONNOISEREDUCTIONTYPEENTRY, OPTIONOUTPUTCOLORSPACEENTRY, OPTIONUNCLIPCOLORSENTRY, OPTIONUSEBLACKPOINTENTRY, OPTIONUSEWHITEPOINTENTRY, OPTIONWHITEBALANCEENTRY, OPTIONWHITEPOINTENTRY, Digikam::DRawDecoderSettings::outputColorSpace, Digikam::DRawDecoderSettings::RAWQuality, Digikam::DRawDecoderSettings::RGBInterpolate4Colors, Digikam::DRawDecoderSettings::sixteenBitsImage, Digikam::DRawDecoderSettings::unclipColors, Digikam::DRawDecoderSettings::whiteBalance, and Digikam::DRawDecoderSettings::whitePoint.

◆ readSettings() [2/2]

void Digikam::DRawDecoderWidget::readSettings ( KConfigGroup &  group)
overridevirtual

◆ removeItem()

void Digikam::DExpanderBox::removeItem ( int  index)
inherited

Referenced by setup().

◆ resetToDefault()

void Digikam::DRawDecoderWidget::resetToDefault ( )

References setSettings().

◆ setCheckBoxVisible()

void Digikam::DExpanderBox::setCheckBoxVisible ( int  index,
bool  b 
)
inherited

◆ setChecked()

void Digikam::DExpanderBox::setChecked ( int  index,
bool  b 
)
inherited

◆ setEnabledBrightnessSettings()

void Digikam::DRawDecoderWidget::setEnabledBrightnessSettings ( bool  b)

◆ setItemEnabled()

void Digikam::DExpanderBox::setItemEnabled ( int  index,
bool  enabled 
)
inherited

◆ setItemExpanded()

void Digikam::DExpanderBox::setItemExpanded ( int  index,
bool  b 
)
inherited

◆ setItemIcon()

void Digikam::DExpanderBox::setItemIcon ( int  index,
const QIcon &  icon 
)
inherited

◆ setItemText()

void Digikam::DExpanderBox::setItemText ( int  index,
const QString &  txt 
)
inherited

◆ setItemToolTip()

void Digikam::DExpanderBox::setItemToolTip ( int  index,
const QString &  tip 
)
inherited

◆ setSettings()

void Digikam::DRawDecoderWidget::setSettings ( const DRawDecoderSettings settings)

◆ settings()

DRawDecoderSettings Digikam::DRawDecoderWidget::settings ( ) const

References Digikam::DRawDecoderSettings::AUTO, Digikam::DRawDecoderSettings::autoBrightness, Digikam::DRawDecoderSettings::blackPoint, Digikam::DRawDecoderSettings::brightness, Digikam::DRawDecoderSettings::CAMERA, Digikam::DRawDecoderSettings::CUSTOM, Digikam::DRawDecoderSettings::customWhiteBalance, Digikam::DRawDecoderSettings::customWhiteBalanceGreen, Digikam::DRawDecoderSettings::DCB, Digikam::DRawDecoderSettings::dcbEnhanceFl, Digikam::DRawDecoderSettings::dcbIterations, Digikam::DRawDecoderSettings::DontStretchPixels, Digikam::DRawDecoderSettings::enableBlackPoint, Digikam::DRawDecoderSettings::enableWhitePoint, Digikam::DRawDecoderSettings::expoCorrection, Digikam::DRawDecoderSettings::expoCorrectionHighlight, Digikam::DRawDecoderSettings::expoCorrectionShift, Digikam::DRawDecoderSettings::fixColorsHighlights, Digikam::DRawDecoderSettings::inputColorSpace, Digikam::DRawDecoderSettings::inputProfile, Digikam::DRawDecoderSettings::medianFilterPasses, Digikam::DRawDecoderSettings::NONE, Digikam::DRawDecoderSettings::NONR, Digikam::DRawDecoderSettings::NRThreshold, Digikam::DRawDecoderSettings::NRType, Digikam::DRawDecoderSettings::outputColorSpace, Digikam::DRawDecoderSettings::outputProfile, Digikam::DRawDecoderSettings::RAWQuality, Digikam::DRawDecoderSettings::RGBInterpolate4Colors, Digikam::DRawDecoderSettings::sixteenBitsImage, Digikam::DRawDecoderSettings::unclipColors, Digikam::DRawDecoderSettings::whiteBalance, and Digikam::DRawDecoderSettings::whitePoint.

Referenced by setSettings(), and writeSettings().

◆ setup()

◆ signalItemExpanded

void Digikam::DExpanderBox::signalItemExpanded ( int  index,
bool  b 
)
signalinherited

◆ signalItemToggled

void Digikam::DExpanderBox::signalItemToggled ( int  index,
bool  b 
)
signalinherited

◆ signalSettingsChanged

void Digikam::DRawDecoderWidget::signalSettingsChanged ( )
signal

Referenced by setup().

◆ signalSixteenBitsImageToggled

void Digikam::DRawDecoderWidget::signalSixteenBitsImageToggled ( bool  )
signal

◆ updateMinimumWidth()

void Digikam::DRawDecoderWidget::updateMinimumWidth ( )

◆ widget()

◆ writeSettings() [1/2]

void Digikam::DRawDecoderWidget::writeSettings ( const DRawDecoderSettings setting,
KConfigGroup &  group 
)
static

References Digikam::DRawDecoderSettings::autoBrightness, Digikam::DRawDecoderSettings::blackPoint, Digikam::DRawDecoderSettings::brightness, Digikam::DRawDecoderSettings::customWhiteBalance, Digikam::DRawDecoderSettings::customWhiteBalanceGreen, Digikam::DRawDecoderSettings::dcbEnhanceFl, Digikam::DRawDecoderSettings::dcbIterations, Digikam::DRawDecoderSettings::DontStretchPixels, Digikam::DRawDecoderSettings::enableBlackPoint, Digikam::DRawDecoderSettings::enableWhitePoint, Digikam::DRawDecoderSettings::expoCorrection, Digikam::DRawDecoderSettings::expoCorrectionHighlight, Digikam::DRawDecoderSettings::expoCorrectionShift, Digikam::DRawDecoderSettings::fixColorsHighlights, Digikam::DRawDecoderSettings::medianFilterPasses, Digikam::DRawDecoderSettings::NRThreshold, Digikam::DRawDecoderSettings::NRType, OPTIONAUTOBRIGHTNESSENTRY, OPTIONBLACKPOINTENTRY, OPTIONBRIGHTNESSMULTIPLIERENTRY, OPTIONCUSTOMWBGREENENTRY, OPTIONCUSTOMWHITEBALANCEENTRY, OPTIONDCBENHANCEFLENTRY, OPTIONDCBITERATIONSENTRY, OPTIONDECODESIXTEENBITENTRY, OPTIONDECODINGQUALITYENTRY, OPTIONDONTSTRETCHPIXELSSENTRY, OPTIONEXPOCORRECTIONENTRY, OPTIONEXPOCORRECTIONHIGHLIGHTENTRY, OPTIONEXPOCORRECTIONSHIFTENTRY, OPTIONFIXCOLORSHIGHLIGHTSENTRY, OPTIONFOURCOLORRGBENTRY, OPTIONMEDIANFILTERPASSESENTRY, OPTIONNOISEREDUCTIONTHRESHOLDENTRY, OPTIONNOISEREDUCTIONTYPEENTRY, OPTIONOUTPUTCOLORSPACEENTRY, OPTIONUNCLIPCOLORSENTRY, OPTIONUSEBLACKPOINTENTRY, OPTIONUSEWHITEPOINTENTRY, OPTIONWHITEBALANCEENTRY, OPTIONWHITEPOINTENTRY, Digikam::DRawDecoderSettings::outputColorSpace, Digikam::DRawDecoderSettings::RAWQuality, Digikam::DRawDecoderSettings::RGBInterpolate4Colors, Digikam::DRawDecoderSettings::sixteenBitsImage, Digikam::DRawDecoderSettings::unclipColors, Digikam::DRawDecoderSettings::whiteBalance, and Digikam::DRawDecoderSettings::whitePoint.

◆ writeSettings() [2/2]

void Digikam::DRawDecoderWidget::writeSettings ( KConfigGroup &  group)
overridevirtual

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