Local adjustments - Tooltips and bug for Dehaz - Retinex (#5937)
* Change tooltip french * Update labels tooltip french * Changes TM - sharp - CBDL * Others changes TM CBDL * French tooltip denoise - blur * Change french tooltips denoise blur * Change combobox blurmethod by checkbox invbl * Change tooltip blur-denoise * another change denoise tooltip * Change one tooltip luminance noise reduction * Add tooltip to dehaz-retinex * Change tooltip for dehaze retinex * Others change tooltip retinex dehaz * Change bad script for one tooltip MLABEL * Another change tooltip
This commit is contained in:
@@ -824,6 +824,7 @@ class LocallabRetinex:
|
||||
{
|
||||
private:
|
||||
// Retinex specific widgets
|
||||
Gtk::Frame* const dehaFrame;
|
||||
Adjuster* const dehaz;
|
||||
Adjuster* const depth;
|
||||
Gtk::CheckButton* const lumonly;
|
||||
|
@@ -683,6 +683,7 @@ LocallabRetinex::LocallabRetinex():
|
||||
LocallabTool(this, M("TP_LOCALLAB_RET_TOOLNAME"), M("TP_LOCALLAB_RETI"), true),
|
||||
|
||||
// Retinex specific widgets
|
||||
dehaFrame(Gtk::manage(new Gtk::Frame(M("TP_LOCALLAB_DEHAFRA")))),
|
||||
dehaz(Gtk::manage(new Adjuster(M("TP_LOCALLAB_DEHAZ"), -100, 100, 1, 0))),
|
||||
depth(Gtk::manage(new Adjuster(M("TP_LOCALLAB_DEPTH"), 0, 100, 1, 25))),
|
||||
lumonly(Gtk::manage(new Gtk::CheckButton(M("TP_LOCALLAB_LUMONLY")))),
|
||||
@@ -733,7 +734,6 @@ LocallabRetinex::LocallabRetinex():
|
||||
const LocallabParams::LocallabSpot defSpot;
|
||||
|
||||
// Parameter Retinex specific widgets
|
||||
dehaz->set_tooltip_text(M("TP_LOCALLAB_DEHAZ_TOOLTIP"));
|
||||
dehaz->setAdjusterListener(this);
|
||||
|
||||
depth->setAdjusterListener(this);
|
||||
@@ -860,7 +860,7 @@ LocallabRetinex::LocallabRetinex():
|
||||
|
||||
// Add Retinex specific widgets to GUI
|
||||
ToolParamBlock* const auxBox = Gtk::manage(new ToolParamBlock());
|
||||
Gtk::Frame* const dehaFrame = Gtk::manage(new Gtk::Frame(M("TP_LOCALLAB_DEHAFRA")));
|
||||
// Gtk::Frame* const dehaFrame = Gtk::manage(new Gtk::Frame(M("TP_LOCALLAB_DEHAFRA")));
|
||||
dehaFrame->set_label_align(0.025, 0.5);
|
||||
ToolParamBlock* const dehaBox = Gtk::manage(new ToolParamBlock());
|
||||
dehaBox->pack_start(*dehaz);
|
||||
@@ -975,9 +975,12 @@ void LocallabRetinex::getMaskView(int &colorMask, int &colorMaskinv, int &expMas
|
||||
void LocallabRetinex::updateAdviceTooltips(const bool showTooltips)
|
||||
{
|
||||
if (showTooltips) {
|
||||
dehaFrame->set_tooltip_text(M("TP_LOCALLAB_DEHAZFRAME_TOOLTIP"));
|
||||
dehaz->set_tooltip_text(M("TP_LOCALLAB_DEHAZ_TOOLTIP"));
|
||||
retiFrame->set_tooltip_text(M("TP_LOCALLAB_RETIFRAME_TOOLTIP"));
|
||||
loglin->set_tooltip_text(M("TP_LOCALLAB_RETI_LOGLIN_TOOLTIP"));
|
||||
sensih->set_tooltip_text(M("TP_LOCALLAB_SENSI_TOOLTIP"));
|
||||
fftwreti->set_tooltip_text(M("TP_LOCALLAB_RETI_FFTW_TOOLTIP"));
|
||||
fftwreti->set_tooltip_text(M("TP_LOCALLAB_LC_FFTW_TOOLTIP"));
|
||||
equilret->set_tooltip_text(M("TP_LOCALLAB_EQUILTM_TOOLTIP"));
|
||||
neigh->set_tooltip_text(M("TP_LOCALLAB_RETI_NEIGH_VART_TOOLTIP"));
|
||||
vart->set_tooltip_text(M("TP_LOCALLAB_RETI_NEIGH_VART_TOOLTIP"));
|
||||
@@ -991,6 +994,7 @@ void LocallabRetinex::updateAdviceTooltips(const bool showTooltips)
|
||||
cTtransshape->setTooltip(M("TP_LOCALLAB_TRANSMISSION_TOOLTIP"));
|
||||
mMLabels->set_tooltip_markup(M("TP_LOCALLAB_MLABEL_TOOLTIP"));
|
||||
transLabels->set_tooltip_markup(M("TP_LOCALLAB_TLABEL_TOOLTIP"));
|
||||
transLabels2->set_tooltip_markup(M("TP_LOCALLAB_TLABEL_TOOLTIP"));
|
||||
cTgainshape->setTooltip(M("TP_RETINEX_GAINTRANSMISSION_TOOLTIP"));
|
||||
expmaskreti->set_tooltip_markup(M("TP_LOCALLAB_MASK_TOOLTIP"));
|
||||
enaretiMasktmap->set_tooltip_markup(M("TP_LOCALLAB_ENARETIMASKTMAP_TOOLTIP"));
|
||||
@@ -1008,6 +1012,9 @@ void LocallabRetinex::updateAdviceTooltips(const bool showTooltips)
|
||||
lapmaskreti->set_tooltip_text(M("TP_LOCALLAB_LAPRAD1_TOOLTIP"));
|
||||
|
||||
} else {
|
||||
dehaFrame->set_tooltip_text("");
|
||||
dehaz->set_tooltip_text("");
|
||||
retiFrame->set_tooltip_text("");
|
||||
loglin->set_tooltip_text("");
|
||||
sensih->set_tooltip_text("");
|
||||
fftwreti->set_tooltip_text("");
|
||||
@@ -1024,6 +1031,7 @@ void LocallabRetinex::updateAdviceTooltips(const bool showTooltips)
|
||||
cTtransshape->setTooltip("");
|
||||
mMLabels->set_tooltip_markup("");
|
||||
transLabels->set_tooltip_markup("");
|
||||
transLabels2->set_tooltip_markup("");
|
||||
cTgainshape->setTooltip("");
|
||||
expmaskreti->set_tooltip_markup("");
|
||||
enaretiMasktmap->set_tooltip_markup("");
|
||||
|
Reference in New Issue
Block a user