#include <Fireworks/Core/interface/FWGUIManager.h>
Public Types | |
typedef std::map< std::string, ViewBuildFunctor > | NameToViewBuilder |
typedef boost::function2 < FWViewBase *, TEveWindowSlot *, const std::string & > | ViewBuildFunctor |
Static Public Member Functions | |
static FWGUIManager * | getGUIManager () |
static TGFrame * | makeGUIsubview (TEveCompositeFrame *cp, TGCompositeFrame *parent, Int_t height) |
Public Attributes | |
sigc::signal< void, Float_t > | changedDelayBetweenEvents_ |
sigc::signal< void > | changedEventEntry_ |
sigc::signal< void, edm::RunNumber_t, edm::LuminosityBlockNumber_t, edm::EventNumber_t > | changedEventId_ |
sigc::signal< void > | changedRunEntry_ |
sigc::signal< void > | filterButtonClicked_ |
sigc::signal< void > | goingToQuit_ |
sigc::signal< void, const std::string & > | loadFromConfigurationFile_ |
sigc::signal< void, const std::string & > | loadPartialFromConfigurationFile_ |
sigc::signal< void, const TGWindow * > | showEventFilterGUI_ |
sigc::signal< void, const std::string & > | writePartialToConfigurationFile_ |
sigc::signal< void, const std::string & > | writeToConfigurationFile_ |
sigc::signal< void > | writeToPresentConfigurationFile_ |
Private Types | |
typedef ViewMap_t::iterator | ViewMap_i |
typedef std::map< TEveWindow *, FWViewBase * > | ViewMap_t |
Private Member Functions | |
void | delaySliderChanged (Int_t) |
void | finishUpColorChange () |
FWGUIManager (const FWGUIManager &) | |
TEveWindow * | getSwapCandidate () |
void | measureWMOffsets () |
void | newItem (const FWEventItem *) |
const FWGUIManager & | operator= (const FWGUIManager &) |
bool | promptForConfigurationFile (std::string &result, enum EFileDialogMode mode) |
void | promptForLoadConfigurationFile () |
void | promptForPartialLoadConfigurationFile () |
void | promptForPartialSaveConfigurationFile () |
void | promptForSaveConfigurationFile () |
void | savePartialToConfigurationFile () |
void | setViewPopup (TEveWindow *) |
Private Attributes | |
CmsShowMainFrame * | m_cmsShowMainFrame |
CmsShowCommonPopup * | m_commonPopup |
fireworks::Context * | m_context |
FWModelContextMenuHandler * | m_contextMenuHandler |
FWGUIEventDataAdder * | m_dataAdder |
FWDetailViewManager * | m_detailViewManager |
CmsShowEDI * | m_ediFrame |
TGPopupMenu * | m_fileMenu |
CmsShowHelpPopup * | m_helpGLPopup |
CmsShowHelpPopup * | m_helpPopup |
FWInvMassDialog * | m_invMassDialog |
sigc::connection | m_modelChangeConn |
CmsShowModelPopup * | m_modelPopup |
NameToViewBuilder | m_nameToViewBuilder |
FWNavigatorBase * | m_navigator |
std::vector< FWViewBase * > | m_regionViews |
CmsShowHelpPopup * | m_shortcutPopup |
FWSummaryManager * | m_summaryManager |
std::auto_ptr < CmsShowTaskExecutor > | m_tasks |
const FWViewManagerManager * | m_viewManagerManager |
ViewMap_t | m_viewMap |
CmsShowViewPopup * | m_viewPopup |
TEveWindowPack * | m_viewPrimPack |
TEveWindowPack * | m_viewSecPack |
int | m_WMDecorH |
int | m_WMOffsetX |
int | m_WMOffsetY |
Static Private Attributes | |
static FWGUIManager * | m_guiManager = 0 |
typedef std::map<std::string, ViewBuildFunctor > FWGUIManager::NameToViewBuilder |
Definition at line 100 of file FWGUIManager.h.
typedef boost::function2<FWViewBase*,TEveWindowSlot*, const std::string& > FWGUIManager::ViewBuildFunctor |
Definition at line 99 of file FWGUIManager.h.
|
private |
Definition at line 103 of file FWGUIManager.h.
|
private |
Definition at line 102 of file FWGUIManager.h.
FWGUIManager::FWGUIManager | ( | fireworks::Context * | ctx, |
const FWViewManagerManager * | iVMMgr, | ||
FWNavigatorBase * | navigator | ||
) |
Definition at line 104 of file FWGUIManager.cc.
References alignCSCRings::action, CSGAction::activated, addData(), assert(), fireworks::Context::colorManager(), FWColorManager::colorsHaveChangedFinished_, createHelpGLPopup(), createHelpPopup(), CmsShowMainFrame::createNewViewerAction(), createShortcutPopup(), delaySliderChanged(), fireworks::Context::eventItemsManager(), exportImageOfMainView(), exportImagesOfAllViews(), finishUpColorChange(), getAction(), fireworks::Context::getHidePFBuilders(), i, FWViewType::idToName(), FWViewType::kGlimpse, FWViewType::kLegoPFECAL, FWViewType::kRhoPhiPF, FWViewType::kTableHLT, FWViewType::kTypeSize, m_cmsShowMainFrame, m_context, m_contextMenuHandler, CmsShowMainFrame::m_delaySliderListener, m_detailViewManager, CmsShowMainFrame::m_eventEntry, CmsShowMainFrame::m_filterEnableBtn, CmsShowMainFrame::m_filterShowGUIBtn, m_guiManager, CmsShowMainFrame::m_lumiEntry, CmsShowMainFrame::m_runEntry, makeGUIsubview(), measureWMOffsets(), newItem(), FWEventItemsManager::newItem_, newViewSlot(), promptForLoadConfigurationFile(), promptForPartialLoadConfigurationFile(), promptForPartialSaveConfigurationFile(), promptForSaveConfigurationFile(), savePartialToConfigurationFile(), cmsshow::sBackgroundColor, fireworks::Context::selectionManager(), cmsshow::sExportAllImages, cmsshow::sExportImage, cmsshow::sHelp, cmsshow::sHelpGL, showCommonPopup(), showEDIFrame(), showInvMassDialog(), showModelPopup(), showViewPopup(), cmsshow::sKeyboardShort, cmsshow::sLoadConfig, cmsshow::sLoadPartialConfig, cmsshow::sSaveConfig, cmsshow::sSaveConfigAs, cmsshow::sSavePartialConfig, cmsshow::sSavePartialConfigAs, cmsshow::sShowAddCollection, cmsshow::sShowCommonInsp, cmsshow::sShowEventDisplayInsp, cmsshow::sShowInvMassDialog, cmsshow::sShowMainViewCtl, cmsshow::sShowObjInsp, FWColorManager::switchBackground(), FWIntValueListener::valueChanged_, create_public_lumi_plots::width, and writeToPresentConfigurationFile_.
|
virtual |
Definition at line 227 of file FWGUIManager.cc.
References m_cmsShowMainFrame, m_contextMenuHandler, m_detailViewManager, m_ediFrame, m_invMassDialog, m_summaryManager, and m_viewPopup.
|
private |
void FWGUIManager::addData | ( | ) |
Definition at line 437 of file FWGUIManager.cc.
References fireworks::Context::eventItemsManager(), m_cmsShowMainFrame, m_context, m_dataAdder, fireworks::Context::metadataManager(), and FWGUIEventDataAdder::show().
Referenced by FWGUIManager().
|
virtual |
Implements FWConfigurable.
Definition at line 1147 of file FWGUIManager.cc.
References addAreaInfoTo(), FWConfiguration::addKeyValue(), FWConfigurableParameterizable::addTo(), addWindowInfoTo(), CmsShowMainFrame::getSummaryViewWeight(), kCollectionController(), kCommonController(), kControllers(), kMainWindow(), kObjectController(), kViewArea(), kViewController(), kViews(), m_cmsShowMainFrame, m_commonPopup, m_ediFrame, m_modelPopup, m_viewMap, m_viewPopup, m_viewPrimPack, m_viewSecPack, createTree::pp, contentValuesCheck::ss, groupFilesInBlocks::temp, FWViewBase::typeName(), and FWConfigurableParameterizable::version().
void FWGUIManager::checkSubviewAreaIconState | ( | TEveWindow * | ) |
Definition at line 499 of file FWGUIManager.cc.
References cond::rpcobimon::current, CmsShowViewPopup::getEveWindow(), getSwapCandidate(), FWGUISubviewArea::getToolBarFromWindow(), m_viewMap, m_viewPopup, CmsShowViewPopup::mapped(), FWGUISubviewArea::setInfoButton(), and FWGUISubviewArea::setSwapIcon().
Referenced by setFrom(), and subviewSwapped().
void FWGUIManager::clearStatus | ( | ) |
Definition at line 420 of file FWGUIManager.cc.
References CmsShowMainFrame::clearStatusBar(), and m_cmsShowMainFrame.
Referenced by CmsShowMain::appendData(), CmsShowMain::openData(), CmsShowMain::openDataViaURL(), CmsShowMain::postFiltering(), and CmsShowMainBase::setup().
void FWGUIManager::connectSubviewAreaSignals | ( | FWGUISubviewArea * | a | ) |
Definition at line 216 of file FWGUIManager.cc.
References FWGUISubviewArea::goingToBeDestroyed_, FWGUISubviewArea::selected_, subviewInfoSelected(), subviewInfoUnselected(), subviewIsBeingDestroyed(), subviewSwapped(), FWGUISubviewArea::swap_, and FWGUISubviewArea::unselected_.
Referenced by FWGUISubviewArea::FWGUISubviewArea().
void FWGUIManager::createEDIFrame | ( | ) |
Definition at line 643 of file FWGUIManager.cc.
References CmsShowMainFrame::bindCSGActionKeys(), fireworks::Context::colorManager(), m_cmsShowMainFrame, m_context, m_ediFrame, and fireworks::Context::selectionManager().
Referenced by showEDIFrame().
void FWGUIManager::createHelpGLPopup | ( | ) |
Definition at line 794 of file FWGUIManager.cc.
References getAction(), m_cmsShowMainFrame, m_helpGLPopup, and cmsshow::sHelpGL.
Referenced by FWGUIManager().
void FWGUIManager::createHelpPopup | ( | ) |
Definition at line 767 of file FWGUIManager.cc.
References m_cmsShowMainFrame, and m_helpPopup.
Referenced by FWGUIManager().
TGVerticalFrame * FWGUIManager::createList | ( | TGCompositeFrame * | p | ) |
Definition at line 603 of file FWGUIManager.cc.
References fireworks::Context::colorManager(), fireworks::Context::eventItemsManager(), m_context, m_summaryManager, fireworks::Context::modelChangeManager(), fireworks::Context::selectionManager(), and FWSummaryManager::widget().
Referenced by CmsShowMainFrame::CmsShowMainFrame().
void FWGUIManager::createModelPopup | ( | ) |
Definition at line 707 of file FWGUIManager.cc.
References CmsShowMainFrame::bindCSGActionKeys(), fireworks::Context::colorManager(), m_cmsShowMainFrame, m_context, m_detailViewManager, m_modelPopup, and fireworks::Context::selectionManager().
Referenced by showModelPopup().
void FWGUIManager::createShortcutPopup | ( | ) |
Definition at line 781 of file FWGUIManager.cc.
References getAction(), m_cmsShowMainFrame, m_shortcutPopup, and cmsshow::sKeyboardShort.
Referenced by FWGUIManager().
FWGUIManager::ViewMap_i FWGUIManager::createView | ( | const std::string & | iName, |
TEveWindowSlot * | slot = 0 |
||
) |
Definition at line 290 of file FWGUIManager.cc.
References assert(), newFWLiteAna::base, FWViewBase::contextMenuHandler(), m_guiManager, m_nameToViewBuilder, m_viewMap, m_viewPrimPack, m_viewSecPack, FWViewBase::openSelectedModelContextMenu_, showSelectedModelContextMenu(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by newViewSlot(), open3DRegion(), and setFrom().
void FWGUIManager::createViews | ( | TEveWindowSlot * | slot | ) |
Definition at line 633 of file FWGUIManager.cc.
References m_viewPrimPack, and m_viewSecPack.
Referenced by CmsShowMainFrame::CmsShowMainFrame().
|
private |
Definition at line 1427 of file FWGUIManager.cc.
References changedDelayBetweenEvents_, m_cmsShowMainFrame, and CmsShowMainFrame::setPlayDelayGUI().
Referenced by FWGUIManager().
void FWGUIManager::disableNext | ( | ) |
Definition at line 402 of file FWGUIManager.cc.
References CmsShowMainFrame::enableNext(), and m_cmsShowMainFrame.
Referenced by FWFFService::checkPosition(), FWFFLooper::checkPosition(), and CmsShowMain::checkPosition().
void FWGUIManager::disablePrevious | ( | ) |
Definition at line 396 of file FWGUIManager.cc.
References CmsShowMainFrame::enablePrevious(), and m_cmsShowMainFrame.
Referenced by FWFFService::checkPosition(), FWFFLooper::checkPosition(), and CmsShowMain::checkPosition().
void FWGUIManager::enableActions | ( | bool | enable = true | ) |
Definition at line 330 of file FWGUIManager.cc.
References CmsShowMainFrame::enableActions(), and m_cmsShowMainFrame.
Referenced by FWFFLooper::autoLoadNewEvent(), CmsShowMain::autoLoadNewEvent(), CmsShowMainBase::playBackward(), CmsShowMainBase::playForward(), FWFFLooper::stopPlaying(), and CmsShowMain::stopPlaying().
void FWGUIManager::eventChangedCallback | ( | ) |
Definition at line 344 of file FWGUIManager.cc.
References ev, getCurrentEvent(), i, CmsShowMainFrame::loadEvent(), m_cmsShowMainFrame, m_detailViewManager, m_regionViews, m_viewMap, and FWDetailViewManager::newEventCallback().
Referenced by CmsShowMainBase::eventChangedImp().
void FWGUIManager::eventIdChanged | ( | ) |
Definition at line 1462 of file FWGUIManager.cc.
References changedEventId_, FWNumberEntryField::GetUIntNumber(), FWNumberEntryField::GetULong64Number(), edm::invalidEventNumber, m_cmsShowMainFrame, CmsShowMainFrame::m_eventEntry, CmsShowMainFrame::m_lumiEntry, CmsShowMainFrame::m_runEntry, and FWNumberEntryField::SetULong64Number().
void FWGUIManager::evePreTerminate | ( | ) |
Definition at line 240 of file FWGUIManager.cc.
References m_cmsShowMainFrame, and m_viewMap.
Referenced by CmsShowMain::doExit().
void FWGUIManager::exportAllViews | ( | const std::string & | format, |
int | height | ||
) |
Definition at line 974 of file FWGUIManager.cc.
References ev, f, mergeVDriftHistosByStation::file, getCurrentEvent(), i, j, prof2calltree::l, m_viewMap, and mergeVDriftHistosByStation::name.
Referenced by exportImagesOfAllViews().
void FWGUIManager::exportImageOfMainView | ( | ) |
Definition at line 925 of file FWGUIManager.cc.
References fwLog, fwlog::kError, m_cmsShowMainFrame, m_viewMap, and m_viewPrimPack.
Referenced by FWGUIManager().
void FWGUIManager::exportImagesOfAllViews | ( | ) |
Definition at line 940 of file FWGUIManager.cc.
References gather_cfg::cout, dir, alignCSCRings::e, exportAllViews(), m_cmsShowMainFrame, mergeVDriftHistosByStation::name, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by FWGUIManager().
void FWGUIManager::filterButtonClicked | ( | ) |
Definition at line 1492 of file FWGUIManager.cc.
References filterButtonClicked_.
|
private |
Definition at line 1475 of file FWGUIManager.cc.
References CmsShowCommonPopup::colorSetChanged(), CmsShowModelPopup::colorSetChanged(), CmsShowEDI::colorSetChanged(), m_commonPopup, m_ediFrame, and m_modelPopup.
Referenced by FWGUIManager().
CSGAction * FWGUIManager::getAction | ( | const std::string | name | ) |
Definition at line 372 of file FWGUIManager.cc.
References CSGActionSupervisor::getAction(), and m_cmsShowMainFrame.
Referenced by createHelpGLPopup(), createShortcutPopup(), FWGUIManager(), and CmsShowMain::setupDataHandling().
const edm::EventBase * FWGUIManager::getCurrentEvent | ( | ) | const |
Definition at line 827 of file FWGUIManager.cc.
References FWNavigatorBase::getCurrentEvent(), and m_navigator.
Referenced by FWPFCandidateDetailView::build(), FWPFCandidateDetailView::buildGLEventScene(), FWTriggerTableView::dataChanged(), eventChangedCallback(), exportAllViews(), FWHLTValidator::fillOptions(), and FWEventAnnotation::updateOverlayText().
|
static |
Definition at line 821 of file FWGUIManager.cc.
References m_guiManager.
Referenced by FWPFCandidateDetailView::build(), FWPFCandidateDetailView::buildGLEventScene(), CmsShowMain::checkKeyBindingsOnPLayEventsStateChanged(), FWTriggerTableView::dataChanged(), FWHLTValidator::fillOptions(), FWGUISubviewArea::FWGUISubviewArea(), FWGUIEventFilter::HandleKey(), FWPartialConfigLoadGUI::Load(), FWGUISubviewArea::undock(), and FWEventAnnotation::updateOverlayText().
|
inline |
Definition at line 200 of file FWGUIManager.h.
References m_cmsShowMainFrame.
Referenced by CmsShowMain::appendData(), FWFFLooper::autoLoadNewEvent(), CmsShowMain::checkKeyBindingsOnPLayEventsStateChanged(), FWFFService::checkPosition(), FWFFLooper::checkPosition(), CmsShowMain::checkPosition(), FWGUIEventFilter::HandleKey(), CmsShowMain::openData(), FWFFLooper::stopPlaying(), and FWGUISubviewArea::undock().
|
private |
Definition at line 453 of file FWGUIManager.cc.
References m_viewPrimPack, m_viewSecPack, and createTree::pp.
Referenced by checkSubviewAreaIconState(), and subviewSwapped().
CSGContinuousAction * FWGUIManager::loopAction | ( | ) |
Definition at line 390 of file FWGUIManager.cc.
References CmsShowMainFrame::loopAction(), and m_cmsShowMainFrame.
void FWGUIManager::lumiIdChanged | ( | ) |
Definition at line 1451 of file FWGUIManager.cc.
References FWNumberEntryField::GetUIntNumber(), edm::invalidLuminosityBlockNumber, m_cmsShowMainFrame, CmsShowMainFrame::m_eventEntry, CmsShowMainFrame::m_lumiEntry, and FWNumberEntryField::SetUIntNumber().
|
static |
Definition at line 268 of file FWGUIManager.cc.
Referenced by FWGUIManager().
|
private |
Definition at line 1519 of file FWGUIManager.cc.
References asciidump::attr, fwLog, fwlog::kDebug, m_WMDecorH, m_WMOffsetX, m_WMOffsetY, x, and y.
Referenced by FWGUIManager().
|
private |
Definition at line 426 of file FWGUIManager.cc.
References FWEventItem::id(), and FWEventItem::name().
Referenced by FWGUIManager().
void FWGUIManager::newViewSlot | ( | const std::string & | iName | ) |
Definition at line 283 of file FWGUIManager.cc.
References createView().
Referenced by FWGUIManager().
void FWGUIManager::open3DRegion | ( | ) |
Definition at line 666 of file FWGUIManager.cc.
References gather_cfg::cout, createView(), alignCSCRings::e, cmsHarvester::index, m_context, m_viewSecPack, python.connectstrParser::o, triggerExpression::parse(), phi, FWSelectionManager::selected(), fireworks::Context::selectionManager(), theta(), and findQualityFiles::v.
Referenced by FWModelContextMenuHandler::chosenItem().
void FWGUIManager::openEveBrowserForDebugging | ( | ) | const |
Definition at line 1418 of file FWGUIManager.cc.
|
private |
CSGContinuousAction * FWGUIManager::playEventsAction | ( | ) |
Definition at line 378 of file FWGUIManager.cc.
References m_cmsShowMainFrame, and CmsShowMainFrame::playEventsAction().
Referenced by CmsShowMain::checkLiveMode(), FWFFService::checkPosition(), FWFFLooper::checkPosition(), and CmsShowMain::checkPosition().
CSGContinuousAction * FWGUIManager::playEventsBackwardsAction | ( | ) |
Definition at line 384 of file FWGUIManager.cc.
References m_cmsShowMainFrame, and CmsShowMainFrame::playEventsBackwardsAction().
void FWGUIManager::popupViewClosed | ( | ) |
Definition at line 722 of file FWGUIManager.cc.
References CmsShowViewPopup::getEveWindow(), FWGUISubviewArea::getToolBarFromWindow(), m_viewPopup, and FWGUISubviewArea::setInfoButton().
Referenced by setViewPopup().
|
private |
Helper method for a load / save configuration dialog.
result where the picked file is stored.
mode the mode for the dialog (i.e. Load / Save).
Definition at line 841 of file FWGUIManager.cc.
References dir, m_cmsShowMainFrame, alignBH_cfg::mode, mergeVDriftHistosByStation::name, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by promptForLoadConfigurationFile(), promptForPartialLoadConfigurationFile(), promptForPartialSaveConfigurationFile(), and promptForSaveConfigurationFile().
|
private |
Emits the signal which request to load the configuration file picked up in a dialog.
Definition at line 871 of file FWGUIManager.cc.
References loadFromConfigurationFile_, mergeVDriftHistosByStation::name, promptForConfigurationFile(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by FWGUIManager().
|
private |
Definition at line 883 of file FWGUIManager.cc.
References loadPartialFromConfigurationFile_, mergeVDriftHistosByStation::name, promptForConfigurationFile(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by FWGUIManager().
|
private |
Definition at line 909 of file FWGUIManager.cc.
References mergeVDriftHistosByStation::name, promptForConfigurationFile(), AlCaHLTBitMon_QueryRunRegistry::string, and writePartialToConfigurationFile_.
Referenced by FWGUIManager().
|
private |
Emits the signal which requests to save the current configuration in the file picked up in the dialog.
Definition at line 899 of file FWGUIManager.cc.
References mergeVDriftHistosByStation::name, promptForConfigurationFile(), AlCaHLTBitMon_QueryRunRegistry::string, and writeToConfigurationFile_.
Referenced by FWGUIManager().
void FWGUIManager::registerViewBuilder | ( | const std::string & | iName, |
ViewBuildFunctor & | iBuilder | ||
) |
Definition at line 275 of file FWGUIManager.cc.
References m_nameToViewBuilder.
Referenced by FWEveViewManager::FWEveViewManager(), FWGeometryTableViewManager::FWGeometryTableViewManager(), FWTableViewManager::FWTableViewManager(), and FWTriggerTableViewManager::FWTriggerTableViewManager().
void FWGUIManager::resetWMOffsets | ( | ) |
Definition at line 1551 of file FWGUIManager.cc.
References m_WMDecorH, m_WMOffsetX, and m_WMOffsetY.
Referenced by CmsShowMain::CmsShowMain().
void FWGUIManager::runIdChanged | ( | ) |
Definition at line 1440 of file FWGUIManager.cc.
References FWNumberEntryField::GetUIntNumber(), edm::invalidRunNumber, m_cmsShowMainFrame, CmsShowMainFrame::m_lumiEntry, CmsShowMainFrame::m_runEntry, and FWNumberEntryField::SetUIntNumber().
|
private |
Definition at line 919 of file FWGUIManager.cc.
References writePartialToConfigurationFile_.
Referenced by FWGUIManager().
void FWGUIManager::setDelayBetweenEvents | ( | Float_t | val | ) |
Definition at line 1435 of file FWGUIManager.cc.
References m_cmsShowMainFrame, and CmsShowMainFrame::setPlayDelayGUI().
void FWGUIManager::setFilterButtonIcon | ( | int | state | ) |
Definition at line 1504 of file FWGUIManager.cc.
References i, m_cmsShowMainFrame, CmsShowMainFrame::m_filterEnableBtn, CmsShowMainFrame::m_filterIcons, and FWCustomIconsButton::setIcons().
Referenced by CmsShowMain::navigatorChangedFilterState(), and CmsShowMain::setupDataHandling().
void FWGUIManager::setFilterButtonText | ( | const char * | txt | ) |
Definition at line 1498 of file FWGUIManager.cc.
References m_cmsShowMainFrame, and CmsShowMainFrame::m_filterShowGUIBtn.
Referenced by FWFFLooper::beginRun(), CmsShowMain::navigatorChangedFilterState(), CmsShowMain::postFiltering(), and FWFFLooper::showPathsGUI().
|
virtual |
Implements FWConfigurable.
Definition at line 1288 of file FWGUIManager.cc.
References assert(), CmsShowMainFrame::bindCSGActionKeys(), FWViewType::checkNameWithViewVersion(), checkSubviewAreaIconState(), createView(), fwLog, kCollectionController(), kCommonController(), kControllers(), FWConfiguration::keyValues(), FWViewType::kGeometryTable, kMainWindow(), kObjectController(), kUndocked(), kViewArea(), kViewController(), kViews(), fwlog::kWarning, m_cmsShowMainFrame, m_commonPopup, m_ediFrame, m_modelPopup, m_viewMap, m_viewPopup, m_viewPrimPack, m_viewSecPack, mergeVDriftHistosByStation::name, FWGeometryTableViewBase::populate3DViewsFromConfig(), CmsShowMainFrame::setSummaryViewWeight(), setViewPopup(), setWindowInfoFrom(), showCommonPopup(), showEDIFrame(), showModelPopup(), AlCaHLTBitMon_QueryRunRegistry::string, subviewDestroyAll(), FWConfiguration::value(), FWConfiguration::valueForKey(), FWConfiguration::version(), and histoStyle::weight.
void FWGUIManager::setPlayMode | ( | bool | play | ) |
Definition at line 408 of file FWGUIManager.cc.
References m_cmsShowMainFrame, CmsShowMainFrame::m_eventEntry, and CmsShowMainFrame::m_runEntry.
|
private |
Definition at line 739 of file FWGUIManager.cc.
References CmsShowViewPopup::closed_, fireworks::Context::colorManager(), m_context, m_guiManager, m_viewMap, m_viewPopup, popupViewClosed(), CmsShowViewPopup::reset(), and CmsShowViewPopup::UnmapWindow().
Referenced by setFrom(), showViewPopup(), subviewDestroyAll(), subviewInfoSelected(), and subviewIsBeingDestroyed().
void FWGUIManager::setWindowInfoFrom | ( | const FWConfiguration & | iFrom, |
TGMainFrame * | iFrame | ||
) |
Definition at line 1275 of file FWGUIManager.cc.
References m_WMDecorH, m_WMOffsetX, m_WMOffsetY, FWConfiguration::value(), FWConfiguration::valueForKey(), create_public_lumi_plots::width, x, and y.
Referenced by setFrom().
void FWGUIManager::showCommonPopup | ( | ) |
Definition at line 696 of file FWGUIManager.cc.
References CmsShowMainFrame::bindCSGActionKeys(), fireworks::Context::commonPrefs(), m_cmsShowMainFrame, m_commonPopup, and m_context.
Referenced by FWGUIManager(), and setFrom().
void FWGUIManager::showEDIFrame | ( | int | iInfoToShow = -1 | ) |
Allowed values are -1 or ones from FWDataCategories enum.
Definition at line 654 of file FWGUIManager.cc.
References createEDIFrame(), m_ediFrame, and CmsShowEDI::show().
Referenced by FWModelContextMenuHandler::chosenItem(), FWGUIManager(), FWSummaryManager::requestForController(), FWSummaryManager::requestForError(), FWSummaryManager::requestForFilter(), FWSummaryManager::requestForInfo(), and setFrom().
void FWGUIManager::showEventFilterGUI | ( | ) |
Definition at line 1486 of file FWGUIManager.cc.
References m_cmsShowMainFrame, and showEventFilterGUI_.
Referenced by FWFFLooper::beginRun(), and CmsShowMain::filterButtonClicked().
void FWGUIManager::showInvMassDialog | ( | ) |
Definition at line 756 of file FWGUIManager.cc.
References CmsShowMainFrame::bindCSGActionKeys(), m_cmsShowMainFrame, m_context, m_invMassDialog, and fireworks::Context::selectionManager().
Referenced by FWGUIManager().
void FWGUIManager::showModelPopup | ( | ) |
Definition at line 715 of file FWGUIManager.cc.
References createModelPopup(), and m_modelPopup.
Referenced by FWModelContextMenuHandler::chosenItem(), FWGUIManager(), and setFrom().
void FWGUIManager::showSelectedModelContextMenu | ( | Int_t | iGlobalX, |
Int_t | iGlobalY, | ||
FWViewContextMenuHandlerBase * | iHandler | ||
) |
Definition at line 808 of file FWGUIManager.cc.
References m_context, m_contextMenuHandler, FWSelectionManager::selected(), fireworks::Context::selectionManager(), and FWModelContextMenuHandler::showSelectedModelContext().
Referenced by createView(), and FWSummaryManager::requestForSelectedModelContextMenu().
void FWGUIManager::showViewPopup | ( | ) |
Definition at line 732 of file FWGUIManager.cc.
References setViewPopup().
Referenced by FWGUIManager().
void FWGUIManager::subviewDestroy | ( | FWGUISubviewArea * | sva | ) |
Definition at line 531 of file FWGUIManager.cc.
References FWViewBase::destroy(), FWGUISubviewArea::getEveWindow(), and m_viewMap.
Referenced by subviewDestroyAll(), and subviewIsBeingDestroyed().
void FWGUIManager::subviewDestroyAll | ( | ) |
Definition at line 540 of file FWGUIManager.cc.
References FWGUISubviewArea::getToolBarFromWindow(), i, m_viewMap, m_viewPrimPack, m_viewSecPack, sd, setViewPopup(), subviewDestroy(), and w.
Referenced by FWPartialConfigLoadGUI::Load(), and setFrom().
void FWGUIManager::subviewInfoSelected | ( | FWGUISubviewArea * | sva | ) |
Definition at line 574 of file FWGUIManager.cc.
References FWGUISubviewArea::getEveWindow(), FWGUISubviewArea::getToolBarFromWindow(), m_viewMap, FWGUISubviewArea::setInfoButton(), and setViewPopup().
Referenced by connectSubviewAreaSignals().
void FWGUIManager::subviewInfoUnselected | ( | FWGUISubviewArea * | sva | ) |
Definition at line 587 of file FWGUIManager.cc.
References m_viewPopup, and CmsShowViewPopup::UnmapWindow().
Referenced by connectSubviewAreaSignals().
void FWGUIManager::subviewIsBeingDestroyed | ( | FWGUISubviewArea * | sva | ) |
Definition at line 519 of file FWGUIManager.cc.
References f, FWGUISubviewArea::isSelected(), m_tasks, setViewPopup(), and subviewDestroy().
Referenced by connectSubviewAreaSignals().
void FWGUIManager::subviewSwapped | ( | FWGUISubviewArea * | sva | ) |
Definition at line 593 of file FWGUIManager.cc.
References checkSubviewAreaIconState(), FWGUISubviewArea::getEveWindow(), getSwapCandidate(), and swap().
Referenced by connectSubviewAreaSignals().
void FWGUIManager::titleChanged | ( | const char * | title | ) |
Definition at line 336 of file FWGUIManager.cc.
References m_cmsShowMainFrame, and indexGen::title.
Referenced by CmsShowMain::appendData(), CmsShowMain::eventChangedImp(), and CmsShowMain::fileChangedSlot().
void FWGUIManager::updateEventFilterEnable | ( | bool | btnEnabled | ) |
Definition at line 1513 of file FWGUIManager.cc.
References m_cmsShowMainFrame, and CmsShowMainFrame::m_filterEnableBtn.
Referenced by CmsShowMain::setupDataHandling().
void FWGUIManager::updateStatus | ( | const char * | status | ) |
Definition at line 415 of file FWGUIManager.cc.
References m_cmsShowMainFrame, and CmsShowMainFrame::updateStatusBar().
Referenced by CmsShowMain::appendData(), FWFFLooper::beginRun(), CmsShowMainBase::loadGeometry(), CmsShowMain::notified(), CmsShowMain::openData(), CmsShowMain::openDataViaURL(), FWFFService::postBeginRun(), FWPathsPopup::postEvent(), FWPathsPopup::postModuleEvent(), CmsShowMain::preFiltering(), FWPathsPopup::preModuleEvent(), CmsShowMain::setupDataHandling(), and CmsShowMainBase::setupViewManagers().
sigc::signal<void, Float_t> FWGUIManager::changedDelayBetweenEvents_ |
Definition at line 218 of file FWGUIManager.h.
Referenced by delaySliderChanged().
sigc::signal<void> FWGUIManager::changedEventEntry_ |
Definition at line 217 of file FWGUIManager.h.
sigc::signal<void, edm::RunNumber_t, edm::LuminosityBlockNumber_t, edm::EventNumber_t> FWGUIManager::changedEventId_ |
Definition at line 212 of file FWGUIManager.h.
Referenced by eventIdChanged().
sigc::signal<void> FWGUIManager::changedRunEntry_ |
Definition at line 216 of file FWGUIManager.h.
sigc::signal<void> FWGUIManager::filterButtonClicked_ |
Definition at line 206 of file FWGUIManager.h.
Referenced by FWFFLooper::beginRun(), filterButtonClicked(), and CmsShowMain::setupDataHandling().
sigc::signal<void> FWGUIManager::goingToQuit_ |
Definition at line 213 of file FWGUIManager.h.
sigc::signal<void, const std::string&> FWGUIManager::loadFromConfigurationFile_ |
Definition at line 210 of file FWGUIManager.h.
Referenced by promptForLoadConfigurationFile().
sigc::signal<void, const std::string&> FWGUIManager::loadPartialFromConfigurationFile_ |
Definition at line 211 of file FWGUIManager.h.
Referenced by promptForPartialLoadConfigurationFile().
|
private |
Definition at line 257 of file FWGUIManager.h.
Referenced by addData(), addTo(), clearStatus(), createEDIFrame(), createHelpGLPopup(), createHelpPopup(), createModelPopup(), createShortcutPopup(), delaySliderChanged(), disableNext(), disablePrevious(), enableActions(), eventChangedCallback(), eventIdChanged(), evePreTerminate(), exportImageOfMainView(), exportImagesOfAllViews(), FWGUIManager(), getAction(), getMainFrame(), loopAction(), lumiIdChanged(), playEventsAction(), playEventsBackwardsAction(), promptForConfigurationFile(), runIdChanged(), setDelayBetweenEvents(), setFilterButtonIcon(), setFilterButtonText(), setFrom(), setPlayMode(), showCommonPopup(), showEventFilterGUI(), showInvMassDialog(), titleChanged(), updateEventFilterEnable(), updateStatus(), and ~FWGUIManager().
|
private |
Definition at line 266 of file FWGUIManager.h.
Referenced by addTo(), finishUpColorChange(), setFrom(), and showCommonPopup().
|
private |
Definition at line 248 of file FWGUIManager.h.
Referenced by addData(), createEDIFrame(), createList(), createModelPopup(), FWGUIManager(), open3DRegion(), setViewPopup(), showCommonPopup(), showInvMassDialog(), and showSelectedModelContextMenu().
|
private |
Definition at line 255 of file FWGUIManager.h.
Referenced by FWGUIManager(), showSelectedModelContextMenu(), and ~FWGUIManager().
|
private |
Definition at line 260 of file FWGUIManager.h.
Referenced by addData().
|
private |
Definition at line 253 of file FWGUIManager.h.
Referenced by createModelPopup(), eventChangedCallback(), FWGUIManager(), and ~FWGUIManager().
|
private |
Definition at line 263 of file FWGUIManager.h.
Referenced by addTo(), createEDIFrame(), finishUpColorChange(), setFrom(), showEDIFrame(), and ~FWGUIManager().
|
private |
Definition at line 259 of file FWGUIManager.h.
|
staticprivate |
Definition at line 245 of file FWGUIManager.h.
Referenced by createView(), FWGUIManager(), getGUIManager(), and setViewPopup().
|
private |
Definition at line 272 of file FWGUIManager.h.
Referenced by createHelpGLPopup().
|
private |
Definition at line 270 of file FWGUIManager.h.
Referenced by createHelpPopup().
|
private |
Definition at line 267 of file FWGUIManager.h.
Referenced by showInvMassDialog(), and ~FWGUIManager().
|
private |
Definition at line 281 of file FWGUIManager.h.
|
private |
Definition at line 264 of file FWGUIManager.h.
Referenced by addTo(), createModelPopup(), finishUpColorChange(), setFrom(), and showModelPopup().
|
private |
Definition at line 276 of file FWGUIManager.h.
Referenced by createView(), and registerViewBuilder().
|
private |
Definition at line 256 of file FWGUIManager.h.
Referenced by getCurrentEvent().
|
private |
Definition at line 284 of file FWGUIManager.h.
Referenced by eventChangedCallback().
|
private |
Definition at line 271 of file FWGUIManager.h.
Referenced by createShortcutPopup().
|
private |
Definition at line 250 of file FWGUIManager.h.
Referenced by createList(), and ~FWGUIManager().
|
private |
Definition at line 283 of file FWGUIManager.h.
Referenced by subviewIsBeingDestroyed().
|
private |
Definition at line 254 of file FWGUIManager.h.
|
mutableprivate |
Definition at line 275 of file FWGUIManager.h.
Referenced by addTo(), checkSubviewAreaIconState(), createView(), eventChangedCallback(), evePreTerminate(), exportAllViews(), exportImageOfMainView(), setFrom(), setViewPopup(), subviewDestroy(), subviewDestroyAll(), and subviewInfoSelected().
|
private |
Definition at line 265 of file FWGUIManager.h.
Referenced by addTo(), checkSubviewAreaIconState(), popupViewClosed(), setFrom(), setViewPopup(), subviewInfoUnselected(), and ~FWGUIManager().
|
private |
Definition at line 278 of file FWGUIManager.h.
Referenced by addTo(), createView(), createViews(), exportImageOfMainView(), getSwapCandidate(), setFrom(), and subviewDestroyAll().
|
private |
Definition at line 279 of file FWGUIManager.h.
Referenced by addTo(), createView(), createViews(), getSwapCandidate(), open3DRegion(), setFrom(), and subviewDestroyAll().
|
private |
Definition at line 285 of file FWGUIManager.h.
Referenced by measureWMOffsets(), resetWMOffsets(), and setWindowInfoFrom().
|
private |
Definition at line 285 of file FWGUIManager.h.
Referenced by measureWMOffsets(), resetWMOffsets(), and setWindowInfoFrom().
|
private |
Definition at line 285 of file FWGUIManager.h.
Referenced by measureWMOffsets(), resetWMOffsets(), and setWindowInfoFrom().
sigc::signal<void, const TGWindow*> FWGUIManager::showEventFilterGUI_ |
Definition at line 207 of file FWGUIManager.h.
Referenced by FWFFLooper::beginRun(), CmsShowMain::setupDataHandling(), and showEventFilterGUI().
sigc::signal<void, const std::string&> FWGUIManager::writePartialToConfigurationFile_ |
Definition at line 209 of file FWGUIManager.h.
Referenced by promptForPartialSaveConfigurationFile(), and savePartialToConfigurationFile().
sigc::signal<void, const std::string&> FWGUIManager::writeToConfigurationFile_ |
Definition at line 208 of file FWGUIManager.h.
Referenced by promptForSaveConfigurationFile().
sigc::signal<void> FWGUIManager::writeToPresentConfigurationFile_ |
Definition at line 214 of file FWGUIManager.h.
Referenced by FWGUIManager().