#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 76 of file CmsShowMainFrame.cc.
References popcon2dropbox::copy(), FWCheckBoxIcon::coreIcondir(), CSGContinuousAction::createCustomIconsButton(), CSGAction::createCustomIconsButton(), FWGUIManager::createList(), CSGAction::createMenuEntry(), CSGAction::createShortcut(), FWGUIManager::createViews(), TkAlMuonSelectors_cfi::cut, CSGAction::disable(), hcaldqm::fClient, createfilelist::help, diffTwoXMLs::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 fftjetcommon_cfi::title.
|
virtual |
Definition at line 535 of file CmsShowMainFrame.cc.
|
private |
void CmsShowMainFrame::bindCSGActionKeys | ( | const TGMainFrame * | f | ) | const |
Definition at line 835 of file CmsShowMainFrame.cc.
References 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::ClassDef | ( | CmsShowMainFrame | , |
0 | |||
) |
void CmsShowMainFrame::clearStatusBar | ( | ) |
Definition at line 669 of file CmsShowMainFrame.cc.
References m_statBar.
Referenced by FWGUIManager::clearStatus().
|
virtual |
Definition at line 584 of file CmsShowMainFrame.cc.
References CSGAction::activated, CSGActionSupervisor::getAction(), and cmsshow::sQuit.
CSGAction * CmsShowMainFrame::createNewViewerAction | ( | const std::string & | iActionName, |
bool | seaprator | ||
) |
Definition at line 556 of file CmsShowMainFrame.cc.
References mps_alisetup::action, CSGAction::createMenuEntry(), and m_newViewerMenu.
Referenced by FWGUIManager::FWGUIManager().
|
virtual |
Reimplemented from CSGActionSupervisor.
Definition at line 594 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 643 of file CmsShowMainFrame.cc.
References CSGAction::disable(), CSGAction::enable(), and m_goToLast.
void CmsShowMainFrame::enableNavigatorControls | ( | ) |
Definition at line 573 of file CmsShowMainFrame.cc.
References CSGAction::enable(), m_goToFirst, m_goToLast, m_loopAction, m_nextEvent, m_playEvents, m_playEventsBack, and m_previousEvent.
Referenced by CmsShowMain::checkPosition().
void CmsShowMainFrame::enableNext | ( | bool | enable = true | ) |
Definition at line 623 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 606 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 863 of file CmsShowMainFrame.cc.
References timeUnitHelper::pack().
Referenced by FWGUIManager::addTo().
Bool_t CmsShowMainFrame::HandleKey | ( | Event_t * | event | ) |
Definition at line 689 of file CmsShowMainFrame.cc.
References CSGActionSupervisor::getListOfActions(), playEventsAction(), playEventsBackwardsAction(), and CSGContinuousAction::switchMode().
|
virtual |
Reimplemented from CSGActionSupervisor.
Definition at line 676 of file CmsShowMainFrame.cc.
References fwLog, and fwlog::kInfo.
void CmsShowMainFrame::loadEvent | ( | const edm::EventBase & | event | ) |
Definition at line 564 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 |
|
private |
Definition at line 731 of file CmsShowMainFrame.cc.
References diffTwoXMLs::label.
Referenced by CmsShowMainFrame().
bool CmsShowMainFrame::nextIsEnabled | ( | ) |
Definition at line 652 of file CmsShowMainFrame.cc.
References CSGAction::isEnabled(), and m_nextEvent.
|
private |
|
inline |
Definition at line 87 of file CmsShowMainFrame.h.
Referenced by HandleKey(), and FWGUIManager::playEventsAction().
|
inline |
Definition at line 94 of file CmsShowMainFrame.h.
References f, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by HandleKey(), and FWGUIManager::playEventsBackwardsAction().
bool CmsShowMainFrame::previousIsEnabled | ( | ) |
Definition at line 658 of file CmsShowMainFrame.cc.
References CSGAction::isEnabled(), and m_previousEvent.
void CmsShowMainFrame::quit | ( | ) |
Definition at line 589 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 723 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 845 of file CmsShowMainFrame.cc.
References timeUnitHelper::pack(), and x.
Referenced by FWGUIManager::setFrom().
void CmsShowMainFrame::showFWorksInfo | ( | ) |
Definition at line 759 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 663 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(), and enableNavigatorControls().
|
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(), and enableNext().
|
private |
Definition at line 139 of file CmsShowMainFrame.h.
Referenced by CmsShowMainFrame(), enableNavigatorControls(), and enablePrevious().
|
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.