28 #include "KeySymbols.h"
38 : TGMainFrame(gClient->GetRoot(), 400, 600),
46 m_guiManager(guiManager)
48 gVirtualX->SelectInput(GetId(), kKeyPressMask | kKeyReleaseMask | kExposureMask |
49 kPointerMotionMask | kStructureNotifyMask | kFocusChangeMask |
50 kEnterWindowMask | kLeaveWindowMask);
51 this->Connect(
"CloseWindow()",
"FWPathsPopup",
this,
"windowIsClosing()");
63 editor->SetBackgroundColor(gVirtualX->GetPixel(kYellow-7));
64 editor->SetFrameDrawn(
false);
66 m_psTable->
m_editor->Connect(
"ReturnPressed()",
"FWPathsPopup",
this,
"applyEditor()");
68 m_apply->Connect(
"Clicked()",
"FWPathsPopup",
this,
"scheduleReloadEvent()");
71 m_search->Connect(
"TextChanged(const char *)",
"FWPathsPopup",
72 this,
"updateFilterString(const char *)");
76 m_tableWidget->Connect(
"cellClicked(Int_t,Int_t,Int_t,Int_t,Int_t,Int_t)",
78 "cellClicked(Int_t,Int_t,Int_t,Int_t,Int_t,Int_t)");
81 SetWindowName(
"CMSSW Configuration Editor");
83 editor->UnmapWindow();
93 UInt_t keysym =
event->fCode;
95 if (keysym == (
UInt_t) gVirtualX->KeysymToKeycode(kKey_Escape))
101 return TGMainFrame::HandleKey(event);
123 if (iButton != kButton1)
127 if (iColumn == 0 || iColumn == 1)
168 gSystem->ProcessEvents();
176 gSystem->ProcessEvents();
184 gSystem->ProcessEvents();
199 event.getByLabel(tag, triggerResults);
201 std::vector<FWPSetTableManager::PathUpdate> pathUpdates;
207 for (
size_t i = 0,
e = triggerResults->size();
i !=
e; ++
i)
211 update.
passed = triggerResults->accept(
i);
213 pathUpdates.push_back(update);
242 if (module.
dirty ==
false)
251 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)
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)
char data[epos_bytes_allocation]
void update(std::vector< PathUpdate > &pathUpdates)
void setSelection(int row, int column, int mask)
FWDialogBuilder & indent(int left=2, int right=-1)
std::vector< PSetData > & entries()
FWDialogBuilder & spaceDown(size_t spacing=3)
edm::ParameterSet * current_pset