#include <FWStringParameterSetter.h>
Definition at line 19 of file FWStringParameterSetter.h.
FWStringParameterSetter::FWStringParameterSetter |
( |
| ) |
|
FWStringParameterSetter::~FWStringParameterSetter |
( |
| ) |
|
|
override |
TGFrame * FWStringParameterSetter::build |
( |
TGFrame * |
iParent, |
|
|
bool |
labelBack = true |
|
) |
| |
|
overridevirtual |
Implements FWParameterSetterBase.
Definition at line 73 of file FWStringParameterSetter.cc.
References FWParameterSetterBase::frame(), label, m_param, m_widget, FWParameterBase::name(), and FWGenericParameter< T >::value().
75 TGCompositeFrame*
frame =
new TGHorizontalFrame(iParent,180,20,kFixedWidth);
79 m_widget->Connect(
"ReturnPressed()",
"FWStringParameterSetter",
this,
"doUpdate()");
84 frame->AddFrame(
m_widget,
new TGLayoutHints(kLHintsExpandX|kLHintsCenterY,2,2,1,1));
85 frame->AddFrame(label,
new TGLayoutHints(kLHintsLeft|kLHintsCenterY,4,2,1,1) );
89 frame->AddFrame(label,
new TGLayoutHints(kLHintsLeft|kLHintsCenterY) );
90 frame->AddFrame(
m_widget,
new TGLayoutHints(kLHintsLeft|kLHintsCenterY, 2,8,2,2));
FWParameterSetterEditorBase * frame() const
FWStringParameter * m_param
const std::string & name() const
void FWStringParameterSetter::doUpdate |
( |
| ) |
|
TGTextEntry* FWStringParameterSetter::m_widget |
|
private |