Change in locallab.h and cc some labels frame Box with const
This commit is contained in:
parent
34851ead73
commit
eb1884d255
@ -467,6 +467,14 @@ Locallab::Locallab():
|
||||
// retiBox(Gtk::manage(new Gtk::Frame(M("TP_LOCALLAB_CLARIFRA")))),
|
||||
retiBox(Gtk::manage(new ToolParamBlock())),
|
||||
maskretiBox(Gtk::manage(new ToolParamBlock())),
|
||||
labgrid(Gtk::manage(new LabGrid(EvLocallabLabGridValue, M("TP_LOCALLAB_LABGRID_VALUES")))),
|
||||
mMLabels(Gtk::manage(new Gtk::Label("---"))),
|
||||
transLabels(Gtk::manage(new Gtk::Label("---"))),
|
||||
transLabels2(Gtk::manage(new Gtk::Label("---"))),
|
||||
ctboxsoftmethod(Gtk::manage(new Gtk::HBox())),
|
||||
ctboxexpmethod(Gtk::manage(new Gtk::HBox())),
|
||||
|
||||
|
||||
// Others
|
||||
defparams(nullptr),
|
||||
defpedited(nullptr),
|
||||
@ -771,7 +779,7 @@ Locallab::Locallab():
|
||||
csThresholdcol->setAdjusterListener(this);
|
||||
|
||||
|
||||
labgrid = Gtk::manage(new LabGrid(EvLocallabLabGridValue, M("TP_LOCALLAB_LABGRID_VALUES")));
|
||||
// labgrid = Gtk::manage(new LabGrid(EvLocallabLabGridValue, M("TP_LOCALLAB_LABGRID_VALUES")));
|
||||
|
||||
ToolParamBlock* const colorBox = Gtk::manage(new ToolParamBlock());
|
||||
Gtk::Frame* const superFrame = Gtk::manage(new Gtk::Frame());
|
||||
@ -858,7 +866,7 @@ Locallab::Locallab():
|
||||
expMethod->set_tooltip_text(M("TP_LOCALLAB_EXPMETHOD_TOOLTIP"));
|
||||
}
|
||||
|
||||
ctboxexpmethod = Gtk::manage(new Gtk::HBox());
|
||||
// ctboxexpmethod = Gtk::manage(new Gtk::HBox());
|
||||
Gtk::Label* const labelexpmethod = Gtk::manage(new Gtk::Label(M("TP_LOCALLAB_NOISEMETH") + ":"));
|
||||
ctboxexpmethod->pack_start(*labelexpmethod, Gtk::PACK_SHRINK, 4);
|
||||
|
||||
@ -1387,7 +1395,7 @@ Locallab::Locallab():
|
||||
softMethodConn = softMethod->signal_changed().connect(sigc::mem_fun(*this, &Locallab::softMethodChanged));
|
||||
|
||||
|
||||
ctboxsoftmethod = Gtk::manage(new Gtk::HBox());
|
||||
// ctboxsoftmethod = Gtk::manage(new Gtk::HBox());
|
||||
Gtk::Label* const labelsoftmethod = Gtk::manage(new Gtk::Label(M("TP_LOCALLAB_SHOWDCT") + ":"));
|
||||
ctboxsoftmethod->pack_start(*labelsoftmethod, Gtk::PACK_SHRINK, 4);
|
||||
|
||||
@ -1680,21 +1688,21 @@ Locallab::Locallab():
|
||||
softradiusret->set_tooltip_text(M("TP_LOCALLAB_SOFTRETI_TOOLTIP"));
|
||||
}
|
||||
|
||||
mMLabels = Gtk::manage(new Gtk::Label("---"));
|
||||
// mMLabels = Gtk::manage(new Gtk::Label("---"));
|
||||
setExpandAlignProperties(mMLabels, true, false, Gtk::ALIGN_CENTER, Gtk::ALIGN_START);
|
||||
|
||||
if (showtooltip) {
|
||||
mMLabels->set_tooltip_markup(M("TP_LOCALLAB_MLABEL_TOOLTIP"));
|
||||
}
|
||||
|
||||
transLabels = Gtk::manage(new Gtk::Label("---"));
|
||||
// transLabels = Gtk::manage(new Gtk::Label("---"));
|
||||
setExpandAlignProperties(transLabels, true, false, Gtk::ALIGN_CENTER, Gtk::ALIGN_START);
|
||||
|
||||
if (showtooltip) {
|
||||
transLabels->set_tooltip_markup(M("TP_LOCALLAB_TLABEL_TOOLTIP"));
|
||||
}
|
||||
|
||||
transLabels2 = Gtk::manage(new Gtk::Label("---"));
|
||||
// transLabels2 = Gtk::manage(new Gtk::Label("---"));
|
||||
setExpandAlignProperties(transLabels2, true, false, Gtk::ALIGN_CENTER, Gtk::ALIGN_START);
|
||||
|
||||
LocalcurveEditortransT->setCurveListener(this);
|
||||
|
@ -461,28 +461,28 @@ private:
|
||||
Gtk::Button* const lumaneutralButton;
|
||||
Gtk::Button* const lumacontrastPlusButton;
|
||||
sigc::connection lumacontrastMinusPressedConn, lumaneutralPressedConn, lumacontrastPlusPressedConn;
|
||||
Gtk::Frame* gridFrame;
|
||||
Gtk::Frame* mergecolFrame;
|
||||
Gtk::Frame* merge1colFrame;
|
||||
Gtk::Frame* pdeFrame;
|
||||
Gtk::Frame* fatFrame;
|
||||
Gtk::Frame* fatSHFrame;
|
||||
Gtk::Frame* gamFrame;
|
||||
Gtk::Frame* dehaFrame;
|
||||
Gtk::Frame* retiFrame;
|
||||
Gtk::Frame* retitoolFrame;
|
||||
Gtk::Frame* residFrame;
|
||||
Gtk::Frame* clariFrame;
|
||||
Gtk::Frame* grainFrame;
|
||||
ToolParamBlock * retiBox;
|
||||
ToolParamBlock * maskretiBox;
|
||||
LabGrid *labgrid;
|
||||
Gtk::Label* mMLabels;
|
||||
Gtk::Label* transLabels;
|
||||
Gtk::Label* transLabels2;
|
||||
Gtk::Frame* const gridFrame;
|
||||
Gtk::Frame* const mergecolFrame;
|
||||
Gtk::Frame* const merge1colFrame;
|
||||
Gtk::Frame* const pdeFrame;
|
||||
Gtk::Frame* const fatFrame;
|
||||
Gtk::Frame* const fatSHFrame;
|
||||
Gtk::Frame* const gamFrame;
|
||||
Gtk::Frame* const dehaFrame;
|
||||
Gtk::Frame* const retiFrame;
|
||||
Gtk::Frame* const retitoolFrame;
|
||||
Gtk::Frame* const residFrame;
|
||||
Gtk::Frame* const clariFrame;
|
||||
Gtk::Frame* const grainFrame;
|
||||
ToolParamBlock * const retiBox;
|
||||
ToolParamBlock * const maskretiBox;
|
||||
LabGrid * const labgrid;
|
||||
Gtk::Label* const mMLabels;
|
||||
Gtk::Label* const transLabels;
|
||||
Gtk::Label* const transLabels2;
|
||||
// Others
|
||||
Gtk::HBox* ctboxsoftmethod;
|
||||
Gtk::HBox* ctboxexpmethod;
|
||||
Gtk::HBox* const ctboxsoftmethod;
|
||||
Gtk::HBox* const ctboxexpmethod;
|
||||
double nextmin;
|
||||
double nextmax;
|
||||
double nextminiT;
|
||||
|
Loading…
x
Reference in New Issue
Block a user