15 #include "TGNumberEntry.h"
64 TGCompositeFrame*
frame =
new TGHorizontalFrame(iParent);
67 TGNumberFormat::ELimit
limits =
69 ? TGNumberFormat::kNELNoLimits
70 : (
m_param->
min() >
m_param->
max() ? TGNumberFormat::kNELLimitMin : TGNumberFormat::kNELLimitMinMax);
81 TGNumberFormat::kNESReal,
82 TGNumberFormat::kNEAAnyNumber,
87 frame->AddFrame(
m_widget,
new TGLayoutHints(kLHintsLeft | kLHintsCenterY, 2, 8, 2, 2));
88 m_widget->Connect(
"ValueSet(Long_t)",
"FWDoubleParameterSetter",
this,
"doUpdate(Long_t)");
91 frame->AddFrame(
new TGLabel(frame,
m_param->
name().c_str()),
new TGLayoutHints(kLHintsLeft | kLHintsCenterY));
FWDoubleParameter * m_param
FWDoubleParameterSetter()
FWParameterSetterEditorBase * frame() const
void attach(FWParameterBase *) override
~FWDoubleParameterSetter() override
TGFrame * build(TGFrame *iParent, bool labelBack=true) override
void setEnabled(bool) override
const std::string & name() const