#include <Fireworks/Core/interface/FWGUIManager.h>
Public Types | |
typedef std::map< std::string, ViewBuildFunctor > | NameToViewBuilder |
typedef std::function < 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 () |
TEveWindow * | getSwapCandidate () |
void | measureWMOffsets () |
void | newItem (const FWEventItem *) |
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::unique_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 = nullptr |
typedef std::map<std::string, ViewBuildFunctor> FWGUIManager::NameToViewBuilder |
Definition at line 99 of file FWGUIManager.h.
typedef std::function<FWViewBase*(TEveWindowSlot*, const std::string&)> FWGUIManager::ViewBuildFunctor |
Definition at line 98 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 102 of file FWGUIManager.cc.
References mps_fire::action, CSGAction::activated, addData(), cms::cuda::assert(), fireworks::Context::colorManager(), FWColorManager::colorsHaveChangedFinished_, createHelpGLPopup(), createHelpPopup(), CmsShowMainFrame::createNewViewerAction(), createShortcutPopup(), delaySliderChanged(), fireworks::Context::eventItemsManager(), exportImageOfMainView(), exportImagesOfAllViews(), finishUpColorChange(), getAction(), fireworks::Context::getHidePFBuilders(), mps_fire::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(), edm::separator(), 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_, and writeToPresentConfigurationFile_.
|
override |
Definition at line 231 of file FWGUIManager.cc.
References m_cmsShowMainFrame, m_contextMenuHandler, m_detailViewManager, m_ediFrame, m_invMassDialog, m_summaryManager, and m_viewPopup.
|
delete |
void FWGUIManager::addData | ( | ) |
Definition at line 380 of file FWGUIManager.cc.
References fireworks::Context::eventItemsManager(), m_cmsShowMainFrame, m_context, m_dataAdder, fireworks::Context::metadataManager(), and FWGUIEventDataAdder::show().
Referenced by FWGUIManager().
|
overridevirtual |
Implements FWConfigurable.
Definition at line 959 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 431 of file FWGUIManager.cc.
References 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 369 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 221 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 549 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 663 of file FWGUIManager.cc.
References getAction(), getName(), m_cmsShowMainFrame, m_helpGLPopup, and cmsshow::sHelpGL.
Referenced by FWGUIManager().
void FWGUIManager::createHelpPopup | ( | ) |
Definition at line 645 of file FWGUIManager.cc.
References m_cmsShowMainFrame, and m_helpPopup.
Referenced by FWGUIManager().
TGVerticalFrame * FWGUIManager::createList | ( | TGCompositeFrame * | p | ) |
Definition at line 513 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 600 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 653 of file FWGUIManager.cc.
References getAction(), getName(), m_cmsShowMainFrame, m_shortcutPopup, and cmsshow::sKeyboardShort.
Referenced by FWGUIManager().
FWGUIManager::ViewMap_i FWGUIManager::createView | ( | const std::string & | iName, |
TEveWindowSlot * | slot = nullptr |
||
) |
Definition at line 282 of file FWGUIManager.cc.
References cms::cuda::assert(), newFWLiteAna::base, FWViewBase::contextMenuHandler(), m_guiManager, m_nameToViewBuilder, m_viewMap, m_viewPrimPack, m_viewSecPack, FWViewBase::openSelectedModelContextMenu_, showSelectedModelContextMenu(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by initEmpty(), newViewSlot(), open3DRegion(), and setFrom().
void FWGUIManager::createViews | ( | TEveWindowSlot * | slot | ) |
Definition at line 541 of file FWGUIManager.cc.
References m_viewPrimPack, and m_viewSecPack.
Referenced by CmsShowMainFrame::CmsShowMainFrame().
|
private |
Definition at line 1217 of file FWGUIManager.cc.
References changedDelayBetweenEvents_, m_cmsShowMainFrame, and CmsShowMainFrame::setPlayDelayGUI().
Referenced by FWGUIManager().
void FWGUIManager::disableNext | ( | ) |
Definition at line 360 of file FWGUIManager.cc.
References CmsShowMainFrame::enableNext(), and m_cmsShowMainFrame.
Referenced by FWFFLooper::checkPosition(), and CmsShowMain::checkPosition().
void FWGUIManager::disablePrevious | ( | ) |
Definition at line 358 of file FWGUIManager.cc.
References CmsShowMainFrame::enablePrevious(), and m_cmsShowMainFrame.
Referenced by FWFFLooper::checkPosition(), and CmsShowMain::checkPosition().
void FWGUIManager::enableActions | ( | bool | enable = true | ) |
Definition at line 316 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 324 of file FWGUIManager.cc.
References ev, getCurrentEvent(), mps_fire::i, CmsShowMainFrame::loadEvent(), m_cmsShowMainFrame, m_detailViewManager, m_regionViews, m_viewMap, and FWDetailViewManager::newEventCallback().
Referenced by CmsShowMainBase::eventChangedImp().
void FWGUIManager::eventIdChanged | ( | ) |
Definition at line 1243 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 241 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 807 of file FWGUIManager.cc.
References ev, validate-o2o-wbm::f, mergeVDriftHistosByStation::file, getCurrentEvent(), mps_fire::i, dqmiolumiharvest::j, cmsLHEtoEOSManager::l, m_viewMap, and mergeVDriftHistosByStation::name.
Referenced by exportImagesOfAllViews().
void FWGUIManager::exportImageOfMainView | ( | ) |
Definition at line 759 of file FWGUIManager.cc.
References fwLog, fwlog::kError, m_cmsShowMainFrame, m_viewMap, and m_viewPrimPack.
Referenced by FWGUIManager().
void FWGUIManager::exportImagesOfAllViews | ( | ) |
Definition at line 769 of file FWGUIManager.cc.
References gather_cfg::cout, DeadROC_duringRun::dir, alignCSCRings::e, exportAllViews(), m_cmsShowMainFrame, mergeVDriftHistosByStation::name, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by FWGUIManager().
void FWGUIManager::filterButtonClicked | ( | ) |
Definition at line 1267 of file FWGUIManager.cc.
References filterButtonClicked_.
|
private |
Definition at line 1253 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 348 of file FWGUIManager.cc.
References CSGActionSupervisor::getAction(), and m_cmsShowMainFrame.
Referenced by createHelpGLPopup(), createShortcutPopup(), FWGUIManager(), and CmsShowMain::setupDataHandling().
|
inline |
Definition at line 153 of file FWGUIManager.h.
References m_context.
Referenced by FWFileEntry::openFile().
const edm::EventBase * FWGUIManager::getCurrentEvent | ( | ) | const |
Definition at line 687 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 685 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(), FWFileEntry::openFile(), FWGUISubviewArea::undock(), and FWEventAnnotation::updateOverlayText().
|
inline |
Definition at line 197 of file FWGUIManager.h.
References m_cmsShowMainFrame.
Referenced by CmsShowMain::appendData(), FWFFLooper::autoLoadNewEvent(), CmsShowMain::checkKeyBindingsOnPLayEventsStateChanged(), FWFFLooper::checkPosition(), CmsShowMain::checkPosition(), FWGUIEventFilter::HandleKey(), CmsShowMain::openData(), CmsShowMain::openDataViaURL(), FWFFLooper::stopPlaying(), and FWGUISubviewArea::undock().
|
private |
Definition at line 394 of file FWGUIManager.cc.
References m_viewPrimPack, m_viewSecPack, and createTree::pp.
Referenced by checkSubviewAreaIconState(), and subviewSwapped().
void FWGUIManager::initEmpty | ( | ) |
Definition at line 1321 of file FWGUIManager.cc.
References createView(), m_cmsShowMainFrame, m_WMDecorH, m_WMOffsetX, m_WMOffsetY, x, and y.
Referenced by CmsShowMain::setupDataHandling().
CSGContinuousAction * FWGUIManager::loopAction | ( | ) |
Definition at line 356 of file FWGUIManager.cc.
References CmsShowMainFrame::loopAction(), and m_cmsShowMainFrame.
void FWGUIManager::lumiIdChanged | ( | ) |
Definition at line 1234 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 1282 of file FWGUIManager.cc.
References fwLog, fwlog::kDebug, m_WMDecorH, m_WMOffsetX, m_WMOffsetY, x, and y.
Referenced by FWGUIManager().
|
private |
Definition at line 371 of file FWGUIManager.cc.
References FWEventItem::id(), and FWEventItem::name().
Referenced by FWGUIManager().
void FWGUIManager::newViewSlot | ( | const std::string & | iName | ) |
Definition at line 277 of file FWGUIManager.cc.
References createView().
Referenced by FWGUIManager().
void FWGUIManager::open3DRegion | ( | ) |
Definition at line 565 of file FWGUIManager.cc.
References gather_cfg::cout, createView(), alignCSCRings::e, B2GTnPMonitor_cfi::item, m_context, m_viewSecPack, class-composition::o, dumpparser::parse(), phi, FWSelectionManager::selected(), fireworks::Context::selectionManager(), theta(), and findQualityFiles::v.
Referenced by FWModelContextMenuHandler::chosenItem().
void FWGUIManager::openEveBrowserForDebugging | ( | ) | const |
Definition at line 1212 of file FWGUIManager.cc.
|
delete |
CSGContinuousAction * FWGUIManager::playEventsAction | ( | ) |
Definition at line 350 of file FWGUIManager.cc.
References m_cmsShowMainFrame, and CmsShowMainFrame::playEventsAction().
Referenced by CmsShowMain::checkLiveMode(), FWFFLooper::checkPosition(), and CmsShowMain::checkPosition().
CSGContinuousAction * FWGUIManager::playEventsBackwardsAction | ( | ) |
Definition at line 352 of file FWGUIManager.cc.
References m_cmsShowMainFrame, and CmsShowMainFrame::playEventsBackwardsAction().
void FWGUIManager::popupViewClosed | ( | ) |
Definition at line 613 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 697 of file FWGUIManager.cc.
References DeadROC_duringRun::dir, m_cmsShowMainFrame, universalConfigTemplate::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 721 of file FWGUIManager.cc.
References loadFromConfigurationFile_, mergeVDriftHistosByStation::name, promptForConfigurationFile(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by FWGUIManager().
|
private |
Definition at line 729 of file FWGUIManager.cc.
References loadPartialFromConfigurationFile_, mergeVDriftHistosByStation::name, promptForConfigurationFile(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by FWGUIManager().
|
private |
Definition at line 749 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 741 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 273 of file FWGUIManager.cc.
References m_nameToViewBuilder.
Referenced by FWEveViewManager::FWEveViewManager(), FWGeometryTableViewManager::FWGeometryTableViewManager(), FWTableViewManager::FWTableViewManager(), and FWTriggerTableViewManager::FWTriggerTableViewManager().
void FWGUIManager::resetWMOffsets | ( | ) |
Definition at line 1319 of file FWGUIManager.cc.
References m_WMDecorH, m_WMOffsetX, and m_WMOffsetY.
Referenced by CmsShowMain::CmsShowMain().
void FWGUIManager::runIdChanged | ( | ) |
Definition at line 1225 of file FWGUIManager.cc.
References FWNumberEntryField::GetUIntNumber(), edm::invalidRunNumber, m_cmsShowMainFrame, CmsShowMainFrame::m_lumiEntry, CmsShowMainFrame::m_runEntry, and FWNumberEntryField::SetUIntNumber().
|
private |
Definition at line 757 of file FWGUIManager.cc.
References writePartialToConfigurationFile_.
Referenced by FWGUIManager().
void FWGUIManager::setDelayBetweenEvents | ( | Float_t | val | ) |
Definition at line 1223 of file FWGUIManager.cc.
References m_cmsShowMainFrame, and CmsShowMainFrame::setPlayDelayGUI().
void FWGUIManager::setFilterButtonIcon | ( | int | state | ) |
Definition at line 1271 of file FWGUIManager.cc.
References mps_fire::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 1269 of file FWGUIManager.cc.
References m_cmsShowMainFrame, and CmsShowMainFrame::m_filterShowGUIBtn.
Referenced by FWFFLooper::beginRun(), CmsShowMain::navigatorChangedFilterState(), CmsShowMain::postFiltering(), and FWFFLooper::showPathsGUI().
|
overridevirtual |
Implements FWConfigurable.
Definition at line 1087 of file FWGUIManager.cc.
References cms::cuda::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 362 of file FWGUIManager.cc.
References m_cmsShowMainFrame, CmsShowMainFrame::m_eventEntry, and CmsShowMainFrame::m_runEntry.
|
private |
Definition at line 625 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 1076 of file FWGUIManager.cc.
References m_WMDecorH, m_WMOffsetX, m_WMOffsetY, FWConfiguration::value(), FWConfiguration::valueForKey(), x, and y.
Referenced by setFrom().
void FWGUIManager::showCommonPopup | ( | ) |
Definition at line 591 of file FWGUIManager.cc.
References CmsShowMainFrame::bindCSGActionKeys(), fireworks::Context::commonPrefs(), m_cmsShowMainFrame, m_commonPopup, m_context, and CmsShowCommon::setView().
Referenced by FWGUIManager(), and setFrom().
void FWGUIManager::showEDIFrame | ( | int | iInfoToShow = -1 | ) |
Allowed values are -1 or ones from FWDataCategories enum.
Definition at line 557 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 1265 of file FWGUIManager.cc.
References m_cmsShowMainFrame, and showEventFilterGUI_.
Referenced by FWFFLooper::beginRun(), and CmsShowMain::filterButtonClicked().
void FWGUIManager::showInvMassDialog | ( | ) |
Definition at line 637 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 607 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 673 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 620 of file FWGUIManager.cc.
References setViewPopup().
Referenced by FWGUIManager().
void FWGUIManager::subviewDestroy | ( | FWGUISubviewArea * | sva | ) |
Definition at line 458 of file FWGUIManager.cc.
References FWViewBase::destroy(), FWGUISubviewArea::getEveWindow(), and m_viewMap.
Referenced by subviewDestroyAll(), and subviewIsBeingDestroyed().
void FWGUIManager::subviewDestroyAll | ( | ) |
Definition at line 465 of file FWGUIManager.cc.
References FWGUISubviewArea::getToolBarFromWindow(), mps_fire::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 492 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 502 of file FWGUIManager.cc.
References m_viewPopup, and CmsShowViewPopup::UnmapWindow().
Referenced by connectSubviewAreaSignals().
void FWGUIManager::subviewIsBeingDestroyed | ( | FWGUISubviewArea * | sva | ) |
Definition at line 448 of file FWGUIManager.cc.
References validate-o2o-wbm::f, FWGUISubviewArea::isSelected(), m_tasks, setViewPopup(), and subviewDestroy().
Referenced by connectSubviewAreaSignals().
void FWGUIManager::subviewSwapped | ( | FWGUISubviewArea * | sva | ) |
Definition at line 504 of file FWGUIManager.cc.
References checkSubviewAreaIconState(), FWGUISubviewArea::getEveWindow(), getSwapCandidate(), and edm::swap().
Referenced by connectSubviewAreaSignals().
void FWGUIManager::titleChanged | ( | const char * | title | ) |
Definition at line 318 of file FWGUIManager.cc.
References m_cmsShowMainFrame, and runGCPTkAlMap::title.
Referenced by CmsShowMain::appendData(), CmsShowMain::eventChangedImp(), and CmsShowMain::fileChangedSlot().
void FWGUIManager::updateEventFilterEnable | ( | bool | btnEnabled | ) |
Definition at line 1278 of file FWGUIManager.cc.
References m_cmsShowMainFrame, and CmsShowMainFrame::m_filterEnableBtn.
Referenced by CmsShowMain::setupDataHandling().
void FWGUIManager::updateStatus | ( | const char * | status | ) |
Definition at line 367 of file FWGUIManager.cc.
References m_cmsShowMainFrame, and CmsShowMainFrame::updateStatusBar().
Referenced by CmsShowMain::appendData(), FWFFLooper::beginRun(), CmsShowMainBase::loadGeometry(), CmsShowMain::notified(), CmsShowMain::openData(), CmsShowMain::openDataViaURL(), FWPathsPopup::postEvent(), FWPathsPopup::postModuleEvent(), CmsShowMain::preFiltering(), FWPathsPopup::preModuleEvent(), CmsShowMain::setupDataHandling(), and CmsShowMainBase::setupViewManagers().
sigc::signal<void, Float_t> FWGUIManager::changedDelayBetweenEvents_ |
Definition at line 215 of file FWGUIManager.h.
Referenced by delaySliderChanged().
sigc::signal<void> FWGUIManager::changedEventEntry_ |
Definition at line 214 of file FWGUIManager.h.
sigc::signal<void, edm::RunNumber_t, edm::LuminosityBlockNumber_t, edm::EventNumber_t> FWGUIManager::changedEventId_ |
Definition at line 209 of file FWGUIManager.h.
Referenced by eventIdChanged().
sigc::signal<void> FWGUIManager::changedRunEntry_ |
Definition at line 213 of file FWGUIManager.h.
sigc::signal<void> FWGUIManager::filterButtonClicked_ |
Definition at line 203 of file FWGUIManager.h.
Referenced by FWFFLooper::beginRun(), filterButtonClicked(), and CmsShowMain::setupDataHandling().
sigc::signal<void> FWGUIManager::goingToQuit_ |
Definition at line 210 of file FWGUIManager.h.
sigc::signal<void, const std::string&> FWGUIManager::loadFromConfigurationFile_ |
Definition at line 207 of file FWGUIManager.h.
Referenced by promptForLoadConfigurationFile().
sigc::signal<void, const std::string&> FWGUIManager::loadPartialFromConfigurationFile_ |
Definition at line 208 of file FWGUIManager.h.
Referenced by promptForPartialLoadConfigurationFile().
|
private |
Definition at line 254 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(), initEmpty(), loopAction(), lumiIdChanged(), playEventsAction(), playEventsBackwardsAction(), promptForConfigurationFile(), runIdChanged(), setDelayBetweenEvents(), setFilterButtonIcon(), setFilterButtonText(), setFrom(), setPlayMode(), showCommonPopup(), showEventFilterGUI(), showInvMassDialog(), titleChanged(), updateEventFilterEnable(), updateStatus(), and ~FWGUIManager().
|
private |
Definition at line 263 of file FWGUIManager.h.
Referenced by addTo(), finishUpColorChange(), setFrom(), and showCommonPopup().
|
private |
Definition at line 245 of file FWGUIManager.h.
Referenced by addData(), createEDIFrame(), createList(), createModelPopup(), FWGUIManager(), getContext(), open3DRegion(), setViewPopup(), showCommonPopup(), showInvMassDialog(), and showSelectedModelContextMenu().
|
private |
Definition at line 252 of file FWGUIManager.h.
Referenced by FWGUIManager(), showSelectedModelContextMenu(), and ~FWGUIManager().
|
private |
Definition at line 257 of file FWGUIManager.h.
Referenced by addData().
|
private |
Definition at line 250 of file FWGUIManager.h.
Referenced by createModelPopup(), eventChangedCallback(), FWGUIManager(), and ~FWGUIManager().
|
private |
Definition at line 260 of file FWGUIManager.h.
Referenced by addTo(), createEDIFrame(), finishUpColorChange(), setFrom(), showEDIFrame(), and ~FWGUIManager().
|
private |
Definition at line 256 of file FWGUIManager.h.
|
staticprivate |
Definition at line 242 of file FWGUIManager.h.
Referenced by createView(), FWGUIManager(), getGUIManager(), and setViewPopup().
|
private |
Definition at line 269 of file FWGUIManager.h.
Referenced by createHelpGLPopup().
|
private |
Definition at line 267 of file FWGUIManager.h.
Referenced by createHelpPopup().
|
private |
Definition at line 264 of file FWGUIManager.h.
Referenced by showInvMassDialog(), and ~FWGUIManager().
|
private |
Definition at line 278 of file FWGUIManager.h.
|
private |
Definition at line 261 of file FWGUIManager.h.
Referenced by addTo(), createModelPopup(), finishUpColorChange(), setFrom(), and showModelPopup().
|
private |
Definition at line 273 of file FWGUIManager.h.
Referenced by createView(), and registerViewBuilder().
|
private |
Definition at line 253 of file FWGUIManager.h.
Referenced by getCurrentEvent().
|
private |
Definition at line 281 of file FWGUIManager.h.
Referenced by eventChangedCallback().
|
private |
Definition at line 268 of file FWGUIManager.h.
Referenced by createShortcutPopup().
|
private |
Definition at line 247 of file FWGUIManager.h.
Referenced by createList(), and ~FWGUIManager().
|
private |
Definition at line 280 of file FWGUIManager.h.
Referenced by subviewIsBeingDestroyed().
|
private |
Definition at line 251 of file FWGUIManager.h.
|
mutableprivate |
Definition at line 272 of file FWGUIManager.h.
Referenced by addTo(), checkSubviewAreaIconState(), createView(), eventChangedCallback(), evePreTerminate(), exportAllViews(), exportImageOfMainView(), setFrom(), setViewPopup(), subviewDestroy(), subviewDestroyAll(), and subviewInfoSelected().
|
private |
Definition at line 262 of file FWGUIManager.h.
Referenced by addTo(), checkSubviewAreaIconState(), popupViewClosed(), setFrom(), setViewPopup(), subviewInfoUnselected(), and ~FWGUIManager().
|
private |
Definition at line 275 of file FWGUIManager.h.
Referenced by addTo(), createView(), createViews(), exportImageOfMainView(), getSwapCandidate(), setFrom(), and subviewDestroyAll().
|
private |
Definition at line 276 of file FWGUIManager.h.
Referenced by addTo(), createView(), createViews(), getSwapCandidate(), open3DRegion(), setFrom(), and subviewDestroyAll().
|
private |
Definition at line 282 of file FWGUIManager.h.
Referenced by initEmpty(), measureWMOffsets(), resetWMOffsets(), and setWindowInfoFrom().
|
private |
Definition at line 282 of file FWGUIManager.h.
Referenced by initEmpty(), measureWMOffsets(), resetWMOffsets(), and setWindowInfoFrom().
|
private |
Definition at line 282 of file FWGUIManager.h.
Referenced by initEmpty(), measureWMOffsets(), resetWMOffsets(), and setWindowInfoFrom().
sigc::signal<void, const TGWindow*> FWGUIManager::showEventFilterGUI_ |
Definition at line 204 of file FWGUIManager.h.
Referenced by FWFFLooper::beginRun(), CmsShowMain::setupDataHandling(), and showEventFilterGUI().
sigc::signal<void, const std::string&> FWGUIManager::writePartialToConfigurationFile_ |
Definition at line 206 of file FWGUIManager.h.
Referenced by promptForPartialSaveConfigurationFile(), and savePartialToConfigurationFile().
sigc::signal<void, const std::string&> FWGUIManager::writeToConfigurationFile_ |
Definition at line 205 of file FWGUIManager.h.
Referenced by promptForSaveConfigurationFile().
sigc::signal<void> FWGUIManager::writeToPresentConfigurationFile_ |
Definition at line 211 of file FWGUIManager.h.
Referenced by FWGUIManager().