#include <Fireworks/Core/interface/CmsShowMainFrame.h>
Public Member Functions | |
void | bindCSGActionKeys (const TGMainFrame *f) const |
ClassDef (CmsShowMainFrame, 0) | |
void | clearStatusBar () |
virtual void | CloseWindow () |
CmsShowMainFrame (const TGWindow *p=0, UInt_t w=1, UInt_t h=1, FWGUIManager *m=0) | |
CSGAction * | createNewViewerAction (const std::string &iActionName, bool seaprator) |
virtual void | enableActions (bool enable=true) |
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) |
virtual void | HandleMenu (Int_t id) |
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) |
virtual | ~CmsShowMainFrame () |
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 = 0 , |
UInt_t | w = 1 , |
||
UInt_t | h = 1 , |
||
FWGUIManager * | m = 0 |
||
) |
Definition at line 75 of file CmsShowMainFrame.cc.
References b, fireworks::Context::commonPrefs(), filterCSVwithJSON::copy, FWCheckBoxIcon::coreIcondir(), CSGContinuousAction::createCustomIconsButton(), CSGAction::createCustomIconsButton(), FWGUIManager::createList(), CSGAction::createMenuEntry(), CSGAction::createShortcut(), FWGUIManager::createViews(), GOODCOLL_filter_cfg::cut, CSGAction::disable(), hcaldqm::fClient, fireworks::Context::getInstance(), mps_alisetup::help, diffTwoXMLs::label, cmsHarvester::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, and indexGen::title.
|
virtual |
Definition at line 574 of file CmsShowMainFrame.cc.
|
private |
void CmsShowMainFrame::bindCSGActionKeys | ( | const TGMainFrame * | f | ) | const |
Definition at line 874 of file CmsShowMainFrame.cc.
References i, and CSGActionSupervisor::m_actionList.
Referenced by FWGUIManager::createEDIFrame(), FWGUIManager::createModelPopup(), FWGUIEventFilter::HandleKey(), FWGUIManager::setFrom(), FWGUIManager::showCommonPopup(), FWGUIManager::showInvMassDialog(), and FWGUISubviewArea::undock().
CmsShowMainFrame::ClassDef | ( | CmsShowMainFrame | , |
0 | |||
) |
void CmsShowMainFrame::clearStatusBar | ( | ) |
Definition at line 708 of file CmsShowMainFrame.cc.
References m_statBar.
Referenced by FWGUIManager::clearStatus().
|
virtual |
Definition at line 623 of file CmsShowMainFrame.cc.
References CSGAction::activated, CSGActionSupervisor::getAction(), and cmsshow::sQuit.
CSGAction * CmsShowMainFrame::createNewViewerAction | ( | const std::string & | iActionName, |
bool | seaprator | ||
) |
Definition at line 595 of file CmsShowMainFrame.cc.
References mps_monitormerge::action, CSGAction::createMenuEntry(), and m_newViewerMenu.
Referenced by FWGUIManager::FWGUIManager().
|
virtual |
Reimplemented from CSGActionSupervisor.
Definition at line 633 of file CmsShowMainFrame.cc.
References 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 682 of file CmsShowMainFrame.cc.
References CSGAction::disable(), CSGAction::enable(), and m_goToLast.
Referenced by FWFFLooper::autoLoadNewEvent(), FWFFLooper::checkPosition(), and FWFFLooper::stopPlaying().
void CmsShowMainFrame::enableNavigatorControls | ( | ) |
Definition at line 612 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 662 of file CmsShowMainFrame.cc.
References CSGAction::disable(), CSGAction::enable(), m_goToLast, m_nextEvent, m_playEvents, and CSGContinuousAction::stop().
Referenced by FWGUIManager::disableNext().
void CmsShowMainFrame::enablePrevious | ( | bool | enable = true | ) |
Definition at line 645 of file CmsShowMainFrame.cc.
References CSGAction::disable(), CSGAction::enable(), m_goToFirst, m_playEventsBack, m_previousEvent, and CSGContinuousAction::stop().
Referenced by FWGUIManager::disablePrevious().
float CmsShowMainFrame::getSummaryViewWeight | ( | ) | const |
Definition at line 902 of file CmsShowMainFrame.cc.
References timeUnitHelper::pack().
Referenced by FWGUIManager::addTo().
Bool_t CmsShowMainFrame::HandleKey | ( | Event_t * | event | ) |
Definition at line 728 of file CmsShowMainFrame.cc.
References CSGActionSupervisor::getListOfActions(), playEventsAction(), playEventsBackwardsAction(), and CSGContinuousAction::switchMode().
|
virtual |
Reimplemented from CSGActionSupervisor.
Definition at line 715 of file CmsShowMainFrame.cc.
References fwLog, and fwlog::kInfo.
void CmsShowMainFrame::loadEvent | ( | const edm::EventBase & | event | ) |
Definition at line 603 of file CmsShowMainFrame.cc.
References edm::EventID::event(), fireworks::getLocalTime(), edm::EventBase::id(), edm::EventID::luminosityBlock(), m_eventEntry, m_lumiEntry, m_runEntry, m_timeText, edm::EventID::run(), FWNumberEntryField::SetUIntNumber(), and FWNumberEntryField::SetULong64Number().
Referenced by FWGUIManager::eventChangedCallback().
|
inline |
Definition at line 90 of file CmsShowMainFrame.h.
References m_loopAction.
Referenced by FWGUIManager::loopAction().
|
private |
Definition at line 770 of file CmsShowMainFrame.cc.
References diffTwoXMLs::label.
Referenced by CmsShowMainFrame().
bool CmsShowMainFrame::nextIsEnabled | ( | ) |
Definition at line 691 of file CmsShowMainFrame.cc.
References CSGAction::isEnabled(), and m_nextEvent.
|
private |
|
inline |
Definition at line 87 of file CmsShowMainFrame.h.
References m_playEvents.
Referenced by HandleKey(), and FWGUIManager::playEventsAction().
|
inline |
Definition at line 94 of file CmsShowMainFrame.h.
References m_playEventsBack.
Referenced by HandleKey(), and FWGUIManager::playEventsBackwardsAction().
bool CmsShowMainFrame::previousIsEnabled | ( | ) |
Definition at line 697 of file CmsShowMainFrame.cc.
References CSGAction::isEnabled(), and m_previousEvent.
void CmsShowMainFrame::quit | ( | ) |
Definition at line 628 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 762 of file CmsShowMainFrame.cc.
References m_delayLabel, and m_delaySlider.
Referenced by FWGUIManager::delaySliderChanged(), and FWGUIManager::setDelayBetweenEvents().
void CmsShowMainFrame::setSummaryViewWeight | ( | float | x | ) |
Definition at line 884 of file CmsShowMainFrame.cc.
References timeUnitHelper::pack(), and x.
Referenced by FWGUIManager::setFrom().
void CmsShowMainFrame::showFWorksInfo | ( | ) |
Definition at line 798 of file CmsShowMainFrame.cc.
References FWCheckBoxIcon::coreIcondir(), diffTwoXMLs::label, geometryCSVtoXML::line, m_fworksAbout, edmIntegrityCheck::pool, fireworks::setPath(), and AlCaHLTBitMon_QueryRunRegistry::string.
void CmsShowMainFrame::updateStatusBar | ( | const char * | status | ) |
Definition at line 702 of file CmsShowMainFrame.cc.
References m_statBar.
Referenced by FWGUIManager::updateStatus().
|
friend |
Definition at line 61 of file CmsShowMainFrame.h.
|
private |
Definition at line 145 of file CmsShowMainFrame.h.
Referenced by CmsShowMainFrame(), and setPlayDelayGUI().
|
private |
Definition at line 144 of file CmsShowMainFrame.h.
Referenced by CmsShowMainFrame(), and setPlayDelayGUI().
|
protected |
Definition at line 115 of file CmsShowMainFrame.h.
Referenced by CmsShowMainFrame(), and FWGUIManager::FWGUIManager().
|
protected |
Definition at line 114 of file CmsShowMainFrame.h.
Referenced by CmsShowMainFrame(), enableActions(), FWGUIManager::eventIdChanged(), FWGUIManager::FWGUIManager(), loadEvent(), FWGUIManager::lumiIdChanged(), and FWGUIManager::setPlayMode().
|
protected |
Definition at line 110 of file CmsShowMainFrame.h.
Referenced by CmsShowMainFrame(), enableActions(), FWGUIManager::FWGUIManager(), FWGUIManager::setFilterButtonIcon(), and FWGUIManager::updateEventFilterEnable().
|
protected |
Definition at line 117 of file CmsShowMainFrame.h.
Referenced by CmsShowMainFrame(), and FWGUIManager::setFilterButtonIcon().
|
protected |
Definition at line 111 of file CmsShowMainFrame.h.
Referenced by CmsShowMainFrame(), enableActions(), FWGUIManager::FWGUIManager(), and FWGUIManager::setFilterButtonText().
|
private |
Definition at line 142 of file CmsShowMainFrame.h.
Referenced by showFWorksInfo().
|
private |
Definition at line 137 of file CmsShowMainFrame.h.
|
private |
Definition at line 134 of file CmsShowMainFrame.h.
Referenced by CmsShowMainFrame(), enableNavigatorControls(), and enablePrevious().
|
private |
Definition at line 135 of file CmsShowMainFrame.h.
Referenced by CmsShowMainFrame(), enableComplexNavigation(), enableNavigatorControls(), and enableNext().
|
private |
Definition at line 140 of file CmsShowMainFrame.h.
Referenced by CmsShowMainFrame(), enableNavigatorControls(), and loopAction().
|
protected |
Definition at line 113 of file CmsShowMainFrame.h.
Referenced by CmsShowMainFrame(), enableActions(), FWGUIManager::eventIdChanged(), FWGUIManager::FWGUIManager(), loadEvent(), FWGUIManager::lumiIdChanged(), and FWGUIManager::runIdChanged().
|
private |
Definition at line 129 of file CmsShowMainFrame.h.
Referenced by CmsShowMainFrame().
|
private |
Definition at line 149 of file CmsShowMainFrame.h.
Referenced by CmsShowMainFrame(), and createNewViewerAction().
|
private |
Definition at line 132 of file CmsShowMainFrame.h.
Referenced by CmsShowMainFrame(), enableNavigatorControls(), enableNext(), and nextIsEnabled().
|
private |
Definition at line 136 of file CmsShowMainFrame.h.
|
private |
Definition at line 138 of file CmsShowMainFrame.h.
Referenced by CmsShowMainFrame(), enableNavigatorControls(), enableNext(), and playEventsAction().
|
private |
Definition at line 139 of file CmsShowMainFrame.h.
Referenced by CmsShowMainFrame(), enableNavigatorControls(), enablePrevious(), and playEventsBackwardsAction().
|
private |
Definition at line 133 of file CmsShowMainFrame.h.
Referenced by CmsShowMainFrame(), enableNavigatorControls(), enablePrevious(), and previousIsEnabled().
|
protected |
Definition at line 112 of file CmsShowMainFrame.h.
Referenced by CmsShowMainFrame(), enableActions(), FWGUIManager::eventIdChanged(), FWGUIManager::FWGUIManager(), loadEvent(), FWGUIManager::runIdChanged(), and FWGUIManager::setPlayMode().
|
private |
Definition at line 147 of file CmsShowMainFrame.h.
Referenced by clearStatusBar(), CmsShowMainFrame(), and updateStatusBar().
|
private |
Definition at line 131 of file CmsShowMainFrame.h.
Referenced by CmsShowMainFrame(), and loadEvent().
|
private |
Definition at line 130 of file CmsShowMainFrame.h.