#include <FWPartialConfig.h>
Definition at line 28 of file FWPartialConfig.h.
Definition at line 93 of file FWPartialConfig.cc.
References load().
96 TGHorizontalFrame* hf =
new TGHorizontalFrame(
this);
97 AddFrame(hf,
new TGLayoutHints( kLHintsRight| kLHintsBottom, 1, 1, 2, 4));
98 TGTextButton*
load =
new TGTextButton(hf,
" Load ");
99 load->Connect(
"Clicked()",
"FWPartialConfigLoadGUI",
this,
"Load()");
100 hf->AddFrame(load,
new TGLayoutHints(kLHintsExpandX, 2, 2, 0, 0));
101 TGTextButton* cancel =
new TGTextButton(hf,
" Cancel ");
102 cancel->Connect(
"Clicked()",
"FWPartialConfigGUI",
this,
"Cancel()");
103 hf->AddFrame(cancel,
new TGLayoutHints(kLHintsExpandX, 2, 2, 0, 0));
105 SetWindowName(
"Load Config");
FWEventItemsManager * m_eiMng
FWPartialConfigGUI(const char *path, FWConfigurationManager *)
FWPartialConfigLoadGUI::~FWPartialConfigLoadGUI |
( |
| ) |
|
void FWPartialConfigLoadGUI::Load |
( |
| ) |
|
Definition at line 115 of file FWPartialConfig.cc.
References FWEventItemsManager::clearItems(), FWGUIManager::getGUIManager(), i, relval_steps::key, FWConfiguration::keyValues(), FWPartialConfigGUI::m_cfgMng, m_eiMng, FWPartialConfigGUI::m_entries, FWPartialConfigGUI::m_origConfig, FWConfigurationManager::setFrom(), AlCaHLTBitMon_QueryRunRegistry::string, and FWGUIManager::subviewDestroyAll().
117 bool resetViews =
true;
123 if (!((*i)->IsOn())) {
125 if (key ==
"EventItems") resetEI =
false;
126 if (key ==
"GUI") resetViews =
false;
128 for(FWConfiguration::KeyValues::iterator it = kv->begin(); it != kv->end(); ++it)
130 if ( key.compare(it->first) == 0) {
144 gEve->DisableRedraw();
146 gEve->EnableRedraw();
std::vector< std::pair< std::string, FWConfiguration > > KeyValues
const KeyValues * keyValues() const
FWEventItemsManager * m_eiMng
FWConfigurationManager * m_cfgMng
std::vector< TGCheckButton * > m_entries
void setFrom(const FWConfiguration &) const
string key
FastSim: produces sample of signal events, overlayed with premixed minbias events.
static FWGUIManager * getGUIManager()
FWConfiguration m_origConfig
const char* FWPartialConfigLoadGUI::m_oldConfigName |
|
private |