Added tooltip for mask

This commit is contained in:
Desmis
2020-05-26 09:42:27 +02:00
parent f63b7bae55
commit c05de65312
3 changed files with 31 additions and 5 deletions

View File

@@ -2302,6 +2302,7 @@ TP_LOCALLAB_BASELOG;Logarithm base
TP_LOCALLAB_BILATERAL;Bilateral filter
TP_LOCALLAB_BLACK_EV;Black Ev
TP_LOCALLAB_BLENDMASKCOL;Blend
TP_LOCALLAB_BLENDMASK_TOOLTIP;If blend = 0 only shape detection is improved.\nIf blend > 0 the mask is added to the image. If blend < 0 the mask is subtracted from the image
TP_LOCALLAB_BLGUID;Guided Filter
TP_LOCALLAB_BLINV;Inverse
TP_LOCALLAB_BLCO;Chrominance only
@@ -2316,6 +2317,7 @@ TP_LOCALLAB_BLWH_TOOLTIP;Force color change composante "a" and "b" to zero.\nUse
TP_LOCALLAB_SPOTNAME;New Spot
TP_LOCALLAB_BLUFR;Smooth - Blur - Grain - Denoise
TP_LOCALLAB_BLUMETHOD_TOOLTIP;To blur the background and isolate the foreground:\n*Blur the background by a RT-spot fully covering the image (high values for scope and transition) - normal or inverse.\n*Isolate the foreground by one or more excluding RT-spot with the tools you want (increse scope), you can use a mask to enhance and amplify the effects.\n\nThis module can be used in additional noise reduction,including "median" and "Guided filter"
TP_LOCALLAB_BLURMASK_TOOLTIP;Generate a blur mask, take into account the structure with the contrast threshold Mask Blur slider.
TP_LOCALLAB_BLUR;Gaussian Blur - Noise - Grain
TP_LOCALLAB_BLURCBDL;Blur levels 0-1-2-3-4
TP_LOCALLAB_BLURCOL;Radius Mask Blur
@@ -2342,7 +2344,7 @@ TP_LOCALLAB_CHROMASKCOL;Chroma mask
TP_LOCALLAB_CHROMASK_TOOLTIP;You can use this slider to desaturated background (inverse mask - curve near 0).\nAlso to attenuate or enhance the action of a mask on the chroma
TP_LOCALLAB_CHRRT;Chroma
TP_LOCALLAB_CIRCRADIUS;Spot size
TP_LOCALLAB_CIRCRAD_TOOLTIP;Low values may be useful for treating foliage.\nHigh values may be useful for treating skin
TP_LOCALLAB_CIRCRAD_TOOLTIP;Contains the references of RT-spot, useful for shape detection (hue, luma, chroma, Sobel).\nLow values may be useful for treating foliage.\nHigh values may be useful for treating skin
TP_LOCALLAB_CLARICRES;Merge Chroma
TP_LOCALLAB_CLARIFRA;Clarity & Sharp mask - Blend & Soft images
TP_LOCALLAB_CLARILRES;Merge Luma
@@ -2373,8 +2375,8 @@ TP_LOCALLAB_CSTHRESHOLD;Ψ Wavelets Levels
TP_LOCALLAB_CSTHRESHOLDBLUR;Ψ Mask Wavelet level
TP_LOCALLAB_CURV;Lightness - Contrast - Chrominance "Super"
TP_LOCALLAB_CURVCURR;Normal
TP_LOCALLAB_CURVEEDITOR_CC_TOOLTIP;If curves at the top, mask is completely black no transformation is made by the mask on the image.\nAs you go down the curve, the mask gradually more colorful and brilliant, the image is changing more and more
TP_LOCALLAB_CURVEEDITOR_LL_TOOLTIP;To be active, you must check button 'Enable curves'
TP_LOCALLAB_CURVEEDITOR_CC_TOOLTIP;If curves at the top, mask is completely black no transformation is made by the mask on the image.\nAs you go down the curve, the mask gradually more colorful and brilliant, the image is changing more and more.\n\nIt is recommended (not required) to position the top of the curves on the gray transition line which represents the references (chroma, luma, hue).
TP_LOCALLAB_CURVEEDITOR_LL_TOOLTIP;To be active, you must enable combobox 'Curves type'
TP_LOCALLAB_CURVEEDITOR_TONES_LABEL;Tone curve
TP_LOCALLAB_CURVEEDITOR_TONES_TOOLTIP;L=f(L), can be used with L(H) in Color and Light
TP_LOCALLAB_CURVEMETHOD_TOOLTIP;'Normal', the curve L=f(L) has the same algorithm than slider lightness.\n'Super' the curve L=f(L) has an new improved algorithm, which can leeds in some cases to artifacts.
@@ -2540,7 +2542,7 @@ TP_LOCALLAB_MASK2;Contrast curve mask
TP_LOCALLAB_MASK;Mask
TP_LOCALLAB_MASKCOL;Mask Curves
TP_LOCALLAB_MASKH;Hue curve mask
TP_LOCALLAB_MASK_TOOLTIP;You can enable multiple masks for a single tool, this requires activating another tool (but without using the tool : sliders to 0,...) where is the mask you want to activate.
TP_LOCALLAB_MASK_TOOLTIP;You can enable multiple masks for a single tool, this requires activating another tool (but without using the tool : sliders to 0,...) where is the mask you want to activate.\n\nYou can also duplicate the RT-spot and place it right next to each other,variations of references allow fine work on images.
TP_LOCALLAB_MED;Medium
TP_LOCALLAB_MEDIAN;Median Low
TP_LOCALLAB_MEDNONE;None
@@ -2737,6 +2739,7 @@ TP_LOCALLAB_STRUCCOL1;Structure Spot
TP_LOCALLAB_STRUCT_TOOLTIP;Use Sobel algorithm to take into account structure in shape detection.\nyou can have a preview by activating "mask and modifications - Show structure spot"
TP_LOCALLAB_STRUCCOL;Structure
TP_LOCALLAB_STRUMASKCOL;Structure mask strength
TP_LOCALLAB_STRUMASK_TOOLTIP;Generate a structure mask with difference between surface areas and reliefs.\nIf structure mask as tool is enabled, this mask is used in addition to the other tools (gamma, slope, contrast curve ...)
TP_LOCALLAB_STYPE;Shape method
TP_LOCALLAB_STYPE_TOOLTIP;You can choose between:\nSymmetrical - left handle linked to right, top handle linked to bottom.\nIndependent - all handles are independent.
TP_LOCALLAB_SYM;Symmetrical (mouse)

