#include <Fireworks/Core/interface/CmsShowMainFrame.h>
Public Member Functions | |
void | bindCSGActionKeys (const TGMainFrame *f) const |
ClassDefOverride (CmsShowMainFrame, 0) | |
void | clearStatusBar () |
void | CloseWindow () override |
CmsShowMainFrame (const TGWindow *p=nullptr, UInt_t w=1, UInt_t h=1, FWGUIManager *m=nullptr) | |
CSGAction * | createNewViewerAction (const std::string &iActionName, bool seaprator) |
void | enableActions (bool enable=true) override |
void | enableComplexNavigation (bool enable=true) |
void | enableNavigatorControls () |
void | enableNext (bool enable=true) |
void | enablePrevious (bool enable=true) |
float | getSummaryViewWeight () const |
Bool_t | HandleKey (Event_t *event) override |
void | HandleMenu (Int_t id) override |
void | loadEvent (const edm::EventBase &event) |
CSGContinuousAction * | loopAction () const |
bool | nextIsEnabled () |
CSGContinuousAction * | playEventsAction () const |
CSGContinuousAction * | playEventsBackwardsAction () const |
bool | previousIsEnabled () |
void | quit () |
void | setPlayDelayGUI (Float_t val, Bool_t sliderChanged) |
void | setSummaryViewWeight (float) |
void | showFWorksInfo () |
void | updateStatusBar (const char *status) |
~CmsShowMainFrame () override | |
Public Member Functions inherited from CSGActionSupervisor | |
Bool_t | activateMenuEntry (int entry) |
Bool_t | activateToolBarEntry (int entry) |
void | addToActionMap (CSGAction *action) |
CSGActionSupervisor () | |
virtual void | defaultAction () |
CSGAction * | getAction (const std::string &name) |
const std::vector< CSGAction * > & | getListOfActions () const |
Long_t | getToolTipDelay () const |
void | resizeMenu (TGPopupMenu *menu) |
virtual | ~CSGActionSupervisor () |
Protected Attributes | |
FWIntValueListener * | m_delaySliderListener |
FWNumberEntryField * | m_eventEntry |
FWCustomIconsButton * | m_filterEnableBtn |
const TGPicture * | m_filterIcons [9] |
TGTextButton * | m_filterShowGUIBtn |
FWNumberEntryField * | m_lumiEntry |
FWNumberEntryField * | m_runEntry |
Protected Attributes inherited from CSGActionSupervisor | |
std::vector< CSGAction * > | m_actionList |
Private Member Functions | |
CmsShowMainFrame (const CmsShowMainFrame &) | |
void | makeFixedSizeLabel (TGHorizontalFrame *p, const char *txt, UInt_t bgCol, UInt_t txtCol, Int_t width, Int_t height) |
const CmsShowMainFrame & | operator= (const CmsShowMainFrame &) |
Private Attributes | |
TGLabel * | m_delayLabel |
TGSlider * | m_delaySlider |
TGMainFrame * | m_fworksAbout |
CSGAction * | m_fworksInfo |
CSGAction * | m_goToFirst |
CSGAction * | m_goToLast |
CSGContinuousAction * | m_loopAction |
FWGUIManager * | m_manager |
TGPopupMenu * | m_newViewerMenu |
CSGAction * | m_nextEvent |
CSGAction * | m_playDelay |
CSGContinuousAction * | m_playEvents |
CSGContinuousAction * | m_playEventsBack |
CSGAction * | m_previousEvent |
TGStatusBar * | m_statBar |
TGLabel * | m_timeText |
Long_t | m_tooltipDelay |
Friends | |
class | FWGUIManager |
Description: <one line="" class="" summary>="">
Usage: <usage>
Definition at line 56 of file CmsShowMainFrame.h.
CmsShowMainFrame::CmsShowMainFrame | ( | const TGWindow * | p = nullptr , |
UInt_t | w = 1 , |
||
UInt_t | h = 1 , |
||
FWGUIManager * | m = nullptr |
||
) |
Definition at line 75 of file CmsShowMainFrame.cc.
References filterCSVwithJSON::copy, FWCheckBoxIcon::coreIcondir(), CSGContinuousAction::createCustomIconsButton(), CSGAction::createCustomIconsButton(), FWGUIManager::createList(), CSGAction::createMenuEntry(), CSGAction::createShortcut(), FWGUIManager::createViews(), TkAlMuonSelectors_cfi::cut, CSGAction::disable(), hcaldqm::fClient, writedatasetfile::help, label, heppy_loop::loop, m_delayLabel, m_delaySlider, m_delaySliderListener, m_eventEntry, m_filterEnableBtn, m_filterIcons, m_filterShowGUIBtn, m_goToFirst, m_goToLast, m_loopAction, m_lumiEntry, m_manager, m_newViewerMenu, m_nextEvent, m_playEvents, m_playEventsBack, m_previousEvent, m_runEntry, m_statBar, m_timeText, makeFixedSizeLabel(), GetRecoTauVFromDQM_MC_cff::next, quit(), cmsshow::sAppendData, cmsshow::sAutoRewind, cmsshow::sBackgroundColor, cmsshow::sCopy, cmsshow::sCut, CSGAction::setToolTip(), cmsshow::sExportAllImages, cmsshow::sExportImage, cmsshow::sGotoFirstEvent, cmsshow::sGotoLastEvent, cmsshow::sHelp, cmsshow::sHelpGL, cmsshow::sKeyboardShort, cmsshow::sLoadConfig, cmsshow::sLoadPartialConfig, cmsshow::sNextEvent, cmsshow::sOpenData, cmsshow::sPaste, cmsshow::sPlayEvents, cmsshow::sPlayEventsBack, cmsshow::sPreviousEvent, cmsshow::sQuit, cmsshow::sRedo, cmsshow::sSaveConfig, cmsshow::sSaveConfigAs, cmsshow::sSavePartialConfig, cmsshow::sSavePartialConfigAs, cmsshow::sSearchFiles, cmsshow::sShowAddCollection, cmsshow::sShowCommonInsp, cmsshow::sShowEventDisplayInsp, cmsshow::sShowInvMassDialog, cmsshow::sShowMainViewCtl, cmsshow::sShowObjInsp, cmsshow::sUndo, RecoTauValidation_cfi::textColor, and overlapproblemtsosanalyzer_cfi::title.
|
override |
Definition at line 533 of file CmsShowMainFrame.cc.
|
private |
void CmsShowMainFrame::bindCSGActionKeys | ( | const TGMainFrame * | f | ) | const |
Definition at line 780 of file CmsShowMainFrame.cc.
References f, mps_fire::i, and CSGActionSupervisor::m_actionList.
Referenced by FWGUIManager::createEDIFrame(), FWGUIManager::createModelPopup(), FWGUIEventFilter::HandleKey(), FWGUIManager::setFrom(), FWGUIManager::showCommonPopup(), FWGUIManager::showInvMassDialog(), and FWGUISubviewArea::undock().
CmsShowMainFrame::ClassDefOverride | ( | CmsShowMainFrame | , |
0 | |||
) |
void CmsShowMainFrame::clearStatusBar | ( | ) |
Definition at line 641 of file CmsShowMainFrame.cc.
References m_statBar.
Referenced by FWGUIManager::clearStatus().
|
override |
Definition at line 577 of file CmsShowMainFrame.cc.
References CSGAction::activated, CSGActionSupervisor::getAction(), and cmsshow::sQuit.
CSGAction * CmsShowMainFrame::createNewViewerAction | ( | const std::string & | iActionName, |
bool | seaprator | ||
) |
Definition at line 551 of file CmsShowMainFrame.cc.
References writedatasetfile::action, m_newViewerMenu, and mps_merge::separator.
Referenced by FWGUIManager::FWGUIManager().
|
overridevirtual |
Reimplemented from CSGActionSupervisor.
Definition at line 581 of file CmsShowMainFrame.cc.
References Reconstruction_hiPF_cff::enable, CSGActionSupervisor::enableActions(), m_eventEntry, m_filterEnableBtn, m_filterShowGUIBtn, m_lumiEntry, and m_runEntry.
Referenced by FWGUIManager::enableActions().
void CmsShowMainFrame::enableComplexNavigation | ( | bool | enable = true | ) |
To disable GUI to jump from event to another, when this is not possible (i.e. when in full framework mode).
Definition at line 624 of file CmsShowMainFrame.cc.
References CSGAction::disable(), Reconstruction_hiPF_cff::enable, CSGAction::enable(), and m_goToLast.
Referenced by FWFFLooper::autoLoadNewEvent(), FWFFLooper::checkPosition(), and FWFFLooper::stopPlaying().
void CmsShowMainFrame::enableNavigatorControls | ( | ) |
Definition at line 567 of file CmsShowMainFrame.cc.
References CSGAction::enable(), m_goToFirst, m_goToLast, m_loopAction, m_nextEvent, m_playEvents, m_playEventsBack, and m_previousEvent.
Referenced by FWFFService::checkPosition(), FWFFLooper::checkPosition(), and CmsShowMain::checkPosition().
void CmsShowMainFrame::enableNext | ( | bool | enable = true | ) |
Definition at line 606 of file CmsShowMainFrame.cc.
References CSGAction::disable(), Reconstruction_hiPF_cff::enable, CSGAction::enable(), m_goToLast, m_nextEvent, m_playEvents, and CSGContinuousAction::stop().
Referenced by FWGUIManager::disableNext().
void CmsShowMainFrame::enablePrevious | ( | bool | enable = true | ) |
Definition at line 591 of file CmsShowMainFrame.cc.
References CSGAction::disable(), Reconstruction_hiPF_cff::enable, CSGAction::enable(), m_goToFirst, m_playEventsBack, m_previousEvent, and CSGContinuousAction::stop().
Referenced by FWGUIManager::disablePrevious().
float CmsShowMainFrame::getSummaryViewWeight | ( | ) | const |
Definition at line 802 of file CmsShowMainFrame.cc.
References timeUnitHelper::pack().
Referenced by FWGUIManager::addTo().
|
override |
Definition at line 658 of file CmsShowMainFrame.cc.
References CSGActionSupervisor::getListOfActions(), playEventsAction(), playEventsBackwardsAction(), and CSGContinuousAction::switchMode().
|
overridevirtual |
Reimplemented from CSGActionSupervisor.
Definition at line 647 of file CmsShowMainFrame.cc.
References fwLog, and fwlog::kInfo.
void CmsShowMainFrame::loadEvent | ( | const edm::EventBase & | event | ) |
Definition at line 559 of file CmsShowMainFrame.cc.
References fireworks::getLocalTime(), m_eventEntry, m_lumiEntry, m_runEntry, m_timeText, FWNumberEntryField::SetUIntNumber(), and FWNumberEntryField::SetULong64Number().
Referenced by FWGUIManager::eventChangedCallback().
|
inline |
Definition at line 91 of file CmsShowMainFrame.h.
References m_loopAction.
Referenced by FWGUIManager::loopAction().
|
private |
Definition at line 695 of file CmsShowMainFrame.cc.
References label, AlCaHLTBitMon_ParallelJobs::p, and ApeEstimator_cff::width.
Referenced by CmsShowMainFrame().
bool CmsShowMainFrame::nextIsEnabled | ( | ) |
Definition at line 631 of file CmsShowMainFrame.cc.
References CSGAction::isEnabled(), and m_nextEvent.
|
private |
|
inline |
Definition at line 90 of file CmsShowMainFrame.h.
References m_playEvents.
Referenced by HandleKey(), and FWGUIManager::playEventsAction().
|
inline |
Definition at line 93 of file CmsShowMainFrame.h.
References m_playEventsBack.
Referenced by HandleKey(), and FWGUIManager::playEventsBackwardsAction().
bool CmsShowMainFrame::previousIsEnabled | ( | ) |
Definition at line 633 of file CmsShowMainFrame.cc.
References CSGAction::isEnabled(), and m_previousEvent.
void CmsShowMainFrame::quit | ( | ) |
Definition at line 579 of file CmsShowMainFrame.cc.
References CSGAction::activated, CSGActionSupervisor::getAction(), and cmsshow::sQuit.
Referenced by CmsShowMainFrame().
void CmsShowMainFrame::setPlayDelayGUI | ( | Float_t | val, |
Bool_t | sliderChanged | ||
) |
Definition at line 689 of file CmsShowMainFrame.cc.
References m_delayLabel, m_delaySlider, and heppy_batch::val.
Referenced by FWGUIManager::delaySliderChanged(), and FWGUIManager::setDelayBetweenEvents().
void CmsShowMainFrame::setSummaryViewWeight | ( | float | x | ) |
Definition at line 787 of file CmsShowMainFrame.cc.
References timeUnitHelper::pack(), and x.
Referenced by FWGUIManager::setFrom().
void CmsShowMainFrame::showFWorksInfo | ( | ) |
Definition at line 716 of file CmsShowMainFrame.cc.
References FWCheckBoxIcon::coreIcondir(), label, mps_splice::line, m_fworksAbout, dqmiodatasetharvest::pool, fireworks::setPath(), and AlCaHLTBitMon_QueryRunRegistry::string.
void CmsShowMainFrame::updateStatusBar | ( | const char * | status | ) |
Definition at line 635 of file CmsShowMainFrame.cc.
References m_statBar, and mps_update::status.
Referenced by FWGUIManager::updateStatus().
|
friend |
Definition at line 63 of file CmsShowMainFrame.h.
|
private |
Definition at line 140 of file CmsShowMainFrame.h.
Referenced by CmsShowMainFrame(), and setPlayDelayGUI().
|
private |
Definition at line 139 of file CmsShowMainFrame.h.
Referenced by CmsShowMainFrame(), and setPlayDelayGUI().
|
protected |
Definition at line 112 of file CmsShowMainFrame.h.
Referenced by CmsShowMainFrame(), and FWGUIManager::FWGUIManager().
|
protected |
Definition at line 111 of file CmsShowMainFrame.h.
Referenced by CmsShowMainFrame(), enableActions(), FWGUIManager::eventIdChanged(), FWGUIManager::FWGUIManager(), loadEvent(), FWGUIManager::lumiIdChanged(), and FWGUIManager::setPlayMode().
|
protected |
Definition at line 107 of file CmsShowMainFrame.h.
Referenced by CmsShowMainFrame(), enableActions(), FWGUIManager::FWGUIManager(), FWGUIManager::setFilterButtonIcon(), and FWGUIManager::updateEventFilterEnable().
|
protected |
Definition at line 114 of file CmsShowMainFrame.h.
Referenced by CmsShowMainFrame(), and FWGUIManager::setFilterButtonIcon().
|
protected |
Definition at line 108 of file CmsShowMainFrame.h.
Referenced by CmsShowMainFrame(), enableActions(), FWGUIManager::FWGUIManager(), and FWGUIManager::setFilterButtonText().
|
private |
Definition at line 137 of file CmsShowMainFrame.h.
Referenced by showFWorksInfo().
|
private |
Definition at line 132 of file CmsShowMainFrame.h.
|
private |
Definition at line 129 of file CmsShowMainFrame.h.
Referenced by CmsShowMainFrame(), enableNavigatorControls(), and enablePrevious().
|
private |
Definition at line 130 of file CmsShowMainFrame.h.
Referenced by CmsShowMainFrame(), enableComplexNavigation(), enableNavigatorControls(), and enableNext().
|
private |
Definition at line 135 of file CmsShowMainFrame.h.
Referenced by CmsShowMainFrame(), enableNavigatorControls(), and loopAction().
|
protected |
Definition at line 110 of file CmsShowMainFrame.h.
Referenced by CmsShowMainFrame(), enableActions(), FWGUIManager::eventIdChanged(), FWGUIManager::FWGUIManager(), loadEvent(), FWGUIManager::lumiIdChanged(), and FWGUIManager::runIdChanged().
|
private |
Definition at line 124 of file CmsShowMainFrame.h.
Referenced by CmsShowMainFrame().
|
private |
Definition at line 144 of file CmsShowMainFrame.h.
Referenced by CmsShowMainFrame(), and createNewViewerAction().
|
private |
Definition at line 127 of file CmsShowMainFrame.h.
Referenced by CmsShowMainFrame(), enableNavigatorControls(), enableNext(), and nextIsEnabled().
|
private |
Definition at line 131 of file CmsShowMainFrame.h.
|
private |
Definition at line 133 of file CmsShowMainFrame.h.
Referenced by CmsShowMainFrame(), enableNavigatorControls(), enableNext(), and playEventsAction().
|
private |
Definition at line 134 of file CmsShowMainFrame.h.
Referenced by CmsShowMainFrame(), enableNavigatorControls(), enablePrevious(), and playEventsBackwardsAction().
|
private |
Definition at line 128 of file CmsShowMainFrame.h.
Referenced by CmsShowMainFrame(), enableNavigatorControls(), enablePrevious(), and previousIsEnabled().
|
protected |
Definition at line 109 of file CmsShowMainFrame.h.
Referenced by CmsShowMainFrame(), enableActions(), FWGUIManager::eventIdChanged(), FWGUIManager::FWGUIManager(), loadEvent(), FWGUIManager::runIdChanged(), and FWGUIManager::setPlayMode().
|
private |
Definition at line 142 of file CmsShowMainFrame.h.
Referenced by clearStatusBar(), CmsShowMainFrame(), and updateStatusBar().
|
private |
Definition at line 126 of file CmsShowMainFrame.h.
Referenced by CmsShowMainFrame(), and loadEvent().
|
private |
Definition at line 125 of file CmsShowMainFrame.h.