digiKam
|
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 |
DFileSelector * | inputProfileUrlEdit () 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 |
DFileSelector * | outputProfileUrlEdit () 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 () |
DLabelExpander * | widget (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) |
|
explicit |
advSettings | the default value is COLORSPACE |
References setup().
|
override |
|
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().
|
inherited |
References Digikam::DExpanderBox::addItem().
|
inherited |
bool Digikam::DRawDecoderWidget::brightnessSettingsIsEnabled | ( | ) | const |
|
inherited |
|
inherited |
|
inherited |
References Digikam::DExpanderBox::count(), and Digikam::DExpanderBox::widget().
DFileSelector * Digikam::DRawDecoderWidget::inputProfileUrlEdit | ( | ) | const |
|
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().
|
inherited |
References Digikam::DExpanderBox::insertItem().
|
inherited |
|
inherited |
|
inherited |
|
inherited |
References Digikam::DLabelExpander::isExpanded().
|
inherited |
|
inherited |
|
inherited |
DFileSelector * Digikam::DRawDecoderWidget::outputProfileUrlEdit | ( | ) | const |
|
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.
|
overridevirtual |
Reimplemented from Digikam::DExpanderBox.
References Digikam::DExpanderBox::readSettings(), and setSettings().
Referenced by Digikam::EditorWindow::applyIOSettings().
|
inherited |
Referenced by setup().
void Digikam::DRawDecoderWidget::resetToDefault | ( | ) |
References setSettings().
|
inherited |
|
inherited |
void Digikam::DRawDecoderWidget::setEnabledBrightnessSettings | ( | bool | b | ) |
|
inherited |
|
inherited |
References Digikam::DLabelExpander::setExpanded().
|
inherited |
|
inherited |
|
inherited |
void Digikam::DRawDecoderWidget::setSettings | ( | const DRawDecoderSettings & | settings | ) |
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::NRThreshold, Digikam::DRawDecoderSettings::NRType, Digikam::DRawDecoderSettings::outputColorSpace, Digikam::DRawDecoderSettings::outputProfile, Digikam::DRawDecoderSettings::RAWQuality, Digikam::DRawDecoderSettings::RGBInterpolate4Colors, settings(), Digikam::DRawDecoderSettings::sixteenBitsImage, Digikam::DRawDecoderSettings::unclipColors, Digikam::DRawDecoderSettings::whiteBalance, and Digikam::DRawDecoderSettings::whitePoint.
Referenced by readSettings(), and resetToDefault().
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().
void Digikam::DRawDecoderWidget::setup | ( | int | advSettings | ) |
References Digikam::DRawDecoderSettings::AAHD, Digikam::DComboBox::activated(), Digikam::DExpanderBox::addItem(), Digikam::DExpanderBox::addStretch(), Digikam::DRawDecoderSettings::ADOBERGB, Digikam::DRawDecoderSettings::AHD, Digikam::DRawDecoderSettings::AUTO, Digikam::DRawDecoderSettings::BILINEAR, BLACKWHITEPOINTS, Digikam::DRawDecoderSettings::CAMERA, COLORMANAGEMENT, COLORSPACE, Digikam::DRawDecoderSettings::CUSTOM, Digikam::DRawDecoderSettings::CUSTOMINPUTCS, Digikam::DRawDecoderSettings::CUSTOMOUTPUTCS, Digikam::DRawDecoderSettings::DCB, Digikam::DRawDecoderSettings::DHT, Digikam::DRawDecoderSettings::EMBEDDED, Digikam::DRawDecoderSettings::FBDDNR, Digikam::DRawDecoder::librawVersion(), Digikam::DRawDecoderSettings::NOINPUTCS, Digikam::DRawDecoderSettings::NONE, Digikam::DRawDecoderSettings::NONR, POSTPROCESSING, Digikam::DRawDecoderSettings::PPG, Digikam::DRawDecoderSettings::PROPHOTO, Digikam::DRawDecoderSettings::RAWCOLOR, Digikam::DExpanderBox::removeItem(), signalSettingsChanged(), SIXTEENBITS, Digikam::DRawDecoderSettings::SRGB, Digikam::DDoubleNumInput::valueChanged(), Digikam::DIntNumInput::valueChanged(), Digikam::DRawDecoderSettings::VNG, Digikam::DRawDecoderSettings::WAVELETSNR, and Digikam::DRawDecoderSettings::WIDEGAMMUT.
Referenced by DRawDecoderWidget().
|
signalinherited |
|
signalinherited |
|
signal |
Referenced by setup().
|
signal |
void Digikam::DRawDecoderWidget::updateMinimumWidth | ( | ) |
References Digikam::DExpanderBox::count(), and Digikam::DExpanderBox::widget().
|
inherited |
|
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.
|
overridevirtual |
Reimplemented from Digikam::DExpanderBox.
References settings(), and Digikam::DExpanderBox::writeSettings().