15 #include "TGNumberEntry.h" 75 TGCompositeFrame*
frame =
new TGHorizontalFrame(iParent);
79 TGNumberFormat::kNELNoLimits :
80 (
m_param->
min() >
m_param->
max() ? TGNumberFormat::kNELLimitMin : TGNumberFormat::kNELLimitMinMax);
91 TGNumberFormat::kNESReal,
92 TGNumberFormat::kNEAAnyNumber,
97 frame->AddFrame(
m_widget,
new TGLayoutHints(kLHintsLeft|kLHintsCenterY, 2,8,2,2));
98 m_widget->Connect(
"ValueSet(Long_t)",
"FWDoubleParameterSetter",
this,
"doUpdate(Long_t)");
101 frame->AddFrame(
new TGLabel(frame,
m_param->
name().c_str()),
102 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