16 #include "TGNumberEntry.h"
77 TGCompositeFrame*
frame =
new TGHorizontalFrame(iParent);
81 TGNumberFormat::kNELNoLimits :
82 (
m_param->
min() >
m_param->
max() ? TGNumberFormat::kNELLimitMin : TGNumberFormat::kNELLimitMinMax);
94 TGNumberFormat::kNESInteger,
95 TGNumberFormat::kNEAAnyNumber,
100 m_widget->Connect(
"ValueSet(Long_t)",
"FWLongParameterSetter",
this,
"doUpdate(Long_t)");
106 frame->AddFrame(
m_widget,
new TGLayoutHints(kLHintsLeft|kLHintsCenterY, 2,6,2,2));
107 frame->AddFrame(label,
new TGLayoutHints(kLHintsLeft|kLHintsCenterY, 2,2,0,0));
111 frame->AddFrame(label,
new TGLayoutHints(kLHintsLeft|kLHintsCenterY));
112 frame->AddFrame(
m_widget,
new TGLayoutHints(kLHintsLeft|kLHintsCenterY, 2,8,2,2));
127 static bool in_update =
false;
131 gClient->ProcessEventsFor((TGWindow*)gTQSender);
FWParameterSetterEditorBase * frame() const
FWLongParameter * m_param
const T & max(const T &a, const T &b)
virtual void attach(FWParameterBase *)
virtual ~FWLongParameterSetter()
virtual TGFrame * build(TGFrame *iParent, bool labelBack=true)
const std::string & name() const