#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 57 of file CmsShowMainFrame.h.
CmsShowMainFrame::CmsShowMainFrame | ( | const TGWindow * | p = 0 , |
UInt_t | w = 1 , |
||
UInt_t | h = 1 , |
||
FWGUIManager * | m = 0 |
||
) |
Definition at line 74 of file CmsShowMainFrame.cc.
References filterCSVwithJSON::copy, FWCheckBoxIcon::coreIcondir(), CSGContinuousAction::createCustomIconsButton(), CSGAction::createCustomIconsButton(), FWGUIManager::createList(), CSGAction::createMenuEntry(), CSGAction::createShortcut(), FWGUIManager::createViews(), GOODCOLL_filter_cfg::cut, CSGAction::disable(), alignCSCRings::help, diffTwoXMLs::label, python.cmstools::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::sNextEvent, cmsshow::sOpenData, cmsshow::sPaste, cmsshow::sPlayEvents, cmsshow::sPlayEventsBack, cmsshow::sPreviousEvent, cmsshow::sQuit, cmsshow::sRedo, cmsshow::sSaveConfig, cmsshow::sSaveConfigAs, cmsshow::sSearchFiles, cmsshow::sShowAddCollection, cmsshow::sShowCommonInsp, cmsshow::sShowEventDisplayInsp, cmsshow::sShowInvMassDialog, cmsshow::sShowMainViewCtl, cmsshow::sShowObjInsp, cmsshow::sUndo, and indexGen::title.
|
virtual |
Definition at line 513 of file CmsShowMainFrame.cc.
|
private |
void CmsShowMainFrame::bindCSGActionKeys | ( | const TGMainFrame * | f | ) | const |
Definition at line 803 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 647 of file CmsShowMainFrame.cc.
References m_statBar.
Referenced by FWGUIManager::clearStatus().
|
virtual |
Definition at line 562 of file CmsShowMainFrame.cc.
References CSGAction::activated, CSGActionSupervisor::getAction(), and cmsshow::sQuit.
CSGAction * CmsShowMainFrame::createNewViewerAction | ( | const std::string & | iActionName, |
bool | seaprator | ||
) |
Definition at line 534 of file CmsShowMainFrame.cc.
References alignCSCRings::action, CSGAction::createMenuEntry(), and m_newViewerMenu.
Referenced by FWGUIManager::FWGUIManager().
|
virtual |
Reimplemented from CSGActionSupervisor.
Definition at line 572 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 621 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 551 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 601 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 584 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 831 of file CmsShowMainFrame.cc.
References timeUnitHelper::pack().
Referenced by FWGUIManager::addTo().
Bool_t CmsShowMainFrame::HandleKey | ( | Event_t * | event | ) |
Definition at line 667 of file CmsShowMainFrame.cc.
References CSGActionSupervisor::getListOfActions().
|
virtual |
Reimplemented from CSGActionSupervisor.
Definition at line 654 of file CmsShowMainFrame.cc.
References fwLog, and fwlog::kInfo.
void CmsShowMainFrame::loadEvent | ( | const edm::EventBase & | event | ) |
Definition at line 542 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(), and FWNumberEntryField::SetUIntNumber().
Referenced by FWGUIManager::eventChangedCallback().
|
inline |
Definition at line 91 of file CmsShowMainFrame.h.
References m_loopAction.
Referenced by FWGUIManager::loopAction().
|
private |
Definition at line 699 of file CmsShowMainFrame.cc.
References diffTwoXMLs::label.
Referenced by CmsShowMainFrame().
bool CmsShowMainFrame::nextIsEnabled | ( | ) |
Definition at line 630 of file CmsShowMainFrame.cc.
References CSGAction::isEnabled(), and m_nextEvent.
|
private |
|
inline |
Definition at line 88 of file CmsShowMainFrame.h.
References m_playEvents.
Referenced by FWGUIManager::playEventsAction().
|
inline |
Definition at line 95 of file CmsShowMainFrame.h.
References m_playEventsBack.
Referenced by FWGUIManager::playEventsBackwardsAction().
bool CmsShowMainFrame::previousIsEnabled | ( | ) |
Definition at line 636 of file CmsShowMainFrame.cc.
References CSGAction::isEnabled(), and m_previousEvent.
void CmsShowMainFrame::quit | ( | ) |
Definition at line 567 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 691 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 813 of file CmsShowMainFrame.cc.
References timeUnitHelper::pack(), and x.
Referenced by FWGUIManager::setFrom().
void CmsShowMainFrame::showFWorksInfo | ( | ) |
Definition at line 727 of file CmsShowMainFrame.cc.
References asciidump::attributes, FWCheckBoxIcon::coreIcondir(), diffTwoXMLs::label, geometryCSVtoXML::line, m_fworksAbout, fetchall_from_DQM_v2::pool, and fireworks::setPath().
void CmsShowMainFrame::updateStatusBar | ( | const char * | status | ) |
Definition at line 641 of file CmsShowMainFrame.cc.
References m_statBar.
Referenced by FWGUIManager::updateStatus().
|
friend |
Definition at line 62 of file CmsShowMainFrame.h.
|
private |
Definition at line 146 of file CmsShowMainFrame.h.
Referenced by CmsShowMainFrame(), and setPlayDelayGUI().
|
private |
Definition at line 145 of file CmsShowMainFrame.h.
Referenced by CmsShowMainFrame(), and setPlayDelayGUI().
|
protected |
Definition at line 116 of file CmsShowMainFrame.h.
Referenced by CmsShowMainFrame(), and FWGUIManager::FWGUIManager().
|
protected |
Definition at line 115 of file CmsShowMainFrame.h.
Referenced by CmsShowMainFrame(), enableActions(), FWGUIManager::eventIdChanged(), FWGUIManager::FWGUIManager(), loadEvent(), FWGUIManager::lumiIdChanged(), and FWGUIManager::setPlayMode().
|
protected |
Definition at line 111 of file CmsShowMainFrame.h.
Referenced by CmsShowMainFrame(), enableActions(), FWGUIManager::FWGUIManager(), FWGUIManager::setFilterButtonIcon(), and FWGUIManager::updateEventFilterEnable().
|
protected |
Definition at line 118 of file CmsShowMainFrame.h.
Referenced by CmsShowMainFrame(), and FWGUIManager::setFilterButtonIcon().
|
protected |
Definition at line 112 of file CmsShowMainFrame.h.
Referenced by CmsShowMainFrame(), enableActions(), FWGUIManager::FWGUIManager(), and FWGUIManager::setFilterButtonText().
|
private |
Definition at line 143 of file CmsShowMainFrame.h.
Referenced by showFWorksInfo().
|
private |
Definition at line 138 of file CmsShowMainFrame.h.
|
private |
Definition at line 135 of file CmsShowMainFrame.h.
Referenced by CmsShowMainFrame(), enableNavigatorControls(), and enablePrevious().
|
private |
Definition at line 136 of file CmsShowMainFrame.h.
Referenced by CmsShowMainFrame(), enableComplexNavigation(), enableNavigatorControls(), and enableNext().
|
private |
Definition at line 141 of file CmsShowMainFrame.h.
Referenced by CmsShowMainFrame(), enableNavigatorControls(), and loopAction().
|
protected |
Definition at line 114 of file CmsShowMainFrame.h.
Referenced by CmsShowMainFrame(), enableActions(), FWGUIManager::eventIdChanged(), FWGUIManager::FWGUIManager(), loadEvent(), and FWGUIManager::runIdChanged().
|
private |
Definition at line 130 of file CmsShowMainFrame.h.
Referenced by CmsShowMainFrame().
|
private |
Definition at line 150 of file CmsShowMainFrame.h.
Referenced by CmsShowMainFrame(), and createNewViewerAction().
|
private |
Definition at line 133 of file CmsShowMainFrame.h.
Referenced by CmsShowMainFrame(), enableNavigatorControls(), enableNext(), and nextIsEnabled().
|
private |
Definition at line 137 of file CmsShowMainFrame.h.
|
private |
Definition at line 139 of file CmsShowMainFrame.h.
Referenced by CmsShowMainFrame(), enableNavigatorControls(), enableNext(), and playEventsAction().
|
private |
Definition at line 140 of file CmsShowMainFrame.h.
Referenced by CmsShowMainFrame(), enableNavigatorControls(), enablePrevious(), and playEventsBackwardsAction().
|
private |
Definition at line 134 of file CmsShowMainFrame.h.
Referenced by CmsShowMainFrame(), enableNavigatorControls(), enablePrevious(), and previousIsEnabled().
|
protected |
Definition at line 113 of file CmsShowMainFrame.h.
Referenced by CmsShowMainFrame(), enableActions(), FWGUIManager::eventIdChanged(), FWGUIManager::FWGUIManager(), loadEvent(), and FWGUIManager::setPlayMode().
|
private |
Definition at line 148 of file CmsShowMainFrame.h.
Referenced by clearStatusBar(), CmsShowMainFrame(), and updateStatusBar().
|
private |
Definition at line 132 of file CmsShowMainFrame.h.
Referenced by CmsShowMainFrame(), and loadEvent().
|
private |
Definition at line 131 of file CmsShowMainFrame.h.