View File

@@ -697,7 +697,7 @@ LocallabColor::LocallabColor():
HHhmaskshape->setIdentityValue(0.);
HHhmaskshape->setResetCurve(FlatCurveType(defSpot.HHhmaskcurve.at(0)), defSpot.HHhmaskcurve);
HHhmaskshape->setTooltip(M("TP_LOCALLAB_CURVEEDITOR_LL_TOOLTIP"));
// HHhmaskshape->setTooltip(M("TP_LOCALLAB_CURVEEDITOR_LL_TOOLTIP"));
HHhmaskshape->setCurveColorProvider(this, 2);
HHhmaskshape->setBottomBarColorProvider(this, 2);
@@ -889,6 +889,9 @@ void LocallabColor::updateAdviceTooltips(const bool showTooltips)
Lmaskshape->setTooltip(M("TP_LOCALLAB_LMASK_LL_TOOLTIP"));
LLmaskcolshapewav->setTooltip(M("TP_LOCALLAB_LMASK_LEVEL_TOOLTIP"));
expmaskcol1->set_tooltip_text(M("TP_LOCALLAB_EXPMERGEFILE_TOOLTIP"));
blendmaskcol->set_tooltip_text(M("TP_LOCALLAB_BLENDMASK_TOOLTIP"));
struFrame->set_tooltip_text(M("TP_LOCALLAB_STRUMASK_TOOLTIP"));
blurFrame->set_tooltip_text(M("TP_LOCALLAB_BLURMASK_TOOLTIP"));
} else {
exp->set_tooltip_text("");
lightness->set_tooltip_text("");
@@ -909,6 +912,9 @@ void LocallabColor::updateAdviceTooltips(const bool showTooltips)
Lmaskshape->setTooltip("");
LLmaskcolshapewav->setTooltip("");
expmaskcol1->set_tooltip_text(M(""));
blendmaskcol->set_tooltip_text(M(""));
struFrame->set_tooltip_text(M(""));
blurFrame->set_tooltip_text(M(""));
}
}
@@ -2464,6 +2470,7 @@ void LocallabExposure::updateAdviceTooltips(const bool showTooltips)
lapmaskexp->set_tooltip_text(M("TP_LOCALLAB_LAPRAD_TOOLTIP"));
strmaskexp->set_tooltip_text(M("TP_LOCALLAB_GRADGEN_TOOLTIP"));
Lmaskexpshape->setTooltip(M("TP_LOCALLAB_LMASK_LL_TOOLTIP"));
blendmaskexp->set_tooltip_text(M("TP_LOCALLAB_BLENDMASK_TOOLTIP"));
} else {
exp->set_tooltip_text("");
expMethod->set_tooltip_text("");
@@ -2486,6 +2493,7 @@ void LocallabExposure::updateAdviceTooltips(const bool showTooltips)
lapmaskexp->set_tooltip_text("");
strmaskexp->set_tooltip_text("");
Lmaskexpshape->setTooltip("");
blendmaskexp->set_tooltip_text(M(""));
}
}
@@ -3478,6 +3486,8 @@ void LocallabShadow::updateAdviceTooltips(const bool showTooltips)
}
gamSH->set_tooltip_text(M("TP_LOCALLAB_SHTRC_TOOLTIP"));
sloSH->set_tooltip_text(M("TP_LOCALLAB_SHTRC_TOOLTIP"));
blendmaskSH->set_tooltip_text(M("TP_LOCALLAB_BLENDMASK_TOOLTIP"));
} else {
exp->set_tooltip_text("");
strSH->set_tooltip_text("");
@@ -3493,6 +3503,7 @@ void LocallabShadow::updateAdviceTooltips(const bool showTooltips)
}
gamSH->set_tooltip_text(M(""));
sloSH->set_tooltip_text(M(""));
blendmaskSH->set_tooltip_text(M(""));
}
}
@@ -4285,6 +4296,7 @@ void LocallabVibrance::updateAdviceTooltips(const bool showTooltips)
LLmaskvibshape->setTooltip(M("TP_LOCALLAB_CURVEEDITOR_CC_TOOLTIP"));
HHmaskvibshape->setTooltip(M("TP_LOCALLAB_CURVEEDITOR_CC_TOOLTIP"));
Lmaskvibshape->setTooltip(M("TP_LOCALLAB_LMASK_LL_TOOLTIP"));
blendmaskvib->set_tooltip_text(M("TP_LOCALLAB_BLENDMASK_TOOLTIP"));
} else {
warm->set_tooltip_text("");
strvib->set_tooltip_text("");
@@ -4293,6 +4305,7 @@ void LocallabVibrance::updateAdviceTooltips(const bool showTooltips)
LLmaskvibshape->setTooltip("");
HHmaskvibshape->setTooltip("");
Lmaskvibshape->setTooltip("");
blendmaskvib->set_tooltip_text(M(""));
}
}
@@ -5463,6 +5476,7 @@ void LocallabBlur::updateAdviceTooltips(const bool showTooltips)
lapmaskbl->set_tooltip_text(M("TP_LOCALLAB_LAPRAD_TOOLTIP"));
Lmaskblshape->setTooltip(M("TP_LOCALLAB_LMASK_LL_TOOLTIP"));
LLmaskblshapewav->setTooltip(M("TP_LOCALLAB_LMASK_LEVEL_TOOLTIP"));
blendmaskbl->set_tooltip_text(M("TP_LOCALLAB_BLENDMASK_TOOLTIP"));
} else {
expblnoise->set_tooltip_text("");
radius->set_tooltip_text("");
@@ -5479,6 +5493,7 @@ void LocallabBlur::updateAdviceTooltips(const bool showTooltips)
lapmaskbl->set_tooltip_text("");
Lmaskblshape->setTooltip("");
LLmaskblshapewav->setTooltip("");
blendmaskbl->set_tooltip_text(M(""));
}
}

