#include <Fireworks/Core/interface/CmsShowEDI.h>
Public Member Functions | |
void | changeItemColor (Color_t color) |
void | changeItemOpacity (Int_t opacity) |
void | changeSelectionColor (Color_t color) |
ClassDefOverride (CmsShowEDI, 0) | |
void | CloseWindow () override |
CmsShowEDI (const TGWindow *p=nullptr, UInt_t w=1, UInt_t h=1, FWSelectionManager *selMgr=nullptr, FWColorManager *colorMgr=nullptr) | |
void | colorSetChanged () |
void | deselectAll () |
void | disconnectAll () |
void | fillEDIFrame () |
void | moveToBack () |
void | moveToFront () |
void | moveToLayer (Long_t) |
void | removeItem () |
void | runFilter () |
void | runSelection () |
void | selectAll () |
void | show (FWDataCategories) |
void | toggleItemVisible (Bool_t on=kTRUE) |
void | updateDisplay () |
void | updateFilter () |
void | updateLayerControls () |
~CmsShowEDI () override | |
Private Member Functions | |
void | clearPBFrame () |
CmsShowEDI (const CmsShowEDI &) | |
const CmsShowEDI & | operator= (const CmsShowEDI &) |
Private Attributes | |
TGTextButton * | m_backButton |
FWColorManager * | m_colorManager |
FWColorSelect * | m_colorSelectWidget |
FWColorSelect * | m_cw |
TGTextButton * | m_deselectAllButton |
sigc::connection | m_destroyedConn |
sigc::connection | m_displayChangedConn |
TGTextButton * | m_filterButton |
TGTextView * | m_filterError |
FWGUIValidatingTextEntry * | m_filterExpressionEntry |
TGTextButton * | m_frontButton |
TGTextEntry * | m_instanceEntry |
TGCheckButton * | m_isVisibleButton |
FWEventItem * | m_item |
TGNumberEntry * | m_layerEntry |
sigc::connection | m_modelChangedConn |
TGTextEntry * | m_moduleEntry |
TGTextEntry * | m_nameEntry |
TGLabel * | m_objectLabel |
TGHSlider * | m_opacitySlider |
TGTextEntry * | m_processEntry |
TGTextButton * | m_removeButton |
TGTextButton * | m_selectAllButton |
TGTextButton * | m_selectButton |
TGTextView * | m_selectError |
FWGUIValidatingTextEntry * | m_selectExpressionEntry |
FWSelectionManager * | m_selectionManager |
TGCompositeFrame * | m_settersFrame |
TGTab * | m_tabs |
TGTextEntry * | m_typeEntry |
FWExpressionValidator * | m_validator |
Description: <one line="" class="" summary>="">
Usage: <usage>
Definition at line 52 of file CmsShowEDI.h.
CmsShowEDI::CmsShowEDI | ( | const TGWindow * | p = nullptr , |
UInt_t | w = 1 , |
||
UInt_t | h = 1 , |
||
FWSelectionManager * | selMgr = nullptr , |
||
FWColorManager * | colorMgr = nullptr |
||
) |
Definition at line 63 of file CmsShowEDI.cc.
References FWDialogBuilder::addCheckbox(), FWDialogBuilder::addColorPicker(), FWDialogBuilder::addHSeparator(), FWDialogBuilder::addHSlider(), FWDialogBuilder::addLabel(), FWDialogBuilder::addNumberEntry(), FWDialogBuilder::addTextButton(), FWDialogBuilder::addTextEntry(), FWDialogBuilder::addTextView(), FWDialogBuilder::addValidatingTextEntry(), FWDialogBuilder::beginTab(), FWDialogBuilder::endTab(), FWDialogBuilder::expand(), fillEDIFrame(), FWDialogBuilder::floatLeft(), FWDialogBuilder::indent(), FWSelectionManager::itemSelectionChanged_, m_backButton, m_colorSelectWidget, m_cw, m_deselectAllButton, m_filterButton, m_filterError, m_filterExpressionEntry, m_frontButton, m_instanceEntry, m_isVisibleButton, m_layerEntry, m_moduleEntry, m_nameEntry, m_objectLabel, m_opacitySlider, m_processEntry, m_removeButton, m_selectAllButton, m_selectButton, m_selectError, m_selectExpressionEntry, m_selectionManager, m_settersFrame, m_tabs, m_typeEntry, m_validator, FWEventItem::maxLayerValue(), FWEventItem::minLayerValue(), FWGUIValidatingTextEntry::setValidator(), FWDialogBuilder::tabs(), FWDialogBuilder::untabs(), and FWDialogBuilder::vSpacer().
Referenced by CloseWindow().
|
override |
Definition at line 188 of file CmsShowEDI.cc.
References disconnectAll(), m_backButton, m_colorSelectWidget, m_cw, m_deselectAllButton, m_filterButton, m_filterExpressionEntry, m_frontButton, m_isVisibleButton, m_layerEntry, m_opacitySlider, m_removeButton, m_selectAllButton, m_selectButton, m_selectExpressionEntry, and m_validator.
|
private |
void CmsShowEDI::changeItemColor | ( | Color_t | color | ) |
Set the item color.
Notice that I changed this to use a "Copy and modify approach", rather than a "create with old properties" method which was not propagating transparency.
Definition at line 415 of file CmsShowEDI.cc.
References FWEventItem::defaultDisplayProperties(), m_cw, m_item, FWDisplayProperties::setColor(), FWColorSelect::SetColorByIndex(), and FWEventItem::setDefaultDisplayProperties().
Referenced by CloseWindow().
void CmsShowEDI::changeItemOpacity | ( | Int_t | opacity | ) |
Changes selected item opacity. Notice that we use opacity rather than transparency because this way the slider is by default 100% rather than 0. This is more a more natural and positive way of looking at things.
Glass is full!
See changeItemColor for additional details.
Definition at line 438 of file CmsShowEDI.cc.
References FWEventItem::defaultDisplayProperties(), m_item, FWEventItem::setDefaultDisplayProperties(), and FWDisplayProperties::setTransparency().
Referenced by CloseWindow().
void CmsShowEDI::changeSelectionColor | ( | Color_t | color | ) |
Definition at line 509 of file CmsShowEDI.cc.
References FWEventItem::changeManager(), FWEventItem::defaultDisplayProperties(), mps_fire::i, m_item, FWSelectionManager::selected(), FWEventItem::selectionManager(), FWDisplayProperties::setColor(), and FWEventItem::setDisplayProperties().
Referenced by CloseWindow().
CmsShowEDI::ClassDefOverride | ( | CmsShowEDI | , |
0 | |||
) |
Referenced by CloseWindow().
|
private |
Definition at line 227 of file CmsShowEDI.cc.
References f, and m_settersFrame.
Referenced by CloseWindow(), disconnectAll(), and fillEDIFrame().
|
inlineoverride |
Definition at line 60 of file CmsShowEDI.h.
References changeItemColor(), changeItemOpacity(), changeSelectionColor(), ClassDefOverride(), clearPBFrame(), CmsShowEDI(), create_public_lumi_plots::color, colorSetChanged(), deselectAll(), disconnectAll(), fillEDIFrame(), moveToBack(), moveToFront(), moveToLayer(), operator=(), removeItem(), runFilter(), runSelection(), selectAll(), show(), toggleItemVisible(), updateDisplay(), updateFilter(), and updateLayerControls().
void CmsShowEDI::colorSetChanged | ( | ) |
Definition at line 529 of file CmsShowEDI.cc.
References FWDisplayProperties::color(), FWEventItem::defaultDisplayProperties(), m_colorSelectWidget, m_cw, m_item, AlCaHLTBitMon_ParallelJobs::p, and FWColorSelect::SetColorByIndex().
Referenced by CloseWindow(), and FWGUIManager::finishUpColorChange().
void CmsShowEDI::deselectAll | ( | ) |
Definition at line 499 of file CmsShowEDI.cc.
References FWEventItem::changeManager(), mps_fire::i, m_item, FWEventItem::size(), and FWEventItem::unselect().
Referenced by CloseWindow().
void CmsShowEDI::disconnectAll | ( | ) |
Definition at line 368 of file CmsShowEDI.cc.
References clearPBFrame(), m_backButton, m_colorSelectWidget, m_deselectAllButton, m_destroyedConn, m_displayChangedConn, m_filterButton, m_filterExpressionEntry, m_frontButton, m_instanceEntry, m_isVisibleButton, m_item, m_layerEntry, m_modelChangedConn, m_moduleEntry, m_nameEntry, m_objectLabel, m_opacitySlider, m_processEntry, m_removeButton, m_selectAllButton, m_selectButton, m_selectExpressionEntry, m_typeEntry, and FWColorSelect::SetColorByIndex().
Referenced by CloseWindow(), fillEDIFrame(), and ~CmsShowEDI().
void CmsShowEDI::fillEDIFrame | ( | ) |
Definition at line 241 of file CmsShowEDI.cc.
References FWEventItem::changed_, clearPBFrame(), FWDisplayProperties::color(), FWEventItem::defaultDisplayProperties(), FWEventItem::defaultDisplayPropertiesChanged_, disconnectAll(), FWEventItem::filterExpression(), FWEventItem::getConfig(), FWEventItem::goingToBeDestroyed_, FWDisplayProperties::isVisible(), m_colorSelectWidget, m_cw, m_deselectAllButton, m_destroyedConn, m_displayChangedConn, m_filterButton, m_filterError, m_filterExpressionEntry, m_instanceEntry, m_isVisibleButton, m_item, m_layerEntry, m_modelChangedConn, m_moduleEntry, m_nameEntry, m_objectLabel, m_opacitySlider, m_processEntry, m_removeButton, m_selectAllButton, m_selectButton, m_selectError, m_selectExpressionEntry, m_selectionManager, m_settersFrame, m_typeEntry, m_validator, FWEventItem::modelType(), FWEventItem::moduleLabel(), FWEventItem::name(), AlCaHLTBitMon_ParallelJobs::p, FWProxyBuilderConfiguration::populateFrame(), FWEventItem::processName(), FWEventItem::productInstanceLabel(), alignCSCRings::s, FWSelectionManager::selectedItems(), FWColorSelect::SetColorByIndex(), FWExpressionValidator::setType(), FWDisplayProperties::transparency(), FWEventItem::type(), updateDisplay(), updateFilter(), and updateLayerControls().
Referenced by CloseWindow(), and CmsShowEDI().
void CmsShowEDI::moveToBack | ( | ) |
Definition at line 344 of file CmsShowEDI.cc.
References m_item, FWEventItem::moveToBack(), and updateLayerControls().
Referenced by CloseWindow().
void CmsShowEDI::moveToFront | ( | ) |
Definition at line 350 of file CmsShowEDI.cc.
References m_item, FWEventItem::moveToFront(), and updateLayerControls().
Referenced by CloseWindow().
void CmsShowEDI::moveToLayer | ( | Long_t | ) |
Definition at line 356 of file CmsShowEDI.cc.
References m_item, m_layerEntry, FWEventItem::moveToLayer(), and updateLayerControls().
Referenced by CloseWindow().
|
private |
Referenced by CloseWindow().
void CmsShowEDI::removeItem | ( | ) |
Definition at line 305 of file CmsShowEDI.cc.
References FWEventItem::destroy(), m_item, FWEventItem::name(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by CloseWindow().
void CmsShowEDI::runFilter | ( | ) |
Definition at line 445 of file CmsShowEDI.cc.
References FWExpressionException::column(), MillePedeFileConverter_cfg::e, ALCARECOTkAlBeamHalo_cff::filter, m_filterError, m_filterExpressionEntry, m_item, FWEventItem::setFilterExpression(), AlCaHLTBitMon_QueryRunRegistry::string, and FWExpressionException::what().
Referenced by CloseWindow().
void CmsShowEDI::runSelection | ( | ) |
Definition at line 462 of file CmsShowEDI.cc.
References FWExpressionException::column(), MillePedeFileConverter_cfg::e, m_cw, m_item, m_selectError, m_selectExpressionEntry, FWModelExpressionSelector::select(), corrVsCorr::selection, FWEventItem::selectionManager(), AlCaHLTBitMon_QueryRunRegistry::string, and FWExpressionException::what().
Referenced by CloseWindow().
void CmsShowEDI::selectAll | ( | ) |
Definition at line 490 of file CmsShowEDI.cc.
References FWEventItem::changeManager(), mps_fire::i, m_item, FWEventItem::select(), and FWEventItem::size().
Referenced by CloseWindow().
void CmsShowEDI::show | ( | FWDataCategories | iToView | ) |
Definition at line 522 of file CmsShowEDI.cc.
References m_tabs.
Referenced by CloseWindow(), Vispa.Main.AboutDialog.AboutDialog::onScreen(), Vispa.Gui.BoxContentDialog.BoxContentDialog::onScreen(), Vispa.Gui.FindDialog.FindDialog::onScreen(), and FWGUIManager::showEDIFrame().
void CmsShowEDI::toggleItemVisible | ( | Bool_t | on = kTRUE | ) |
See changeItemColor for additional details.
Definition at line 424 of file CmsShowEDI.cc.
References FWEventItem::defaultDisplayProperties(), m_item, FWEventItem::setDefaultDisplayProperties(), and FWDisplayProperties::setIsVisible().
Referenced by CloseWindow().
void CmsShowEDI::updateDisplay | ( | ) |
Definition at line 328 of file CmsShowEDI.cc.
References FWDisplayProperties::color(), FWEventItem::defaultDisplayProperties(), FWDisplayProperties::isVisible(), m_colorSelectWidget, m_isVisibleButton, m_item, m_opacitySlider, FWColorSelect::SetColorByIndex(), and FWDisplayProperties::transparency().
Referenced by CloseWindow(), and fillEDIFrame().
void CmsShowEDI::updateFilter | ( | ) |
Definition at line 363 of file CmsShowEDI.cc.
References FWEventItem::filterExpression(), m_filterExpressionEntry, and m_item.
Referenced by CloseWindow(), and fillEDIFrame().
void CmsShowEDI::updateLayerControls | ( | ) |
Definition at line 337 of file CmsShowEDI.cc.
References FWEventItem::isInBack(), FWEventItem::isInFront(), FWEventItem::layer(), m_backButton, m_frontButton, m_item, and m_layerEntry.
Referenced by CloseWindow(), fillEDIFrame(), moveToBack(), moveToFront(), and moveToLayer().
|
private |
Definition at line 104 of file CmsShowEDI.h.
Referenced by CmsShowEDI(), disconnectAll(), updateLayerControls(), and ~CmsShowEDI().
|
private |
Definition at line 130 of file CmsShowEDI.h.
|
private |
Definition at line 106 of file CmsShowEDI.h.
Referenced by CmsShowEDI(), colorSetChanged(), disconnectAll(), fillEDIFrame(), updateDisplay(), and ~CmsShowEDI().
|
private |
Definition at line 115 of file CmsShowEDI.h.
Referenced by changeItemColor(), CmsShowEDI(), colorSetChanged(), fillEDIFrame(), runSelection(), and ~CmsShowEDI().
|
private |
Definition at line 114 of file CmsShowEDI.h.
Referenced by CmsShowEDI(), disconnectAll(), fillEDIFrame(), and ~CmsShowEDI().
|
private |
Definition at line 125 of file CmsShowEDI.h.
Referenced by disconnectAll(), and fillEDIFrame().
|
private |
Definition at line 123 of file CmsShowEDI.h.
Referenced by disconnectAll(), and fillEDIFrame().
|
private |
Definition at line 111 of file CmsShowEDI.h.
Referenced by CmsShowEDI(), disconnectAll(), fillEDIFrame(), and ~CmsShowEDI().
|
private |
Definition at line 127 of file CmsShowEDI.h.
Referenced by CmsShowEDI(), fillEDIFrame(), and runFilter().
|
private |
Definition at line 109 of file CmsShowEDI.h.
Referenced by CmsShowEDI(), disconnectAll(), fillEDIFrame(), runFilter(), updateFilter(), and ~CmsShowEDI().
|
private |
Definition at line 103 of file CmsShowEDI.h.
Referenced by CmsShowEDI(), disconnectAll(), updateLayerControls(), and ~CmsShowEDI().
|
private |
Definition at line 119 of file CmsShowEDI.h.
Referenced by CmsShowEDI(), disconnectAll(), and fillEDIFrame().
|
private |
Definition at line 108 of file CmsShowEDI.h.
Referenced by CmsShowEDI(), disconnectAll(), fillEDIFrame(), updateDisplay(), and ~CmsShowEDI().
|
private |
Definition at line 121 of file CmsShowEDI.h.
Referenced by changeItemColor(), changeItemOpacity(), changeSelectionColor(), colorSetChanged(), deselectAll(), disconnectAll(), fillEDIFrame(), moveToBack(), moveToFront(), moveToLayer(), removeItem(), runFilter(), runSelection(), selectAll(), toggleItemVisible(), updateDisplay(), updateFilter(), and updateLayerControls().
|
private |
Definition at line 105 of file CmsShowEDI.h.
Referenced by CmsShowEDI(), disconnectAll(), fillEDIFrame(), moveToLayer(), updateLayerControls(), and ~CmsShowEDI().
|
private |
Definition at line 124 of file CmsShowEDI.h.
Referenced by disconnectAll(), and fillEDIFrame().
|
private |
Definition at line 118 of file CmsShowEDI.h.
Referenced by CmsShowEDI(), disconnectAll(), and fillEDIFrame().
|
private |
Definition at line 116 of file CmsShowEDI.h.
Referenced by CmsShowEDI(), disconnectAll(), and fillEDIFrame().
|
private |
Definition at line 101 of file CmsShowEDI.h.
Referenced by CmsShowEDI(), disconnectAll(), and fillEDIFrame().
|
private |
Definition at line 107 of file CmsShowEDI.h.
Referenced by CmsShowEDI(), disconnectAll(), fillEDIFrame(), updateDisplay(), and ~CmsShowEDI().
|
private |
Definition at line 120 of file CmsShowEDI.h.
Referenced by CmsShowEDI(), disconnectAll(), and fillEDIFrame().
|
private |
Definition at line 102 of file CmsShowEDI.h.
Referenced by CmsShowEDI(), disconnectAll(), fillEDIFrame(), and ~CmsShowEDI().
|
private |
Definition at line 113 of file CmsShowEDI.h.
Referenced by CmsShowEDI(), disconnectAll(), fillEDIFrame(), and ~CmsShowEDI().
|
private |
Definition at line 112 of file CmsShowEDI.h.
Referenced by CmsShowEDI(), disconnectAll(), fillEDIFrame(), and ~CmsShowEDI().
|
private |
Definition at line 128 of file CmsShowEDI.h.
Referenced by CmsShowEDI(), fillEDIFrame(), and runSelection().
|
private |
Definition at line 110 of file CmsShowEDI.h.
Referenced by CmsShowEDI(), disconnectAll(), fillEDIFrame(), runSelection(), and ~CmsShowEDI().
|
private |
Definition at line 99 of file CmsShowEDI.h.
Referenced by CmsShowEDI(), and fillEDIFrame().
|
private |
Definition at line 132 of file CmsShowEDI.h.
Referenced by clearPBFrame(), CmsShowEDI(), and fillEDIFrame().
|
private |
Definition at line 100 of file CmsShowEDI.h.
Referenced by CmsShowEDI(), and show().
|
private |
Definition at line 117 of file CmsShowEDI.h.
Referenced by CmsShowEDI(), disconnectAll(), and fillEDIFrame().
|
private |
Definition at line 129 of file CmsShowEDI.h.
Referenced by CmsShowEDI(), fillEDIFrame(), and ~CmsShowEDI().