Added tootip CBDL

This commit is contained in:
Desmis
2020-06-13 17:29:40 +02:00
parent 6b05400693
commit 8cfb3d6d05
2 changed files with 13 additions and 0 deletions

View File

@@ -2331,6 +2331,9 @@ TP_LOCALLAB_BUTTON_DUPL;Duplicate
TP_LOCALLAB_BUTTON_REN;Rename
TP_LOCALLAB_BUTTON_VIS;Show/Hide
TP_LOCALLAB_CBDL;Contrast by detail levels - Defects
TP_LOCALLAB_CBDL_ADJ_TOOLTIP;Acts as a wavelet tools.\nThe first level (0) acts on 2x2 details.\nThe last level (5) acts on 64x64 details.
TP_LOCALLAB_CBDLCLARI_TOOLTIP;Takes the midtones and enhance them.
TP_LOCALLAB_CBDL_THRES_TOOLTIP;Prevent the sharpening of noise
TP_LOCALLAB_CENTER_X;Center X
TP_LOCALLAB_CENTER_Y;Center Y
TP_LOCALLAB_CH;Curves CL - LC

View File

@@ -3901,7 +3901,12 @@ void LocallabCBDL::updateAdviceTooltips(const bool showTooltips)
{
if (showTooltips) {
exp->set_tooltip_text(M("TP_LOCALLAB_EXPCBDL_TOOLTIP"));
for (const auto adj : multiplier) {
adj->set_tooltip_text(M("TP_LOCALLAB_CBDL_ADJ_TOOLTIP"));
}
threshold->set_tooltip_text(M("TP_LOCALLAB_CBDL_THRES_TOOLTIP"));
chromacbdl->set_tooltip_text(M("TP_LOCALLAB_CHROMACB_TOOLTIP"));
clarityml->set_tooltip_text(M("TP_LOCALLAB_CBDLCLARI_TOOLTIP"));
sensicb->set_tooltip_text(M("TP_LOCALLAB_SENSIH_TOOLTIP"));
expmaskcb->set_tooltip_markup(M("TP_LOCALLAB_MASK_TOOLTIP"));
CCmaskcbshape->setTooltip(M("TP_LOCALLAB_CURVEEDITOR_CC_TOOLTIP"));
@@ -3914,7 +3919,12 @@ void LocallabCBDL::updateAdviceTooltips(const bool showTooltips)
mask2cbCurveEditorG->set_tooltip_text(M("TP_LOCALLAB_CONTRASTCURVMASK_TOOLTIP"));
} else {
exp->set_tooltip_text("");
for (const auto adj : multiplier) {
adj->set_tooltip_text(M(""));
}
threshold->set_tooltip_text(M(""));
chromacbdl->set_tooltip_text("");
clarityml->set_tooltip_text(M(""));
sensicb->set_tooltip_text("");
expmaskcb->set_tooltip_text("");
CCmaskcbshape->setTooltip("");