#include <Fireworks/Core/interface/CmsShowEDI.h>
Public Member Functions | |
void | changeItemColor (Color_t color) |
void | changeItemOpacity (Int_t opacity) |
void | changeSelectionColor (Color_t color) |
ClassDef (CmsShowEDI, 0) | |
virtual void | CloseWindow () |
CmsShowEDI (const TGWindow *p=0, UInt_t w=1, UInt_t h=1, FWSelectionManager *selMgr=0, FWColorManager *colorMgr=0) | |
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 () |
virtual | ~CmsShowEDI () |
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 = 0 , |
UInt_t | w = 1 , |
||
UInt_t | h = 1 , |
||
FWSelectionManager * | selMgr = 0 , |
||
FWColorManager * | colorMgr = 0 |
||
) |
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().
|
virtual |
Definition at line 189 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 416 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 439 of file CmsShowEDI.cc.
References FWEventItem::defaultDisplayProperties(), m_item, FWEventItem::setDefaultDisplayProperties(), and FWDisplayProperties::setTransparency().
void CmsShowEDI::changeSelectionColor | ( | Color_t | color | ) |
Definition at line 510 of file CmsShowEDI.cc.
References FWEventItem::changeManager(), FWEventItem::defaultDisplayProperties(), i, m_item, FWSelectionManager::selected(), FWEventItem::selectionManager(), FWDisplayProperties::setColor(), FWEventItem::setDisplayProperties(), and contentValuesCheck::ss.
CmsShowEDI::ClassDef | ( | CmsShowEDI | , |
0 | |||
) |
|
private |
Definition at line 228 of file CmsShowEDI.cc.
References f, and m_settersFrame.
Referenced by disconnectAll(), and fillEDIFrame().
|
inlinevirtual |
Definition at line 60 of file CmsShowEDI.h.
void CmsShowEDI::colorSetChanged | ( | ) |
Definition at line 530 of file CmsShowEDI.cc.
References FWDisplayProperties::color(), FWEventItem::defaultDisplayProperties(), m_colorSelectWidget, m_cw, m_item, AlCaHLTBitMon_ParallelJobs::p, and FWColorSelect::SetColorByIndex().
Referenced by FWGUIManager::finishUpColorChange().
void CmsShowEDI::deselectAll | ( | ) |
Definition at line 500 of file CmsShowEDI.cc.
References FWEventItem::changeManager(), i, m_item, FWEventItem::size(), and FWEventItem::unselect().
void CmsShowEDI::disconnectAll | ( | ) |
Definition at line 369 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 242 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 CmsShowEDI().
void CmsShowEDI::moveToBack | ( | ) |
Definition at line 345 of file CmsShowEDI.cc.
References m_item, FWEventItem::moveToBack(), and updateLayerControls().
void CmsShowEDI::moveToFront | ( | ) |
Definition at line 351 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 306 of file CmsShowEDI.cc.
References FWEventItem::destroy(), m_item, python.rootplot.argparse::message, FWEventItem::name(), and AlCaHLTBitMon_QueryRunRegistry::string.
void CmsShowEDI::runFilter | ( | ) |
Definition at line 446 of file CmsShowEDI.cc.
References FWExpressionException::column(), alignCSCRings::e, alcazmumu_cfi::filter, m_filterError, m_filterExpressionEntry, m_item, FWEventItem::setFilterExpression(), AlCaHLTBitMon_QueryRunRegistry::string, and FWExpressionException::what().
void CmsShowEDI::runSelection | ( | ) |
Definition at line 463 of file CmsShowEDI.cc.
References FWExpressionException::column(), alignCSCRings::e, m_cw, m_item, m_selectError, m_selectExpressionEntry, FWModelExpressionSelector::select(), corrVsCorr::selection, FWEventItem::selectionManager(), AlCaHLTBitMon_QueryRunRegistry::string, and FWExpressionException::what().
void CmsShowEDI::selectAll | ( | ) |
Definition at line 491 of file CmsShowEDI.cc.
References FWEventItem::changeManager(), i, m_item, FWEventItem::select(), and FWEventItem::size().
void CmsShowEDI::show | ( | FWDataCategories | iToView | ) |
Definition at line 523 of file CmsShowEDI.cc.
References m_tabs.
Referenced by 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 425 of file CmsShowEDI.cc.
References FWEventItem::defaultDisplayProperties(), m_item, FWEventItem::setDefaultDisplayProperties(), and FWDisplayProperties::setIsVisible().
void CmsShowEDI::updateDisplay | ( | ) |
Definition at line 329 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 364 of file CmsShowEDI.cc.
References FWEventItem::filterExpression(), m_filterExpressionEntry, and m_item.
Referenced by fillEDIFrame().
void CmsShowEDI::updateLayerControls | ( | ) |
Definition at line 338 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 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().