Description: <one line="" class="" summary>="">
Usage: <usage>
Definition at line 31 of file FWLongParameterSetter.h.
TGFrame * FWLongParameterSetter::build |
( |
TGFrame * |
iParent, |
|
|
bool |
labelBack = true |
|
) |
| |
|
overridevirtual |
Implements FWParameterSetterBase.
Definition at line 64 of file FWLongParameterSetter.cc.
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));
References FWParameterSetterBase::frame(), label, TH2PolyOfflineMaps::limits, m_param, m_widget, FWGenericParameterWithRange< T >::max(), SiStripPI::max, FWGenericParameterWithRange< T >::min(), min(), FWParameterBase::name(), and FWGenericParameter< T >::value().