LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
Dialog window to edit a parameter set. More...
#include "ParameterSetEdit.h"
Public Member Functions | |
ParameterSetEdit (TGMainFrame *mf, const std::string &module, const std::string &label, const std::string ¶ms, std::string *newpset) | |
~ParameterSetEdit () | |
int | Edit () |
void | Apply () |
void | Cancel () |
void | Done () |
void | CloseWindow () |
void | HandleTab () |
Private Member Functions | |
ClassDef (ParameterSetEdit, 0) | |
Private Attributes | |
TGCompositeFrame * | fF1 |
ParamFrame * | fParam |
TGCanvas * | fCanvas |
TGCompositeFrame * | fF3 |
TGLayoutHints * | fLH1 |
TGLayoutHints * | fLH2 |
TGLayoutHints * | fLH3 |
TGLayoutHints * | fLH4 |
TGLabel * | fL1 |
TGTextButton * | fB3 |
TGTextButton * | fB4 |
TGTextButton * | fB5 |
std::vector< TGTextEntry * > | fT2 |
std::vector< std::string > | fName |
std::vector< std::string > | fType |
std::vector< std::string > | fValue |
std::string * | fResult |
New parameter set. More... | |
Dialog window to edit a parameter set.
Definition at line 52 of file ParameterSetEdit.h.
evdb::ParameterSetEdit::ParameterSetEdit | ( | TGMainFrame * | mf, |
const std::string & | module, | ||
const std::string & | label, | ||
const std::string & | params, | ||
std::string * | newpset | ||
) |
Definition at line 162 of file ParameterSetEdit.cxx.
References fB3, fB4, fB5, fCanvas, fF1, fF3, fL1, fLH1, fLH2, fLH3, fLH4, fName, fParam, fT2, fValue, evdb::ParamFrame::GetFrame(), evdb::ParamFrame::GetHeight(), n, evdb::parse_pset_string(), evdb::ParamFrame::SetCanvas(), and w.
evdb::ParameterSetEdit::~ParameterSetEdit | ( | ) |
void evdb::ParameterSetEdit::Apply | ( | ) |
Definition at line 310 of file ParameterSetEdit.cxx.
References Edit(), evdb::kRELOAD_EVENT, and evdb::NavState::Set().
void evdb::ParameterSetEdit::Cancel | ( | ) |
Definition at line 294 of file ParameterSetEdit.cxx.
|
private |
void evdb::ParameterSetEdit::CloseWindow | ( | ) |
Definition at line 290 of file ParameterSetEdit.cxx.
void evdb::ParameterSetEdit::Done | ( | ) |
Definition at line 301 of file ParameterSetEdit.cxx.
References Edit(), evdb::kRELOAD_EVENT, and evdb::NavState::Set().
int evdb::ParameterSetEdit::Edit | ( | ) |
Definition at line 253 of file ParameterSetEdit.cxx.
References fName, fT2, fValue, and util::values().
Referenced by Apply(), and Done().
void evdb::ParameterSetEdit::HandleTab | ( | ) |
Definition at line 318 of file ParameterSetEdit.cxx.
|
private |
Definition at line 82 of file ParameterSetEdit.h.
Referenced by ParameterSetEdit(), and ~ParameterSetEdit().
|
private |
Definition at line 83 of file ParameterSetEdit.h.
Referenced by ParameterSetEdit(), and ~ParameterSetEdit().
|
private |
Definition at line 84 of file ParameterSetEdit.h.
Referenced by ParameterSetEdit(), and ~ParameterSetEdit().
|
private |
Definition at line 75 of file ParameterSetEdit.h.
Referenced by ParameterSetEdit().
|
private |
Definition at line 73 of file ParameterSetEdit.h.
Referenced by ParameterSetEdit(), and ~ParameterSetEdit().
|
private |
Definition at line 76 of file ParameterSetEdit.h.
Referenced by ParameterSetEdit(), and ~ParameterSetEdit().
|
private |
Definition at line 81 of file ParameterSetEdit.h.
Referenced by ParameterSetEdit(), and ~ParameterSetEdit().
|
private |
Definition at line 77 of file ParameterSetEdit.h.
Referenced by ParameterSetEdit(), and ~ParameterSetEdit().
|
private |
Definition at line 78 of file ParameterSetEdit.h.
Referenced by ParameterSetEdit(), and ~ParameterSetEdit().
|
private |
Definition at line 79 of file ParameterSetEdit.h.
Referenced by ParameterSetEdit(), and ~ParameterSetEdit().
|
private |
Definition at line 80 of file ParameterSetEdit.h.
Referenced by ParameterSetEdit(), and ~ParameterSetEdit().
|
private |
Definition at line 87 of file ParameterSetEdit.h.
Referenced by Edit(), and ParameterSetEdit().
|
private |
Definition at line 74 of file ParameterSetEdit.h.
Referenced by ParameterSetEdit().
|
private |
New parameter set.
Definition at line 90 of file ParameterSetEdit.h.
|
private |
Definition at line 85 of file ParameterSetEdit.h.
Referenced by Edit(), HandleTab(), ParameterSetEdit(), and ~ParameterSetEdit().
|
private |
Definition at line 88 of file ParameterSetEdit.h.
|
private |
Definition at line 89 of file ParameterSetEdit.h.
Referenced by Edit(), and ParameterSetEdit().