15 #include "TGNumberEntry.h"
65 TGCompositeFrame*
frame =
new TGHorizontalFrame(iParent);
68 TGNumberFormat::ELimit
limits =
70 ? TGNumberFormat::kNELNoLimits
71 : (
m_param->
min() >
m_param->
max() ? TGNumberFormat::kNELLimitMin : TGNumberFormat::kNELLimitMinMax);
82 TGNumberFormat::kNESInteger,
83 TGNumberFormat::kNEAAnyNumber,
88 m_widget->Connect(
"ValueSet(Long_t)",
"FWLongParameterSetter",
this,
"doUpdate(Long_t)");
93 frame->AddFrame(
m_widget,
new TGLayoutHints(kLHintsLeft | kLHintsCenterY, 2, 6, 2, 2));
94 frame->AddFrame(label,
new TGLayoutHints(kLHintsLeft | kLHintsCenterY, 2, 2, 0, 0));
96 frame->AddFrame(label,
new TGLayoutHints(kLHintsLeft | kLHintsCenterY));
97 frame->AddFrame(
m_widget,
new TGLayoutHints(kLHintsLeft | kLHintsCenterY, 2, 8, 2, 2));
110 static bool in_update =
false;
114 gClient->ProcessEventsFor((TGWindow*)gTQSender);
FWParameterSetterEditorBase * frame() const
FWLongParameter * m_param
~FWLongParameterSetter() override
void attach(FWParameterBase *) override
TGFrame * build(TGFrame *iParent, bool labelBack=true) override
const std::string & name() const