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