Review of default #5664

Consistently use _TOOLTIP suffix for tooltip keys.
This commit is contained in:
Morgan Hardwood 2022-09-23 18:09:44 +02:00
parent 628a573c75
commit cf96139c3a
12 changed files with 27 additions and 27 deletions

View File

@ -104,7 +104,7 @@ EXPORT_PIPELINE;Processing pipeline
EXPORT_PUTTOQUEUEFAST;Put to queue for fast export EXPORT_PUTTOQUEUEFAST;Put to queue for fast export
EXPORT_RAW_DMETHOD;Demosaic method EXPORT_RAW_DMETHOD;Demosaic method
EXPORT_USE_FAST_PIPELINE;Dedicated (full processing on resized image) EXPORT_USE_FAST_PIPELINE;Dedicated (full processing on resized image)
EXPORT_USE_FAST_PIPELINE_TIP;Use a dedicated processing pipeline for images in Fast Export mode, that trades speed for quality. Resizing of the image is done as early as possible, instead of doing it at the end like in the normal pipeline. The speedup can be significant, but be prepared to see artifacts and a general degradation of output quality. EXPORT_USE_FAST_PIPELINE_TOOLTIP;Use a dedicated processing pipeline for images in Fast Export mode, that trades speed for quality. Resizing of the image is done as early as possible, instead of doing it at the end like in the normal pipeline. The speedup can be significant, but be prepared to see artifacts and a general degradation of output quality.
EXPORT_USE_NORMAL_PIPELINE;Standard (bypass some steps, resize at the end) EXPORT_USE_NORMAL_PIPELINE;Standard (bypass some steps, resize at the end)
EXTPROGTARGET_1;raw EXTPROGTARGET_1;raw
EXTPROGTARGET_2;queue-processed EXTPROGTARGET_2;queue-processed
@ -1983,7 +1983,7 @@ PROFILEPANEL_GLOBALPROFILES;Bundled profiles
PROFILEPANEL_LABEL;Processing Profiles PROFILEPANEL_LABEL;Processing Profiles
PROFILEPANEL_LOADDLGLABEL;Load Processing Parameters... PROFILEPANEL_LOADDLGLABEL;Load Processing Parameters...
PROFILEPANEL_LOADPPASTE;Parameters to load PROFILEPANEL_LOADPPASTE;Parameters to load
PROFILEPANEL_MODE_TIP;Processing profile fill mode.\n\nButton pressed: partial profiles will be converted to full profiles; the missing values will be replaced with hard-coded defaults.\n\nButton released: profiles will be applied as they are, altering only those values which they contain. PROFILEPANEL_MODE_TOOLTIP;Processing profile fill mode.\n\nButton pressed: partial profiles will be converted to full profiles; the missing values will be replaced with hard-coded defaults.\n\nButton released: profiles will be applied as they are, altering only those values which they contain.
PROFILEPANEL_MYPROFILES;My profiles PROFILEPANEL_MYPROFILES;My profiles
PROFILEPANEL_PASTEPPASTE;Parameters to paste PROFILEPANEL_PASTEPPASTE;Parameters to paste
PROFILEPANEL_PCUSTOM;Custom PROFILEPANEL_PCUSTOM;Custom
@ -2221,9 +2221,9 @@ TP_COLORAPP_MODELCAT;CAM
TP_COLORAPP_MODELCAT_TOOLTIP;Allows you to choose between CIECAM02 or CIECAM16.\nCIECAM02 will sometimes be more accurate.\nCIECAM16 should generate fewer artifacts. TP_COLORAPP_MODELCAT_TOOLTIP;Allows you to choose between CIECAM02 or CIECAM16.\nCIECAM02 will sometimes be more accurate.\nCIECAM16 should generate fewer artifacts.
TP_COLORAPP_MODEL_TOOLTIP;White-Point Model.\n\n<b>WB [RT] + [output]</b>: RT's white balance is used for the scene, CIECAM is set to D50, and the output device's white balance is set in Viewing Conditions.\n\n<b>WB [RT+CAT02/16] + [output]</b>: RT's white balance settings are used by CAT02 and the output device's white balance is set in Viewing Conditions.\n\n<b>Free temp + tint + CAT02/16 + [output]:</b> temp and tint are selected by the user, the output device's white balance is set in Viewing Conditions. TP_COLORAPP_MODEL_TOOLTIP;White-Point Model.\n\n<b>WB [RT] + [output]</b>: RT's white balance is used for the scene, CIECAM is set to D50, and the output device's white balance is set in Viewing Conditions.\n\n<b>WB [RT+CAT02/16] + [output]</b>: RT's white balance settings are used by CAT02 and the output device's white balance is set in Viewing Conditions.\n\n<b>Free temp + tint + CAT02/16 + [output]:</b> temp and tint are selected by the user, the output device's white balance is set in Viewing Conditions.
TP_COLORAPP_NEUTRAL;Reset TP_COLORAPP_NEUTRAL;Reset
TP_COLORAPP_NEUTRAL_TIP;Reset all sliders checkbox and curves to their default values TP_COLORAPP_NEUTRAL_TOOLTIP;Reset all sliders checkbox and curves to their default values
TP_COLORAPP_PRESETCAT02;Preset CAT02/16 automatic - Symmetric mode TP_COLORAPP_PRESETCAT02;Preset CAT02/16 automatic - Symmetric mode
TP_COLORAPP_PRESETCAT02_TIP;Set combobox, sliders, temp, green so that CAT02/16 automatic is preset.\nYou can change illuminant shooting conditions.\nYou must change CAT02/16 adaptation Viewing conditions if needed.\nYou can change Temperature and Tint Viewing conditions if needed, and other settings if needed.\nAll auto checkbox are disabled TP_COLORAPP_PRESETCAT02_TOOLTIP;Set combobox, sliders, temp, green so that CAT02/16 automatic is preset.\nYou can change illuminant shooting conditions.\nYou must change CAT02/16 adaptation Viewing conditions if needed.\nYou can change Temperature and Tint Viewing conditions if needed, and other settings if needed.\nAll auto checkbox are disabled
TP_COLORAPP_RSTPRO;Red & skin-tones protection TP_COLORAPP_RSTPRO;Red & skin-tones protection
TP_COLORAPP_RSTPRO_TOOLTIP;Red &amp; skin-tones protection affects both sliders and curves. TP_COLORAPP_RSTPRO_TOOLTIP;Red &amp; skin-tones protection affects both sliders and curves.
TP_COLORAPP_SOURCEF_TOOLTIP;Corresponds to the shooting conditions and how to bring the conditions and data back to a 'normal' area. Normal means average or standard conditions and data, i.e. without taking into account CIECAM corrections. TP_COLORAPP_SOURCEF_TOOLTIP;Corresponds to the shooting conditions and how to bring the conditions and data back to a 'normal' area. Normal means average or standard conditions and data, i.e. without taking into account CIECAM corrections.
@ -2293,7 +2293,7 @@ TP_COLORTONING_METHOD;Method
TP_COLORTONING_METHOD_TOOLTIP;'L*a*b* blending', 'RGB sliders' and 'RGB curves' use interpolated color blending.\n'Color balance (Shadows/Midtones/Highlights)' and 'Saturation 2 colors' use direct colors.\n\nThe Black-and-White tool can be enabled when using any color toning method, which allows for color toning. TP_COLORTONING_METHOD_TOOLTIP;'L*a*b* blending', 'RGB sliders' and 'RGB curves' use interpolated color blending.\n'Color balance (Shadows/Midtones/Highlights)' and 'Saturation 2 colors' use direct colors.\n\nThe Black-and-White tool can be enabled when using any color toning method, which allows for color toning.
TP_COLORTONING_MIDTONES;Midtones TP_COLORTONING_MIDTONES;Midtones
TP_COLORTONING_NEUTRAL;Reset sliders TP_COLORTONING_NEUTRAL;Reset sliders
TP_COLORTONING_NEUTRAL_TIP;Reset all values (Shadows, Midtones, Highlights) to default. TP_COLORTONING_NEUTRAL_TOOLTIP;Reset all values (Shadows, Midtones, Highlights) to default.
TP_COLORTONING_OPACITY;Opacity: TP_COLORTONING_OPACITY;Opacity:
TP_COLORTONING_RGBCURVES;RGB - Curves TP_COLORTONING_RGBCURVES;RGB - Curves
TP_COLORTONING_RGBSLIDERS;RGB - Sliders TP_COLORTONING_RGBSLIDERS;RGB - Sliders
@ -2410,7 +2410,7 @@ TP_DIRPYREQUALIZER_SKIN_TOOLTIP;At -100 skin-tones are targetted.\nAt 0 all tone
TP_DIRPYREQUALIZER_THRESHOLD;Threshold TP_DIRPYREQUALIZER_THRESHOLD;Threshold
TP_DIRPYREQUALIZER_TOOLTIP;Attempts to reduce artifacts in the transitions between skin colors (hue, chroma, luma) and the rest of the image. TP_DIRPYREQUALIZER_TOOLTIP;Attempts to reduce artifacts in the transitions between skin colors (hue, chroma, luma) and the rest of the image.
TP_DISTORTION_AMOUNT;Amount TP_DISTORTION_AMOUNT;Amount
TP_DISTORTION_AUTO_TIP;Automatically corrects lens distortion in raw files by matching it against the embedded JPEG image if one exists and has had its lens disortion auto-corrected by the camera. TP_DISTORTION_AUTO_TOOLTIP;Automatically corrects lens distortion in raw files by matching it against the embedded JPEG image if one exists and has had its lens disortion auto-corrected by the camera.
TP_DISTORTION_LABEL;Distortion Correction TP_DISTORTION_LABEL;Distortion Correction
TP_EPD_EDGESTOPPING;Edge stopping TP_EPD_EDGESTOPPING;Edge stopping
TP_EPD_GAMMA;Gamma TP_EPD_GAMMA;Gamma
@ -2419,12 +2419,12 @@ TP_EPD_REWEIGHTINGITERATES;Reweighting iterates
TP_EPD_SCALE;Scale TP_EPD_SCALE;Scale
TP_EPD_STRENGTH;Strength TP_EPD_STRENGTH;Strength
TP_EXPOSURE_AUTOLEVELS;Auto Levels TP_EXPOSURE_AUTOLEVELS;Auto Levels
TP_EXPOSURE_AUTOLEVELS_TIP;Toggles execution of Auto Levels to automatically set Exposure slider values based on an image analysis.\nEnables Highlight Reconstruction if necessary. TP_EXPOSURE_AUTOLEVELS_TOOLTIP;Toggles execution of Auto Levels to automatically set Exposure slider values based on an image analysis.\nEnables Highlight Reconstruction if necessary.
TP_EXPOSURE_BLACKLEVEL;Black TP_EXPOSURE_BLACKLEVEL;Black
TP_EXPOSURE_BRIGHTNESS;Lightness TP_EXPOSURE_BRIGHTNESS;Lightness
TP_EXPOSURE_CLAMPOOG;Clip out-of-gamut colors TP_EXPOSURE_CLAMPOOG;Clip out-of-gamut colors
TP_EXPOSURE_CLIP;Clip % TP_EXPOSURE_CLIP;Clip %
TP_EXPOSURE_CLIP_TIP;The fraction of pixels to be clipped in Auto Levels operation. TP_EXPOSURE_CLIP_TOOLTIP;The fraction of pixels to be clipped in Auto Levels operation.
TP_EXPOSURE_COMPRHIGHLIGHTS;Highlight compression TP_EXPOSURE_COMPRHIGHLIGHTS;Highlight compression
TP_EXPOSURE_COMPRHIGHLIGHTSTHRESHOLD;Highlight compression threshold TP_EXPOSURE_COMPRHIGHLIGHTSTHRESHOLD;Highlight compression threshold
TP_EXPOSURE_COMPRSHADOWS;Shadow compression TP_EXPOSURE_COMPRSHADOWS;Shadow compression
@ -2625,7 +2625,7 @@ TP_LABCURVE_CURVEEDITOR_LH_TOOLTIP;Luminance according to hue L=f(H)
TP_LABCURVE_CURVEEDITOR_LL_TOOLTIP;Luminance according to luminance L=f(L) TP_LABCURVE_CURVEEDITOR_LL_TOOLTIP;Luminance according to luminance L=f(L)
TP_LABCURVE_LABEL;L*a*b* Adjustments TP_LABCURVE_LABEL;L*a*b* Adjustments
TP_LABCURVE_LCREDSK;Restrict LC to red and skin-tones TP_LABCURVE_LCREDSK;Restrict LC to red and skin-tones
TP_LABCURVE_LCREDSK_TIP;If enabled, the LC Curve affects only red and skin-tones.\nIf disabled, it applies to all tones. TP_LABCURVE_LCREDSK_TOOLTIP;If enabled, the LC Curve affects only red and skin-tones.\nIf disabled, it applies to all tones.
TP_LABCURVE_RSTPROTECTION;Red and skin-tones protection TP_LABCURVE_RSTPROTECTION;Red and skin-tones protection
TP_LABCURVE_RSTPRO_TOOLTIP;Works on the Chromaticity slider and the CC curve. TP_LABCURVE_RSTPRO_TOOLTIP;Works on the Chromaticity slider and the CC curve.
TP_LENSGEOM_AUTOCROP;Auto-Crop TP_LENSGEOM_AUTOCROP;Auto-Crop
@ -3445,7 +3445,7 @@ TP_METADATA_MODE;Metadata copy mode
TP_METADATA_STRIP;Strip all metadata TP_METADATA_STRIP;Strip all metadata
TP_METADATA_TUNNEL;Copy unchanged TP_METADATA_TUNNEL;Copy unchanged
TP_NEUTRAL;Reset TP_NEUTRAL;Reset
TP_NEUTRAL_TIP;Resets exposure sliders to neutral values.\nApplies to the same controls that Auto Levels applies to, regardless of whether you used Auto Levels or not. TP_NEUTRAL_TOOLTIP;Resets exposure sliders to neutral values.\nApplies to the same controls that Auto Levels applies to, regardless of whether you used Auto Levels or not.
TP_PCVIGNETTE_FEATHER;Feather TP_PCVIGNETTE_FEATHER;Feather
TP_PCVIGNETTE_FEATHER_TOOLTIP;Feathering:\n0 = corners only,\n50 = halfway to center,\n100 = to center. TP_PCVIGNETTE_FEATHER_TOOLTIP;Feathering:\n0 = corners only,\n50 = halfway to center,\n100 = to center.
TP_PCVIGNETTE_LABEL;Vignette Filter TP_PCVIGNETTE_LABEL;Vignette Filter
@ -3664,7 +3664,7 @@ TP_RETINEX_MLABEL;Restored data Min=%1 Max=%2
TP_RETINEX_MLABEL_TOOLTIP;The values should be close to Min=0 Max=32768 (log mode) but other values are possible.You can adjust 'Clip restored data (gain)' and 'Offset' to normalize.\nRecovers image data without blending TP_RETINEX_MLABEL_TOOLTIP;The values should be close to Min=0 Max=32768 (log mode) but other values are possible.You can adjust 'Clip restored data (gain)' and 'Offset' to normalize.\nRecovers image data without blending
TP_RETINEX_NEIGHBOR;Radius TP_RETINEX_NEIGHBOR;Radius
TP_RETINEX_NEUTRAL;Reset TP_RETINEX_NEUTRAL;Reset
TP_RETINEX_NEUTRAL_TIP;Reset all sliders and curves to their default values. TP_RETINEX_NEUTRAL_TOOLTIP;Reset all sliders and curves to their default values.
TP_RETINEX_OFFSET;Offset (brightness) TP_RETINEX_OFFSET;Offset (brightness)
TP_RETINEX_SCALES;Gaussian gradient TP_RETINEX_SCALES;Gaussian gradient
TP_RETINEX_SCALES_TOOLTIP;If slider at 0, all iterations are identical.\nIf > 0 Scale and radius are reduced when iterations increase, and conversely. TP_RETINEX_SCALES_TOOLTIP;If slider at 0, all iterations are identical.\nIf > 0 Scale and radius are reduced when iterations increase, and conversely.
@ -3700,7 +3700,7 @@ TP_RGBCURVES_RED;R
TP_ROTATE_DEGREE;Degree TP_ROTATE_DEGREE;Degree
TP_ROTATE_LABEL;Rotate TP_ROTATE_LABEL;Rotate
TP_ROTATE_SELECTLINE;Select Straight Line TP_ROTATE_SELECTLINE;Select Straight Line
TP_SAVEDIALOG_OK_TIP;Shortcut: <b>Ctrl-Enter</b> TP_SAVEDIALOG_OK_TOOLTIP;Shortcut: <b>Ctrl-Enter</b>
TP_SHADOWSHLIGHTS_HIGHLIGHTS;Highlights TP_SHADOWSHLIGHTS_HIGHLIGHTS;Highlights
TP_SHADOWSHLIGHTS_HLTONALW;Highlights tonal width TP_SHADOWSHLIGHTS_HLTONALW;Highlights tonal width
TP_SHADOWSHLIGHTS_LABEL;Shadows/Highlights TP_SHADOWSHLIGHTS_LABEL;Shadows/Highlights

