#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 64 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().
|
override |
Definition at line 201 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 410 of file CmsShowEDI.cc.
References FWEventItem::defaultDisplayProperties(), m_cw, m_item, FWDisplayProperties::setColor(), FWColorSelect::SetColorByIndex(), and FWEventItem::setDefaultDisplayProperties().
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 431 of file CmsShowEDI.cc.
References FWEventItem::defaultDisplayProperties(), m_item, FWEventItem::setDefaultDisplayProperties(), and FWDisplayProperties::setTransparency().
void CmsShowEDI::changeSelectionColor | ( | Color_t | color | ) |
Definition at line 488 of file CmsShowEDI.cc.
References c, FWEventItem::changeManager(), FWEventItem::defaultDisplayProperties(), Calorimetry_cff::dp, mps_fire::i, m_item, FWSelectionManager::selected(), FWEventItem::selectionManager(), FWEventItem::setDisplayProperties(), and contentValuesCheck::ss.
CmsShowEDI::ClassDefOverride | ( | CmsShowEDI | , |
0 | |||
) |
|
private |
Definition at line 239 of file CmsShowEDI.cc.
References f, and m_settersFrame.
Referenced by disconnectAll(), and fillEDIFrame().
|
inlineoverride |
Definition at line 61 of file CmsShowEDI.h.
void CmsShowEDI::colorSetChanged | ( | ) |
Definition at line 501 of file CmsShowEDI.cc.
References FWEventItem::defaultDisplayProperties(), m_colorSelectWidget, m_cw, m_item, AlCaHLTBitMon_ParallelJobs::p, and FWColorSelect::SetColorByIndex().
Referenced by FWGUIManager::finishUpColorChange().
void CmsShowEDI::deselectAll | ( | ) |
Definition at line 481 of file CmsShowEDI.cc.
References FWEventItem::changeManager(), mps_fire::i, m_item, FWEventItem::size(), and FWEventItem::unselect().
void CmsShowEDI::disconnectAll | ( | ) |
Definition at line 364 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 fillEDIFrame(), and ~CmsShowEDI().
void CmsShowEDI::fillEDIFrame | ( | ) |
Definition at line 250 of file CmsShowEDI.cc.
References FWEventItem::changed_, clearPBFrame(), FWEventItem::defaultDisplayProperties(), FWEventItem::defaultDisplayPropertiesChanged_, disconnectAll(), FWEventItem::filterExpression(), FWEventItem::getConfig(), FWEventItem::goingToBeDestroyed_, 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(), FWEventItem::type(), updateDisplay(), updateFilter(), and updateLayerControls().
Referenced by CmsShowEDI().
void CmsShowEDI::moveToBack | ( | ) |
Definition at line 349 of file CmsShowEDI.cc.
References m_item, FWEventItem::moveToBack(), and updateLayerControls().
void CmsShowEDI::moveToFront | ( | ) |
Definition at line 353 of file CmsShowEDI.cc.
References m_item, FWEventItem::moveToFront(), and updateLayerControls().
void CmsShowEDI::moveToLayer | ( | Long_t | ) |
Definition at line 357 of file CmsShowEDI.cc.
References m_item, m_layerEntry, FWEventItem::moveToLayer(), and updateLayerControls().
|
private |
void CmsShowEDI::removeItem | ( | ) |
Definition at line 313 of file CmsShowEDI.cc.
References FWEventItem::destroy(), m_item, FWEventItem::name(), and AlCaHLTBitMon_QueryRunRegistry::string.
void CmsShowEDI::runFilter | ( | ) |
Definition at line 437 of file CmsShowEDI.cc.
References MillePedeFileConverter_cfg::e, ALCARECOTkAlBeamHalo_cff::filter, m_filterError, m_filterExpressionEntry, m_item, FWEventItem::setFilterExpression(), and AlCaHLTBitMon_QueryRunRegistry::string.
void CmsShowEDI::runSelection | ( | ) |
Definition at line 453 of file CmsShowEDI.cc.
References MillePedeFileConverter_cfg::e, B2GTnPMonitor_cfi::item, m_cw, m_item, m_selectError, m_selectExpressionEntry, FWModelExpressionSelector::select(), corrVsCorr::selection, and AlCaHLTBitMon_QueryRunRegistry::string.
void CmsShowEDI::selectAll | ( | ) |
Definition at line 475 of file CmsShowEDI.cc.
References FWEventItem::changeManager(), mps_fire::i, m_item, FWEventItem::select(), and FWEventItem::size().
void CmsShowEDI::show | ( | FWDataCategories | iToView | ) |
Definition at line 498 of file CmsShowEDI.cc.
References m_tabs.
Referenced by FWGUIManager::showEDIFrame().
void CmsShowEDI::toggleItemVisible | ( | Bool_t | on = kTRUE | ) |
See changeItemColor for additional details.
Definition at line 418 of file CmsShowEDI.cc.
References FWEventItem::defaultDisplayProperties(), m_item, FWEventItem::setDefaultDisplayProperties(), and FWDisplayProperties::setIsVisible().
void CmsShowEDI::updateDisplay | ( | ) |
Definition at line 336 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 fillEDIFrame().
void CmsShowEDI::updateFilter | ( | ) |
Definition at line 362 of file CmsShowEDI.cc.
References FWEventItem::filterExpression(), m_filterExpressionEntry, and m_item.
Referenced by fillEDIFrame().
void CmsShowEDI::updateLayerControls | ( | ) |
Definition at line 344 of file CmsShowEDI.cc.
References FWEventItem::isInBack(), FWEventItem::isInFront(), FWEventItem::layer(), m_backButton, m_frontButton, m_item, and m_layerEntry.
Referenced by fillEDIFrame(), moveToBack(), moveToFront(), and moveToLayer().
|
private |
Definition at line 105 of file CmsShowEDI.h.
Referenced by CmsShowEDI(), disconnectAll(), updateLayerControls(), and ~CmsShowEDI().
|
private |
Definition at line 131 of file CmsShowEDI.h.
|
private |
Definition at line 107 of file CmsShowEDI.h.
Referenced by CmsShowEDI(), colorSetChanged(), disconnectAll(), fillEDIFrame(), updateDisplay(), and ~CmsShowEDI().
|
private |
Definition at line 116 of file CmsShowEDI.h.
Referenced by changeItemColor(), CmsShowEDI(), colorSetChanged(), fillEDIFrame(), runSelection(), and ~CmsShowEDI().
|
private |
Definition at line 115 of file CmsShowEDI.h.
Referenced by CmsShowEDI(), disconnectAll(), fillEDIFrame(), and ~CmsShowEDI().
|
private |
Definition at line 126 of file CmsShowEDI.h.
Referenced by disconnectAll(), and fillEDIFrame().
|
private |
Definition at line 124 of file CmsShowEDI.h.
Referenced by disconnectAll(), and fillEDIFrame().
|
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 runFilter().
|
private |
Definition at line 110 of file CmsShowEDI.h.
Referenced by CmsShowEDI(), disconnectAll(), fillEDIFrame(), runFilter(), updateFilter(), and ~CmsShowEDI().
|
private |
Definition at line 104 of file CmsShowEDI.h.
Referenced by CmsShowEDI(), disconnectAll(), updateLayerControls(), and ~CmsShowEDI().
|
private |
Definition at line 120 of file CmsShowEDI.h.
Referenced by CmsShowEDI(), disconnectAll(), and fillEDIFrame().
|
private |
Definition at line 109 of file CmsShowEDI.h.
Referenced by CmsShowEDI(), disconnectAll(), fillEDIFrame(), updateDisplay(), and ~CmsShowEDI().
|
private |
Definition at line 122 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 106 of file CmsShowEDI.h.
Referenced by CmsShowEDI(), disconnectAll(), fillEDIFrame(), moveToLayer(), updateLayerControls(), and ~CmsShowEDI().
|
private |
Definition at line 125 of file CmsShowEDI.h.
Referenced by disconnectAll(), and fillEDIFrame().
|
private |
Definition at line 119 of file CmsShowEDI.h.
Referenced by CmsShowEDI(), disconnectAll(), and fillEDIFrame().
|
private |
Definition at line 117 of file CmsShowEDI.h.
Referenced by CmsShowEDI(), disconnectAll(), and fillEDIFrame().
|
private |
Definition at line 102 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 CmsShowEDI(), disconnectAll(), and fillEDIFrame().
|
private |
Definition at line 103 of file CmsShowEDI.h.
Referenced by CmsShowEDI(), disconnectAll(), fillEDIFrame(), and ~CmsShowEDI().
|
private |
Definition at line 114 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 129 of file CmsShowEDI.h.
Referenced by CmsShowEDI(), fillEDIFrame(), and runSelection().
|
private |
Definition at line 111 of file CmsShowEDI.h.
Referenced by CmsShowEDI(), disconnectAll(), fillEDIFrame(), runSelection(), and ~CmsShowEDI().
|
private |
Definition at line 100 of file CmsShowEDI.h.
Referenced by CmsShowEDI(), and fillEDIFrame().
|
private |
Definition at line 133 of file CmsShowEDI.h.
Referenced by clearPBFrame(), CmsShowEDI(), and fillEDIFrame().
|
private |
Definition at line 101 of file CmsShowEDI.h.
Referenced by CmsShowEDI(), and show().
|
private |
Definition at line 118 of file CmsShowEDI.h.
Referenced by CmsShowEDI(), disconnectAll(), and fillEDIFrame().
|
private |
Definition at line 130 of file CmsShowEDI.h.
Referenced by CmsShowEDI(), fillEDIFrame(), and ~CmsShowEDI().