#include <FWPartialConfig.h>
Definition at line 27 of file FWPartialConfig.h.
Definition at line 92 of file FWPartialConfig.cc.
References svgfig::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 |
( |
| ) |
|
|
override |
void FWPartialConfigLoadGUI::Load |
( |
| ) |
|
Definition at line 113 of file FWPartialConfig.cc.
References FWEventItemsManager::clearItems(), FWGUIManager::getGUIManager(), mps_fire::i, submitPVResolutionJobs::key, FWConfiguration::keyValues(), FWPartialConfigGUI::m_cfgMng, m_eiMng, FWPartialConfigGUI::m_entries, FWPartialConfigGUI::m_origConfig, FWConfigurationManager::setFrom(), AlCaHLTBitMon_QueryRunRegistry::string, and FWGUIManager::subviewDestroyAll().
114 bool resetViews =
true;
120 if (!((*i)->IsOn())) {
122 if (key ==
"EventItems")
127 for (FWConfiguration::KeyValues::iterator it = kv->begin(); it != kv->end(); ++it) {
128 if (key == it->first) {
142 gEve->DisableRedraw();
144 gEve->EnableRedraw();
const KeyValues * keyValues() const
FWEventItemsManager * m_eiMng
FWConfigurationManager * m_cfgMng
std::vector< TGCheckButton * > m_entries
void setFrom(const FWConfiguration &) const
tuple key
prepare the HTCondor submission files and eventually submit them
std::vector< std::pair< std::string, FWConfiguration > > KeyValues
static FWGUIManager * getGUIManager()
FWConfiguration m_origConfig
const char* FWPartialConfigLoadGUI::m_oldConfigName |
|
private |