A single row for editing a single parameter in a set. More...
#include <ParameterSetEditDialog.h>
Public Member Functions | |
ParameterSetEditRow (ParameterSetEditFrame *frame, TGHorizontalFrame *lhs, TGHorizontalFrame *rhs, const fhicl::ParameterSet &ps, const std::string &key) | |
~ParameterSetEditRow () | |
void | Finalize () |
std::string | AsFHICL () const |
void | TextEntryReturnPressed () |
void | ListBoxSelectionChanged () |
void | ListBoxSelected (int id) |
void | RadioButtonClicked () |
void | CheckButtonClicked () |
void | SliderPositionChanged () |
Public Attributes | |
ParameterSetEditFrame * | fFrame |
The parent frame. More... | |
TGHorizontalFrame * | fMother |
Top level frame. More... | |
TGLayoutHints * | fRightLH |
Align to right. More... | |
TGLayoutHints * | fLeftLH |
Align to left. More... | |
TGTextButton * | fLabel |
Label on the left. More... | |
TGTextEntry * | fTextEntry |
TGListBox * | fListBox |
TGDoubleSlider * | fSlider |
std::vector< TGRadioButton * > | fRadioButton |
std::vector< TGCheckButton * > | fCheckButton |
unsigned int | fParamFlags |
std::string | fKEY |
std::string | fGUI |
std::string | fDOC |
std::vector< std::string > | fChoice |
std::string | fValue |
Private Member Functions | |
void | SetupTextEntry (TGCompositeFrame *f, unsigned int flags, const std::vector< std::string > &value) |
void | SetupListBox (TGCompositeFrame *f, const std::vector< std::string > &choice, const std::vector< std::string > &value, bool ismulti) |
void | SetupRadioButtons (TGCompositeFrame *f, const std::vector< std::string > &choice, const std::vector< std::string > &value) |
void | SetupCheckButton (TGCompositeFrame *f, const std::vector< std::string > &choice, const std::vector< std::string > &value) |
void | SetupSlider (TGCompositeFrame *f, const std::vector< std::string > &choice, const std::vector< std::string > &value) |
Static Private Member Functions | |
static bool | IsLegalGUItag (const std::string &s) |
static void | ParseGUItag (const std::string &guitag, std::string &frame, std::vector< std::string > &choice) |
static void | UnpackParameter (const fhicl::ParameterSet &ps, const std::string &key, unsigned int &flags, std::string &tag, std::vector< std::string > &choice, std::vector< std::string > &value, std::string &gui, std::string &doc) |
A single row for editing a single parameter in a set.
===================================================================
Definition at line 85 of file ParameterSetEditDialog.h.
ParameterSetEditRow::ParameterSetEditRow | ( | ParameterSetEditFrame * | frame, |
TGHorizontalFrame * | lhs, | ||
TGHorizontalFrame * | rhs, | ||
const fhicl::ParameterSet & | ps, | ||
const std::string & | key | ||
) |
Definition at line 71 of file ParameterSetEditDialog.cxx.
ParameterSetEditRow::~ParameterSetEditRow | ( | ) |
Definition at line 153 of file ParameterSetEditDialog.cxx.
std::string ParameterSetEditRow::AsFHICL | ( | ) | const |
Definition at line 632 of file ParameterSetEditDialog.cxx.
void ParameterSetEditRow::CheckButtonClicked | ( | ) |
Definition at line 573 of file ParameterSetEditDialog.cxx.
void ParameterSetEditRow::Finalize | ( | ) |
Definition at line 621 of file ParameterSetEditDialog.cxx.
|
staticprivate |
Definition at line 320 of file ParameterSetEditDialog.cxx.
void ParameterSetEditRow::ListBoxSelected | ( | int | id | ) |
Definition at line 543 of file ParameterSetEditDialog.cxx.
void ParameterSetEditRow::ListBoxSelectionChanged | ( | ) |
Definition at line 517 of file ParameterSetEditDialog.cxx.
|
staticprivate |
Definition at line 291 of file ParameterSetEditDialog.cxx.
void ParameterSetEditRow::RadioButtonClicked | ( | ) |
Definition at line 554 of file ParameterSetEditDialog.cxx.
|
private |
Definition at line 417 of file ParameterSetEditDialog.cxx.
|
private |
Definition at line 361 of file ParameterSetEditDialog.cxx.
|
private |
Definition at line 393 of file ParameterSetEditDialog.cxx.
|
private |
Definition at line 438 of file ParameterSetEditDialog.cxx.
|
private |
Definition at line 331 of file ParameterSetEditDialog.cxx.
void ParameterSetEditRow::SliderPositionChanged | ( | ) |
Definition at line 587 of file ParameterSetEditDialog.cxx.
void ParameterSetEditRow::TextEntryReturnPressed | ( | ) |
Definition at line 488 of file ParameterSetEditDialog.cxx.
|
staticprivate |
Definition at line 172 of file ParameterSetEditDialog.cxx.
std::vector<TGCheckButton*> evdb::ParameterSetEditRow::fCheckButton |
Definition at line 153 of file ParameterSetEditDialog.h.
std::vector<std::string> evdb::ParameterSetEditRow::fChoice |
Definition at line 159 of file ParameterSetEditDialog.h.
std::string evdb::ParameterSetEditRow::fDOC |
Definition at line 158 of file ParameterSetEditDialog.h.
ParameterSetEditFrame* evdb::ParameterSetEditRow::fFrame |
The parent frame.
Definition at line 142 of file ParameterSetEditDialog.h.
std::string evdb::ParameterSetEditRow::fGUI |
Definition at line 157 of file ParameterSetEditDialog.h.
std::string evdb::ParameterSetEditRow::fKEY |
Definition at line 156 of file ParameterSetEditDialog.h.
TGTextButton* evdb::ParameterSetEditRow::fLabel |
Label on the left.
Definition at line 147 of file ParameterSetEditDialog.h.
TGLayoutHints* evdb::ParameterSetEditRow::fLeftLH |
Align to left.
Definition at line 146 of file ParameterSetEditDialog.h.
TGListBox* evdb::ParameterSetEditRow::fListBox |
Definition at line 150 of file ParameterSetEditDialog.h.
TGHorizontalFrame* evdb::ParameterSetEditRow::fMother |
Top level frame.
Definition at line 144 of file ParameterSetEditDialog.h.
unsigned int evdb::ParameterSetEditRow::fParamFlags |
Definition at line 155 of file ParameterSetEditDialog.h.
std::vector<TGRadioButton*> evdb::ParameterSetEditRow::fRadioButton |
Definition at line 152 of file ParameterSetEditDialog.h.
TGLayoutHints* evdb::ParameterSetEditRow::fRightLH |
Align to right.
Definition at line 145 of file ParameterSetEditDialog.h.
TGDoubleSlider* evdb::ParameterSetEditRow::fSlider |
Definition at line 151 of file ParameterSetEditDialog.h.
TGTextEntry* evdb::ParameterSetEditRow::fTextEntry |
Definition at line 149 of file ParameterSetEditDialog.h.
std::string evdb::ParameterSetEditRow::fValue |
Definition at line 160 of file ParameterSetEditDialog.h.