#include <FWStringParameterSetter.h>
Definition at line 20 of file FWStringParameterSetter.h.
FWStringParameterSetter::FWStringParameterSetter |
( |
| ) |
|
FWStringParameterSetter::~FWStringParameterSetter |
( |
| ) |
|
|
virtual |
TGFrame * FWStringParameterSetter::build |
( |
TGFrame * |
iParent, |
|
|
bool |
labelBack = true |
|
) |
| |
|
virtual |
Implements FWParameterSetterBase.
Definition at line 74 of file FWStringParameterSetter.cc.
References FWParameterSetterBase::frame(), diffTwoXMLs::label, m_param, m_widget, FWParameterBase::name(), and FWGenericParameter< T >::value().
76 TGCompositeFrame*
frame =
new TGHorizontalFrame(iParent,180,20,kFixedWidth);
80 m_widget->Connect(
"ReturnPressed()",
"FWStringParameterSetter",
this,
"doUpdate()");
85 frame->AddFrame(
m_widget,
new TGLayoutHints(kLHintsExpandX|kLHintsCenterY,2,2,1,1));
86 frame->AddFrame(label,
new TGLayoutHints(kLHintsLeft|kLHintsCenterY,4,2,1,1) );
90 frame->AddFrame(label,
new TGLayoutHints(kLHintsLeft|kLHintsCenterY) );
91 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 |