30 #include "KeySymbols.h"
40 : TGMainFrame(gClient->GetRoot(), 400, 600),
48 m_guiManager(guiManager)
50 gVirtualX->SelectInput(GetId(), kKeyPressMask | kKeyReleaseMask | kExposureMask |
51 kPointerMotionMask | kStructureNotifyMask | kFocusChangeMask |
52 kEnterWindowMask | kLeaveWindowMask);
53 this->Connect(
"CloseWindow()",
"FWPathsPopup",
this,
"windowIsClosing()");
65 editor->SetBackgroundColor(gVirtualX->GetPixel(kYellow-7));
66 editor->SetFrameDrawn(
false);
68 m_psTable->
m_editor->Connect(
"ReturnPressed()",
"FWPathsPopup",
this,
"applyEditor()");
70 m_apply->Connect(
"Clicked()",
"FWPathsPopup",
this,
"scheduleReloadEvent()");
73 m_search->Connect(
"TextChanged(const char *)",
"FWPathsPopup",
74 this,
"updateFilterString(const char *)");
78 m_tableWidget->Connect(
"cellClicked(Int_t,Int_t,Int_t,Int_t,Int_t,Int_t)",
80 "cellClicked(Int_t,Int_t,Int_t,Int_t,Int_t,Int_t)");
83 SetWindowName(
"CMSSW Configuration Editor");
85 editor->UnmapWindow();
96 UInt_t keysym =
event->fCode;
98 if (keysym == (UInt_t) gVirtualX->KeysymToKeycode(kKey_Escape))
104 return TGMainFrame::HandleKey(event);
126 if (iButton != kButton1)
130 if (iColumn == 0 || iColumn == 1)
171 gSystem->ProcessEvents();
179 gSystem->ProcessEvents();
187 gSystem->ProcessEvents();
202 event.getByLabel(tag, triggerResults);
204 std::vector<FWPSetTableManager::PathUpdate> pathUpdates;
210 for (
size_t i = 0,
e = triggerResults->size();
i !=
e; ++
i)
214 update.
passed = triggerResults->accept(
i);
216 pathUpdates.push_back(update);
245 if (module.
dirty ==
false)
254 catch (boost::python::error_already_set)
collection_type::const_iterator const_iterator
int selectedColumn() const
virtual char const * what() const
std::vector< ModuleInfo > & modules()
FWDialogBuilder & addLabel(const char *text, size_t fontSize=12, size_t weight=0, TGLabel **out=0)
std::vector< int > & rowToIndex()
void pythonToCppException(const std::string &iType)
std::string const & moduleName() const
void setExpanded(int row)
void dataChanged()
Classes which inherit from FWTableManagerBase must call this when their underlying data changes...
void updateStatus(const char *status)
FWDialogBuilder & addTable(FWTableManagerBase *manager, FWTableWidget **out=0)
Strings const & triggerNames() const
void requestChanges(const std::string &, const edm::ParameterSet &)
std::vector< PSetData > & data()
FWDialogBuilder & addTextButton(const char *text, TGTextButton **out=0)
ModuleDescription const * moduleDescription() const
static std::string const triggerResults
FWPSetCellEditor * m_editor
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision and the trigger will pass if any such matching triggers are FAIL or EXCEPTION A wildcarded negative criterion that matches more than one trigger in the trigger but the state exists so we define the behavior If all triggers are the negative crieriion will lead to accepting the event(this again matches the behavior of"!*"before the partial wildcard feature was incorporated).The per-event"cost"of each negative criterion with multiple relevant triggers is about the same as!*was in the past
void updateSchedule(const edm::ScheduleInfo *info)
virtual ProcessHistory const & processHistory() const
FWDialogBuilder & addTextEntry(const char *defaultText, TGTextEntry **out)
virtual void updateFilter(const char *filter)
FWDialogBuilder & floatLeft(size_t spacing=3)
std::string const & triggerName(unsigned int index) const
void setCellValueEditor(FWPSetCellEditor *editor)
FWDialogBuilder & expand(size_t expandX=true, size_t expandY=false)
void update(std::vector< PathUpdate > &pathUpdates)
void setSelection(int row, int column, int mask)
volatile std::atomic< bool > shutdown_flag false
FWDialogBuilder & indent(int left=2, int right=-1)
std::vector< PSetData > & entries()
FWDialogBuilder & spaceDown(size_t spacing=3)
edm::ParameterSet * current_pset