#include <Fireworks/Core/interface/FWCollectionSummaryWidget.h>
Public Member Functions | |
ClassDef (FWCollectionSummaryWidget, 0) | |
void | colorChangeRequested (Color_t iColorIndex) |
void | colorClicked () |
void | displayChanged () |
FWCollectionSummaryWidget (TGFrame *iParent, FWEventItem &iItem, TGLayoutHints *) | |
void | infoClicked () |
void | itemChanged () |
void | itemColorClicked (int iIndex, Int_t iRootX, Int_t iRootY) |
void | labelClicked () |
void | modelSelected (Int_t iRow, Int_t iButton, Int_t iKeyMod, Int_t iGlobalX, Int_t iGlobalY) |
void | requestForController (FWEventItem *) |
void | requestForErrorInfo (FWEventItem *) |
void | requestForFilter (FWEventItem *) |
void | requestForInfo (FWEventItem *) |
void | requestForModelContextMenu (Int_t, Int_t) |
void | setBackgroundToWhite (bool) |
void | stateClicked () |
void | toggleItemVisible () |
void | toggleShowHide () |
virtual | ~FWCollectionSummaryWidget () |
Private Member Functions | |
void | colorTable () |
void | createColorPopup () |
FWCollectionSummaryWidget (const FWCollectionSummaryWidget &) | |
const FWCollectionSummaryWidget & | operator= (const FWCollectionSummaryWidget &) |
Private Attributes | |
bool | m_backgroundIsWhite |
FWEventItem * | m_collection |
bool | m_collectionShown |
FWColorPopup * | m_colorPopup |
FWColorBoxIcon * | m_colorSelectBox |
FWBoxIconButton * | m_colorSelectWidget |
FWCollectionSummaryWidgetConnectionHolder * | m_connectionHolder |
TGGC * | m_graphicsContext |
TGLayoutHints * | m_hints |
TGFrame * | m_holder |
int | m_indexForColor |
FWCustomIconsButton * | m_infoButton |
FWBoxIconButton * | m_isVisibleButton |
FWCheckBoxIcon * | m_isVisibleCheckBox |
TGTextButton * | m_label |
TGFrame * | m_parent |
FWCustomIconsButton * | m_showHideButton |
FWCustomIconsButton * | m_stateButton |
TGGC * | m_tableContext |
FWCollectionSummaryTableManager * | m_tableManager |
FWTableWidget * | m_tableWidget |
Description: <one line="" class="" summary>="">
Usage: <usage>
Definition at line 49 of file FWCollectionSummaryWidget.h.
FWCollectionSummaryWidget::FWCollectionSummaryWidget | ( | TGFrame * | iParent, |
FWEventItem & | iItem, | ||
TGLayoutHints * | iHints | ||
) |
Definition at line 252 of file FWCollectionSummaryWidget.cc.
References arrow_right(), arrow_right_disabled(), FWEventItem::defaultDisplayPropertiesChanged_, displayChanged(), FWEventItem::filterChanged_, info(), info_disabled(), info_over(), itemChanged(), FWEventItem::itemChanged_, m_backgroundIsWhite, m_collection, m_collectionShown, m_colorSelectBox, m_colorSelectWidget, m_connectionHolder, m_graphicsContext, m_holder, m_infoButton, m_isVisibleButton, m_isVisibleCheckBox, m_label, m_showHideButton, m_stateButton, FWEventItem::name(), FWCollectionSummaryWidgetConnectionHolder::push_back(), FWCollectionSummaryWidgetConnectionHolder::reserve(), FWColorBoxIcon::setColor(), edmStreamStallGrapher::t, unfiltered(), and unfiltered_over().
|
virtual |
Definition at line 345 of file FWCollectionSummaryWidget.cc.
References m_colorPopup, m_connectionHolder, and m_graphicsContext.
|
private |
FWCollectionSummaryWidget::ClassDef | ( | FWCollectionSummaryWidget | , |
0 | |||
) |
void FWCollectionSummaryWidget::colorChangeRequested | ( | Color_t | iColorIndex | ) |
Definition at line 432 of file FWCollectionSummaryWidget.cc.
References FWEventItem::defaultDisplayProperties(), FWEventItem::ModelInfo::displayProperties(), m_collection, m_indexForColor, FWEventItem::modelInfo(), FWDisplayProperties::setColor(), FWEventItem::setDefaultDisplayProperties(), and FWEventItem::setDisplayProperties().
void FWCollectionSummaryWidget::colorClicked | ( | ) |
Definition at line 536 of file FWCollectionSummaryWidget.cc.
References create_public_lumi_plots::ax, FWColorManager::backgroundColorIndex(), FWDisplayProperties::color(), FWEventItem::colorManager(), colors, createColorPopup(), FWEventItem::defaultDisplayProperties(), FWColorManager::fillLimitedColors(), FWColorManager::kBlackIndex, m_collection, m_colorPopup, m_colorSelectWidget, m_indexForColor, FWEventItem::name(), FWColorPopup::PlacePopup(), FWColorPopup::ResetColors(), FWColorPopup::SetName(), and FWColorPopup::SetSelection().
|
private |
Definition at line 709 of file FWCollectionSummaryWidget.cc.
References m_backgroundIsWhite, m_tableContext, m_tableWidget, FWTableWidget::SetBackgroundColor(), and FWTableWidget::SetLineSeparatorColor().
Referenced by setBackgroundToWhite(), and toggleShowHide().
|
private |
Definition at line 522 of file FWCollectionSummaryWidget.cc.
References FWDisplayProperties::color(), FWEventItem::colorManager(), colors, FWEventItem::defaultDisplayProperties(), FWColorManager::fillLimitedColors(), FWColorPopup::InitContent(), m_collection, m_colorPopup, and FWEventItem::name().
Referenced by colorClicked(), and itemColorClicked().
void FWCollectionSummaryWidget::displayChanged | ( | ) |
Definition at line 395 of file FWCollectionSummaryWidget.cc.
References FWDisplayProperties::color(), FWEventItem::defaultDisplayProperties(), FWDisplayProperties::isVisible(), FWEventItem::itemIsSelected(), m_backgroundIsWhite, m_collection, m_colorSelectWidget, m_graphicsContext, m_isVisibleButton, m_isVisibleCheckBox, m_label, FWCheckBoxIcon::setChecked(), and setLabelBackgroundColor().
Referenced by FWCollectionSummaryWidget().
void FWCollectionSummaryWidget::infoClicked | ( | ) |
Definition at line 619 of file FWCollectionSummaryWidget.cc.
References FWSelectionManager::clearSelection(), FWEventItem::itemIsSelected(), m_collection, requestForInfo(), FWEventItem::selectionManager(), and FWEventItem::selectItem().
void FWCollectionSummaryWidget::itemChanged | ( | ) |
Definition at line 406 of file FWCollectionSummaryWidget.cc.
References alert(), alert_over(), FWEventItem::errorMessage(), filtered(), filtered_over(), FWEventItem::filterExpression(), FWEventItem::hasError(), m_backgroundIsWhite, m_collection, m_stateButton, FWCustomIconsButton::swapIcons(), unfiltered(), and unfiltered_over().
Referenced by FWCollectionSummaryWidget(), and setBackgroundToWhite().
void FWCollectionSummaryWidget::itemColorClicked | ( | int | iIndex, |
Int_t | iRootX, | ||
Int_t | iRootY | ||
) |
Definition at line 555 of file FWCollectionSummaryWidget.cc.
References FWColorManager::backgroundColorIndex(), FWDisplayProperties::color(), FWEventItem::colorManager(), colors, createColorPopup(), FWEventItem::ModelInfo::displayProperties(), FWColorManager::fillLimitedColors(), FWColorManager::kBlackIndex, m_collection, m_colorPopup, m_indexForColor, FWEventItem::modelInfo(), FWEventItem::modelName(), FWColorPopup::PlacePopup(), FWColorPopup::ResetColors(), FWColorPopup::SetName(), and FWColorPopup::SetSelection().
Referenced by FWCollectionSummaryTableManager::buttonReleasedInRowHeader().
void FWCollectionSummaryWidget::labelClicked | ( | ) |
Definition at line 641 of file FWCollectionSummaryWidget.cc.
References FWSelectionManager::clearSelection(), FWEventItem::itemIsSelected(), m_collection, requestForController(), FWEventItem::selectionManager(), and FWEventItem::selectItem().
void FWCollectionSummaryWidget::modelSelected | ( | Int_t | iRow, |
Int_t | iButton, | ||
Int_t | iKeyMod, | ||
Int_t | iGlobalX, | ||
Int_t | iGlobalY | ||
) |
Definition at line 570 of file FWCollectionSummaryWidget.cc.
References FWEventItem::changeManager(), FWSelectionManager::clearSelection(), m_collection, requestForModelContextMenu(), FWEventItem::select(), FWEventItem::selectionManager(), and FWEventItem::toggleSelect().
|
private |
void FWCollectionSummaryWidget::requestForController | ( | FWEventItem * | iItem | ) |
Definition at line 604 of file FWCollectionSummaryWidget.cc.
Referenced by labelClicked().
void FWCollectionSummaryWidget::requestForErrorInfo | ( | FWEventItem * | iItem | ) |
Definition at line 598 of file FWCollectionSummaryWidget.cc.
void FWCollectionSummaryWidget::requestForFilter | ( | FWEventItem * | iItem | ) |
Definition at line 592 of file FWCollectionSummaryWidget.cc.
Referenced by stateClicked().
void FWCollectionSummaryWidget::requestForInfo | ( | FWEventItem * | iItem | ) |
Definition at line 586 of file FWCollectionSummaryWidget.cc.
Referenced by infoClicked().
void FWCollectionSummaryWidget::requestForModelContextMenu | ( | Int_t | iGlobalX, |
Int_t | iGlobalY | ||
) |
Definition at line 610 of file FWCollectionSummaryWidget.cc.
References ExtractAppInfoFromXML::args.
Referenced by modelSelected().
void FWCollectionSummaryWidget::setBackgroundToWhite | ( | bool | iToWhite | ) |
Definition at line 652 of file FWCollectionSummaryWidget.cc.
References arrow_down(), arrow_down_disabled(), arrow_right(), arrow_right_disabled(), FWDisplayProperties::color(), colorTable(), FWEventItem::defaultDisplayProperties(), info(), info_disabled(), info_over(), itemChanged(), FWEventItem::itemIsSelected(), m_backgroundIsWhite, m_collection, m_collectionShown, m_colorSelectWidget, m_graphicsContext, m_holder, m_infoButton, m_isVisibleButton, m_label, m_showHideButton, selectContext(), setLabelBackgroundColor(), FWBoxIconButton::setNormCG(), and FWCustomIconsButton::swapIcons().
Referenced by FWSummaryManager::newItem().
void FWCollectionSummaryWidget::stateClicked | ( | ) |
Definition at line 630 of file FWCollectionSummaryWidget.cc.
References FWSelectionManager::clearSelection(), FWEventItem::itemIsSelected(), m_collection, requestForFilter(), FWEventItem::selectionManager(), and FWEventItem::selectItem().
void FWCollectionSummaryWidget::toggleItemVisible | ( | ) |
Definition at line 447 of file FWCollectionSummaryWidget.cc.
References FWEventItem::defaultDisplayProperties(), FWCheckBoxIcon::isChecked(), m_collection, m_isVisibleButton, m_isVisibleCheckBox, FWCheckBoxIcon::setChecked(), FWEventItem::setDefaultDisplayProperties(), and FWDisplayProperties::setIsVisible().
void FWCollectionSummaryWidget::toggleShowHide | ( | ) |
Definition at line 470 of file FWCollectionSummaryWidget.cc.
References arrow_down(), arrow_down_disabled(), arrow_right(), arrow_right_disabled(), colorTable(), m_backgroundIsWhite, m_collection, m_collectionShown, m_hints, m_parent, m_showHideButton, m_tableContext, m_tableManager, m_tableWidget, FWTableWidget::Resize(), selectContext(), FWTableWidget::SetHeaderBackgroundColor(), FWCustomIconsButton::swapIcons(), and edmStreamStallGrapher::t.
|
private |
Definition at line 116 of file FWCollectionSummaryWidget.h.
Referenced by colorTable(), displayChanged(), FWCollectionSummaryWidget(), itemChanged(), setBackgroundToWhite(), and toggleShowHide().
|
private |
Definition at line 95 of file FWCollectionSummaryWidget.h.
Referenced by colorChangeRequested(), colorClicked(), createColorPopup(), displayChanged(), FWCollectionSummaryWidget(), infoClicked(), itemChanged(), itemColorClicked(), labelClicked(), modelSelected(), setBackgroundToWhite(), stateClicked(), toggleItemVisible(), and toggleShowHide().
|
private |
Definition at line 108 of file FWCollectionSummaryWidget.h.
Referenced by FWCollectionSummaryWidget(), setBackgroundToWhite(), and toggleShowHide().
|
private |
Definition at line 112 of file FWCollectionSummaryWidget.h.
Referenced by colorClicked(), createColorPopup(), itemColorClicked(), and ~FWCollectionSummaryWidget().
|
private |
Definition at line 103 of file FWCollectionSummaryWidget.h.
Referenced by FWCollectionSummaryWidget().
|
private |
Definition at line 102 of file FWCollectionSummaryWidget.h.
Referenced by colorClicked(), displayChanged(), FWCollectionSummaryWidget(), and setBackgroundToWhite().
|
private |
Definition at line 118 of file FWCollectionSummaryWidget.h.
Referenced by FWCollectionSummaryWidget(), and ~FWCollectionSummaryWidget().
|
private |
Definition at line 109 of file FWCollectionSummaryWidget.h.
Referenced by displayChanged(), FWCollectionSummaryWidget(), setBackgroundToWhite(), and ~FWCollectionSummaryWidget().
|
private |
Definition at line 96 of file FWCollectionSummaryWidget.h.
Referenced by toggleShowHide().
|
private |
Definition at line 107 of file FWCollectionSummaryWidget.h.
Referenced by FWCollectionSummaryWidget(), and setBackgroundToWhite().
|
private |
Definition at line 111 of file FWCollectionSummaryWidget.h.
Referenced by colorChangeRequested(), colorClicked(), and itemColorClicked().
|
private |
Definition at line 105 of file FWCollectionSummaryWidget.h.
Referenced by FWCollectionSummaryWidget(), and setBackgroundToWhite().
|
private |
Definition at line 99 of file FWCollectionSummaryWidget.h.
Referenced by displayChanged(), FWCollectionSummaryWidget(), setBackgroundToWhite(), and toggleItemVisible().
|
private |
Definition at line 100 of file FWCollectionSummaryWidget.h.
Referenced by displayChanged(), FWCollectionSummaryWidget(), and toggleItemVisible().
|
private |
Definition at line 106 of file FWCollectionSummaryWidget.h.
Referenced by displayChanged(), FWCollectionSummaryWidget(), and setBackgroundToWhite().
|
private |
Definition at line 97 of file FWCollectionSummaryWidget.h.
Referenced by toggleShowHide().
|
private |
Definition at line 98 of file FWCollectionSummaryWidget.h.
Referenced by FWCollectionSummaryWidget(), setBackgroundToWhite(), and toggleShowHide().
|
private |
Definition at line 104 of file FWCollectionSummaryWidget.h.
Referenced by FWCollectionSummaryWidget(), and itemChanged().
|
private |
Definition at line 110 of file FWCollectionSummaryWidget.h.
Referenced by colorTable(), and toggleShowHide().
|
private |
Definition at line 114 of file FWCollectionSummaryWidget.h.
Referenced by toggleShowHide().
|
private |
Definition at line 115 of file FWCollectionSummaryWidget.h.
Referenced by colorTable(), and toggleShowHide().