View File

@@ -284,6 +284,7 @@ void LocallabTone::updateAdviceTooltips(const bool showTooltips)
lapmasktm->set_tooltip_text(M("TP_LOCALLAB_LAPRAD_TOOLTIP"));
radmasktm->set_tooltip_text(M("TP_LOCALLAB_LAPRAD_TOOLTIP"));
Lmasktmshape->setTooltip(M("TP_LOCALLAB_LMASK_LL_TOOLTIP"));
blendmasktm->set_tooltip_text(M("TP_LOCALLAB_BLENDMASK_TOOLTIP"));
} else {
exp->set_tooltip_text("");
estop->set_tooltip_text("");
@@ -296,6 +297,7 @@ void LocallabTone::updateAdviceTooltips(const bool showTooltips)
lapmasktm->set_tooltip_text("");
radmasktm->set_tooltip_text("");
Lmasktmshape->setTooltip("");
blendmasktm->set_tooltip_text(M(""));
}
}
@@ -1024,6 +1026,7 @@ void LocallabRetinex::updateAdviceTooltips(const bool showTooltips)
radmaskreti->set_tooltip_text(M("TP_LOCALLAB_LAPRAD_TOOLTIP"));
lapmaskreti->set_tooltip_text(M("TP_LOCALLAB_LAPRAD_TOOLTIP"));
Lmaskretishape->setTooltip(M("TP_LOCALLAB_LMASK_LL_TOOLTIP"));
blendmaskreti->set_tooltip_text(M("TP_LOCALLAB_BLENDMASK_TOOLTIP"));
} else {
sensih->set_tooltip_text("");
fftwreti->set_tooltip_text("");
@@ -1042,6 +1045,7 @@ void LocallabRetinex::updateAdviceTooltips(const bool showTooltips)
radmaskreti->set_tooltip_text("");
lapmaskreti->set_tooltip_text("");
Lmaskretishape->setTooltip("");
blendmaskreti->set_tooltip_text(M(""));
}
}
@@ -2554,6 +2558,7 @@ void LocallabContrast::updateAdviceTooltips(const bool showTooltips)
Lmasklcshape->setTooltip(M("TP_LOCALLAB_LMASK_LL_TOOLTIP"));
expcontrastpyr->set_tooltip_text(M("TP_LOCALLAB_EXPCONTRASTPYR_TOOLTIP"));
expcontrastpyr2->set_tooltip_text(M("TP_LOCALLAB_EXPCONTRASTPYR_TOOLTIP"));
blendmasklc->set_tooltip_text(M("TP_LOCALLAB_BLENDMASK_TOOLTIP"));
} else {
exp->set_tooltip_text("");
levelwav->set_tooltip_text("");
@@ -2576,6 +2581,7 @@ void LocallabContrast::updateAdviceTooltips(const bool showTooltips)
Lmasklcshape->setTooltip("");
expcontrastpyr->set_tooltip_text(M(""));
expcontrastpyr2->set_tooltip_text(M(""));
blendmasklc->set_tooltip_text(M(""));
}
}
@@ -3867,6 +3873,7 @@ void LocallabCBDL::updateAdviceTooltips(const bool showTooltips)
radmaskcb->set_tooltip_text(M("TP_LOCALLAB_LAPRAD_TOOLTIP"));
lapmaskcb->set_tooltip_text(M("TP_LOCALLAB_LAPRAD_TOOLTIP"));
Lmaskcbshape->setTooltip(M("TP_LOCALLAB_LMASK_LL_TOOLTIP"));
blendmaskcb->set_tooltip_text(M("TP_LOCALLAB_BLENDMASK_TOOLTIP"));
} else {
exp->set_tooltip_text("");
chromacbdl->set_tooltip_text("");
@@ -3878,6 +3885,7 @@ void LocallabCBDL::updateAdviceTooltips(const bool showTooltips)
radmaskcb->set_tooltip_text("");
lapmaskcb->set_tooltip_text("");
Lmaskcbshape->setTooltip("");
blendmaskcb->set_tooltip_text(M(""));
}
}