View File

@ -270,7 +270,7 @@ ColorAppearance::ColorAppearance () : FoldableToolPanel (this, "colorappearance"
genVBox->pack_start (*catHBox, Gtk::PACK_SHRINK); genVBox->pack_start (*catHBox, Gtk::PACK_SHRINK);
presetcat02 = Gtk::manage (new Gtk::CheckButton (M ("TP_COLORAPP_PRESETCAT02"))); presetcat02 = Gtk::manage (new Gtk::CheckButton (M ("TP_COLORAPP_PRESETCAT02")));
presetcat02->set_tooltip_markup (M("TP_COLORAPP_PRESETCAT02_TIP")); presetcat02->set_tooltip_markup (M("TP_COLORAPP_PRESETCAT02_TOOLTIP"));
presetcat02conn = presetcat02->signal_toggled().connect( sigc::mem_fun(*this, &ColorAppearance::presetcat02pressed)); presetcat02conn = presetcat02->signal_toggled().connect( sigc::mem_fun(*this, &ColorAppearance::presetcat02pressed));
// genVBox->pack_start (*presetcat02, Gtk::PACK_SHRINK); // genVBox->pack_start (*presetcat02, Gtk::PACK_SHRINK);
@ -744,7 +744,7 @@ ColorAppearance::ColorAppearance () : FoldableToolPanel (this, "colorappearance"
RTImage *resetImg = Gtk::manage (new RTImage ("undo-small.png", "redo-small.png")); RTImage *resetImg = Gtk::manage (new RTImage ("undo-small.png", "redo-small.png"));
setExpandAlignProperties (resetImg, false, false, Gtk::ALIGN_CENTER, Gtk::ALIGN_CENTER); setExpandAlignProperties (resetImg, false, false, Gtk::ALIGN_CENTER, Gtk::ALIGN_CENTER);
neutral->set_image (*resetImg); neutral->set_image (*resetImg);
neutral->set_tooltip_text (M ("TP_COLORAPP_NEUTRAL_TIP")); neutral->set_tooltip_text (M ("TP_COLORAPP_NEUTRAL_TOOLTIP"));
neutralconn = neutral->signal_pressed().connect ( sigc::mem_fun (*this, &ColorAppearance::neutral_pressed) ); neutralconn = neutral->signal_pressed().connect ( sigc::mem_fun (*this, &ColorAppearance::neutral_pressed) );
neutral->show(); neutral->show();

View File

@ -315,7 +315,7 @@ ColorToning::ColorToning () : FoldableToolPanel(this, "colortoning", M("TP_COLOR
neutrHBox = Gtk::manage (new Gtk::Box()); neutrHBox = Gtk::manage (new Gtk::Box());
neutral = Gtk::manage (new Gtk::Button (M("TP_COLORTONING_NEUTRAL"))); neutral = Gtk::manage (new Gtk::Button (M("TP_COLORTONING_NEUTRAL")));
neutral->set_tooltip_text (M("TP_COLORTONING_NEUTRAL_TIP")); neutral->set_tooltip_text (M("TP_COLORTONING_NEUTRAL_TOOLTIP"));
neutralconn = neutral->signal_pressed().connect( sigc::mem_fun(*this, &ColorToning::neutral_pressed) ); neutralconn = neutral->signal_pressed().connect( sigc::mem_fun(*this, &ColorToning::neutral_pressed) );
neutral->show(); neutral->show();
neutrHBox->pack_start (*neutral); neutrHBox->pack_start (*neutral);

View File

@ -35,7 +35,7 @@ Distortion::Distortion (): FoldableToolPanel(this, "distortion", M("TP_DISTORTIO
autoDistor->set_image (*Gtk::manage (new RTImage ("distortion-auto-small.png"))); autoDistor->set_image (*Gtk::manage (new RTImage ("distortion-auto-small.png")));
autoDistor->get_style_context()->add_class("independent"); autoDistor->get_style_context()->add_class("independent");
autoDistor->set_alignment(0.5f, 0.5f); autoDistor->set_alignment(0.5f, 0.5f);
autoDistor->set_tooltip_text (M("TP_DISTORTION_AUTO_TIP")); autoDistor->set_tooltip_text (M("TP_DISTORTION_AUTO_TOOLTIP"));
idConn = autoDistor->signal_pressed().connect( sigc::mem_fun(*this, &Distortion::idPressed) ); idConn = autoDistor->signal_pressed().connect( sigc::mem_fun(*this, &Distortion::idPressed) );
autoDistor->show(); autoDistor->show();
pack_start (*autoDistor); pack_start (*autoDistor);

View File

@ -46,7 +46,7 @@ ExportPanel::ExportPanel () : listener (nullptr)
use_normal_pipeline = Gtk::manage ( new Gtk::RadioButton (pipeline_group, M ("EXPORT_USE_NORMAL_PIPELINE"))); use_normal_pipeline = Gtk::manage ( new Gtk::RadioButton (pipeline_group, M ("EXPORT_USE_NORMAL_PIPELINE")));
bypass_box = Gtk::manage (new Gtk::Box(Gtk::ORIENTATION_VERTICAL)); bypass_box = Gtk::manage (new Gtk::Box(Gtk::ORIENTATION_VERTICAL));
bypass_ALL = Gtk::manage ( new Gtk::CheckButton (M ("EXPORT_BYPASS_ALL"))); bypass_ALL = Gtk::manage ( new Gtk::CheckButton (M ("EXPORT_BYPASS_ALL")));
use_fast_pipeline->set_tooltip_text (M ("EXPORT_USE_FAST_PIPELINE_TIP")); use_fast_pipeline->set_tooltip_text (M ("EXPORT_USE_FAST_PIPELINE_TOOLTIP"));
bypass_sharpening = Gtk::manage ( new Gtk::CheckButton (M ("EXPORT_BYPASS_SHARPENING"))); bypass_sharpening = Gtk::manage ( new Gtk::CheckButton (M ("EXPORT_BYPASS_SHARPENING")));
bypass_sharpenEdge = Gtk::manage ( new Gtk::CheckButton (M ("EXPORT_BYPASS_SHARPENEDGE"))); bypass_sharpenEdge = Gtk::manage ( new Gtk::CheckButton (M ("EXPORT_BYPASS_SHARPENEDGE")));
bypass_sharpenMicro = Gtk::manage ( new Gtk::CheckButton (M ("EXPORT_BYPASS_SHARPENMICRO"))); bypass_sharpenMicro = Gtk::manage ( new Gtk::CheckButton (M ("EXPORT_BYPASS_SHARPENMICRO")));

View File

@ -66,7 +66,7 @@ LCurve::LCurve () : FoldableToolPanel(this, "labcurves", M("TP_LABCURVE_LABEL"),
pack_start (*avoidcolorshift, Gtk::PACK_SHRINK, 4); pack_start (*avoidcolorshift, Gtk::PACK_SHRINK, 4);
lcredsk = Gtk::manage (new Gtk::CheckButton (M("TP_LABCURVE_LCREDSK"))); lcredsk = Gtk::manage (new Gtk::CheckButton (M("TP_LABCURVE_LCREDSK")));
lcredsk->set_tooltip_markup (M("TP_LABCURVE_LCREDSK_TIP")); lcredsk->set_tooltip_markup (M("TP_LABCURVE_LCREDSK_TOOLTIP"));
pack_start (*lcredsk); pack_start (*lcredsk);
rstprotection = Gtk::manage ( new Adjuster (M("TP_LABCURVE_RSTPROTECTION"), 0., 100., 0.1, 0.) ); rstprotection = Gtk::manage ( new Adjuster (M("TP_LABCURVE_RSTPROTECTION"), 0., 100., 0.1, 0.) );

View File

@ -6717,7 +6717,7 @@ LocallabBlur::LocallabBlur():
RTImage *resetImg = Gtk::manage (new RTImage ("undo-small.png", "redo-small.png")); RTImage *resetImg = Gtk::manage (new RTImage ("undo-small.png", "redo-small.png"));
setExpandAlignProperties (resetImg, false, false, Gtk::ALIGN_CENTER, Gtk::ALIGN_CENTER); setExpandAlignProperties (resetImg, false, false, Gtk::ALIGN_CENTER, Gtk::ALIGN_CENTER);
neutral->set_image (*resetImg); neutral->set_image (*resetImg);
neutral->set_tooltip_text (M ("TP_RETINEX_NEUTRAL_TIP")); neutral->set_tooltip_text (M ("TP_RETINEX_NEUTRAL_TOOLTIP"));
neutralconn = neutral->signal_pressed().connect ( sigc::mem_fun (*this, &LocallabBlur::neutral_pressed) ); neutralconn = neutral->signal_pressed().connect ( sigc::mem_fun (*this, &LocallabBlur::neutral_pressed) );
neutral->show(); neutral->show();

View File

@ -56,7 +56,7 @@ ProfilePanel::ProfilePanel () : storedPProfile(nullptr), lastSavedPSE(nullptr),
fillMode->set_active(options.filledProfile); fillMode->set_active(options.filledProfile);
fillMode->add( options.filledProfile ? *profileFillModeOnImage : *profileFillModeOffImage ); fillMode->add( options.filledProfile ? *profileFillModeOnImage : *profileFillModeOffImage );
fillMode->signal_toggled().connect ( sigc::mem_fun(*this, &ProfilePanel::profileFillModeToggled) ); fillMode->signal_toggled().connect ( sigc::mem_fun(*this, &ProfilePanel::profileFillModeToggled) );
fillMode->set_tooltip_text(M("PROFILEPANEL_MODE_TIP")); fillMode->set_tooltip_text(M("PROFILEPANEL_MODE_TOOLTIP"));
//GTK318 //GTK318
#if GTK_MAJOR_VERSION == 3 && GTK_MINOR_VERSION < 20 #if GTK_MAJOR_VERSION == 3 && GTK_MINOR_VERSION < 20
fillMode->set_margin_right(2); fillMode->set_margin_right(2);

View File

@ -494,7 +494,7 @@ Retinex::Retinex () : FoldableToolPanel (this, "retinex", M ("TP_RETINEX_LABEL")
RTImage *resetImg = Gtk::manage (new RTImage ("undo-small.png", "redo-small.png")); RTImage *resetImg = Gtk::manage (new RTImage ("undo-small.png", "redo-small.png"));
setExpandAlignProperties (resetImg, false, false, Gtk::ALIGN_CENTER, Gtk::ALIGN_CENTER); setExpandAlignProperties (resetImg, false, false, Gtk::ALIGN_CENTER, Gtk::ALIGN_CENTER);
neutral->set_image (*resetImg); neutral->set_image (*resetImg);
neutral->set_tooltip_text (M ("TP_RETINEX_NEUTRAL_TIP")); neutral->set_tooltip_text (M ("TP_RETINEX_NEUTRAL_TOOLTIP"));
neutralconn = neutral->signal_pressed().connect ( sigc::mem_fun (*this, &Retinex::neutral_pressed) ); neutralconn = neutral->signal_pressed().connect ( sigc::mem_fun (*this, &Retinex::neutral_pressed) );
neutral->show(); neutral->show();

View File

@ -120,7 +120,7 @@ SaveAsDialog::SaveAsDialog (const Glib::ustring &initialDir, Gtk::Window* parent
Gtk::Button* ok = Gtk::manage( new Gtk::Button (M("GENERAL_OK")) ); Gtk::Button* ok = Gtk::manage( new Gtk::Button (M("GENERAL_OK")) );
Gtk::Button* cancel = Gtk::manage( new Gtk::Button (M("GENERAL_CANCEL")) ); Gtk::Button* cancel = Gtk::manage( new Gtk::Button (M("GENERAL_CANCEL")) );
ok->set_tooltip_markup (M("TP_SAVEDIALOG_OK_TIP")); ok->set_tooltip_markup (M("TP_SAVEDIALOG_OK_TOOLTIP"));
ok->signal_clicked().connect( sigc::mem_fun(*this, &SaveAsDialog::okPressed) ); ok->signal_clicked().connect( sigc::mem_fun(*this, &SaveAsDialog::okPressed) );
cancel->signal_clicked().connect( sigc::mem_fun(*this, &SaveAsDialog::cancelPressed) ); cancel->signal_clicked().connect( sigc::mem_fun(*this, &SaveAsDialog::cancelPressed) );

View File

@ -58,11 +58,11 @@ ToneCurve::ToneCurve() : FoldableToolPanel(this, "tonecurve", M("TP_EXPOSURE_LAB
abox->set_spacing (4); abox->set_spacing (4);
autolevels = Gtk::manage(new Gtk::ToggleButton(M("TP_EXPOSURE_AUTOLEVELS"))); autolevels = Gtk::manage(new Gtk::ToggleButton(M("TP_EXPOSURE_AUTOLEVELS")));
autolevels->set_tooltip_markup(M("TP_EXPOSURE_AUTOLEVELS_TIP")); autolevels->set_tooltip_markup(M("TP_EXPOSURE_AUTOLEVELS_TOOLTIP"));
autoconn = autolevels->signal_toggled().connect(sigc::mem_fun(*this, &ToneCurve::autolevels_toggled)); autoconn = autolevels->signal_toggled().connect(sigc::mem_fun(*this, &ToneCurve::autolevels_toggled));
lclip = Gtk::manage(new Gtk::Label(M("TP_EXPOSURE_CLIP"))); lclip = Gtk::manage(new Gtk::Label(M("TP_EXPOSURE_CLIP")));
lclip->set_tooltip_text(M("TP_EXPOSURE_CLIP_TIP")); lclip->set_tooltip_text(M("TP_EXPOSURE_CLIP_TOOLTIP"));
sclip = Gtk::manage(new MySpinButton()); sclip = Gtk::manage(new MySpinButton());
sclip->set_range(0.0, 0.99); sclip->set_range(0.0, 0.99);
@ -74,7 +74,7 @@ ToneCurve::ToneCurve() : FoldableToolPanel(this, "tonecurve", M("TP_EXPOSURE_LAB
sclip->signal_value_changed().connect(sigc::mem_fun(*this, &ToneCurve::clip_changed)); sclip->signal_value_changed().connect(sigc::mem_fun(*this, &ToneCurve::clip_changed));
neutral = Gtk::manage(new Gtk::Button(M("TP_NEUTRAL"))); neutral = Gtk::manage(new Gtk::Button(M("TP_NEUTRAL")));
neutral->set_tooltip_text(M("TP_NEUTRAL_TIP")); neutral->set_tooltip_text(M("TP_NEUTRAL_TOOLTIP"));
neutralconn = neutral->signal_pressed().connect(sigc::mem_fun(*this, &ToneCurve::neutral_pressed)); neutralconn = neutral->signal_pressed().connect(sigc::mem_fun(*this, &ToneCurve::neutral_pressed));
neutral->show(); neutral->show();
@ -872,7 +872,7 @@ void ToneCurve::setBatchMode(bool batchMode)
removeIfThere(abox, autolevels, false); removeIfThere(abox, autolevels, false);
autolevels = Gtk::manage(new Gtk::CheckButton(M("TP_EXPOSURE_AUTOLEVELS"))); autolevels = Gtk::manage(new Gtk::CheckButton(M("TP_EXPOSURE_AUTOLEVELS")));
autolevels->set_tooltip_markup(M("TP_EXPOSURE_AUTOLEVELS_TIP")); autolevels->set_tooltip_markup(M("TP_EXPOSURE_AUTOLEVELS_TOOLTIP"));
autoconn = autolevels->signal_toggled().connect(sigc::mem_fun(*this, &ToneCurve::autolevels_toggled)); autoconn = autolevels->signal_toggled().connect(sigc::mem_fun(*this, &ToneCurve::autolevels_toggled));
abox->pack_start(*autolevels); abox->pack_start(*autolevels);

View File

@ -1168,7 +1168,7 @@ Wavelet::Wavelet() :
//RTImage *resetImg = Gtk::manage (new RTImage ("undo-small.png", "redo-small.png")); //RTImage *resetImg = Gtk::manage (new RTImage ("undo-small.png", "redo-small.png"));
//neutral->set_image(*resetImg); //neutral->set_image(*resetImg);
Gtk::Button* const neutral = Gtk::manage(new Gtk::Button(M("TP_COLORTONING_NEUTRAL"))); Gtk::Button* const neutral = Gtk::manage(new Gtk::Button(M("TP_COLORTONING_NEUTRAL")));
neutral->set_tooltip_text(M("TP_COLORTONING_NEUTRAL_TIP")); neutral->set_tooltip_text(M("TP_COLORTONING_NEUTRAL_TOOLTIP"));
neutralconn = neutral->signal_pressed().connect(sigc::mem_fun(*this, &Wavelet::neutral_pressed)); neutralconn = neutral->signal_pressed().connect(sigc::mem_fun(*this, &Wavelet::neutral_pressed));
neutral->show(); neutral->show();
neutrHBox->pack_start(*neutral, Gtk::PACK_EXPAND_WIDGET); neutrHBox->pack_start(*neutral, Gtk::PACK_EXPAND_WIDGET);