#include <Fireworks/Core/interface/FWCollectionSummaryWidget.h>
Public Member Functions | |
ClassDefOverride (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 () |
~FWCollectionSummaryWidget () override | |
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 223 of file FWCollectionSummaryWidget.cc.
References arrow_right(), arrow_right_disabled(), FWEventItem::defaultDisplayPropertiesChanged_, displayChanged(), FWEventItem::filterChanged_, info(), info_disabled(), info_over(), itemChanged(), FWEventItem::itemChanged_, kWidgetColor, 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(), OrderedSet::t, unfiltered(), and unfiltered_over().
|
override |
Definition at line 314 of file FWCollectionSummaryWidget.cc.
References m_colorPopup, m_connectionHolder, and m_graphicsContext.
|
private |
FWCollectionSummaryWidget::ClassDefOverride | ( | FWCollectionSummaryWidget | , |
0 | |||
) |
void FWCollectionSummaryWidget::colorChangeRequested | ( | Color_t | iColorIndex | ) |
Definition at line 392 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 486 of file FWCollectionSummaryWidget.cc.
References 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 637 of file FWCollectionSummaryWidget.cc.
References ClassImp(), kWidgetColor, kWidgetColorLight, m_backgroundIsWhite, m_tableContext, m_tableWidget, FWTableWidget::SetBackgroundColor(), and FWTableWidget::SetLineSeparatorColor().
Referenced by setBackgroundToWhite(), and toggleShowHide().
|
private |
Definition at line 475 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 359 of file FWCollectionSummaryWidget.cc.
References FWDisplayProperties::color(), FWEventItem::defaultDisplayProperties(), hcaldqm::fClient, 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 557 of file FWCollectionSummaryWidget.cc.
References FWSelectionManager::clearSelection(), FWEventItem::itemIsSelected(), m_collection, requestForInfo(), FWEventItem::selectionManager(), and FWEventItem::selectItem().
void FWCollectionSummaryWidget::itemChanged | ( | ) |
Definition at line 368 of file FWCollectionSummaryWidget.cc.
References alert(), alert_over(), mps_check::disabled, down, 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 508 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 575 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 521 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 546 of file FWCollectionSummaryWidget.cc.
Referenced by labelClicked().
void FWCollectionSummaryWidget::requestForErrorInfo | ( | FWEventItem * | iItem | ) |
Definition at line 542 of file FWCollectionSummaryWidget.cc.
void FWCollectionSummaryWidget::requestForFilter | ( | FWEventItem * | iItem | ) |
Definition at line 538 of file FWCollectionSummaryWidget.cc.
Referenced by stateClicked().
void FWCollectionSummaryWidget::requestForInfo | ( | FWEventItem * | iItem | ) |
Definition at line 534 of file FWCollectionSummaryWidget.cc.
Referenced by infoClicked().
void FWCollectionSummaryWidget::requestForModelContextMenu | ( | Int_t | iGlobalX, |
Int_t | iGlobalY | ||
) |
Definition at line 550 of file FWCollectionSummaryWidget.cc.
References writedatasetfile::args.
Referenced by modelSelected().
void FWCollectionSummaryWidget::setBackgroundToWhite | ( | bool | iToWhite | ) |
Definition at line 584 of file FWCollectionSummaryWidget.cc.
References arrow_down(), arrow_down_disabled(), arrow_right(), arrow_right_disabled(), FWDisplayProperties::color(), colorTable(), FWEventItem::defaultDisplayProperties(), mps_check::disabled, down, hcaldqm::fClient, info(), info_disabled(), info_over(), itemChanged(), FWEventItem::itemIsSelected(), kWidgetColor, kWidgetColorLight, 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 566 of file FWCollectionSummaryWidget.cc.
References FWSelectionManager::clearSelection(), FWEventItem::itemIsSelected(), m_collection, requestForFilter(), FWEventItem::selectionManager(), and FWEventItem::selectItem().
void FWCollectionSummaryWidget::toggleItemVisible | ( | ) |
Definition at line 405 of file FWCollectionSummaryWidget.cc.
References FWEventItem::defaultDisplayProperties(), hcaldqm::fClient, FWCheckBoxIcon::isChecked(), m_collection, m_isVisibleButton, m_isVisibleCheckBox, FWCheckBoxIcon::setChecked(), FWEventItem::setDefaultDisplayProperties(), and FWDisplayProperties::setIsVisible().
void FWCollectionSummaryWidget::toggleShowHide | ( | ) |
Definition at line 424 of file FWCollectionSummaryWidget.cc.
References arrow_down(), arrow_down_disabled(), arrow_right(), arrow_right_disabled(), colorTable(), mps_check::disabled, down, hcaldqm::fClient, 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 OrderedSet::t.
|
private |
Definition at line 114 of file FWCollectionSummaryWidget.h.
Referenced by colorTable(), displayChanged(), FWCollectionSummaryWidget(), itemChanged(), setBackgroundToWhite(), and toggleShowHide().
|
private |
Definition at line 93 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 106 of file FWCollectionSummaryWidget.h.
Referenced by FWCollectionSummaryWidget(), setBackgroundToWhite(), and toggleShowHide().
|
private |
Definition at line 110 of file FWCollectionSummaryWidget.h.
Referenced by colorClicked(), createColorPopup(), itemColorClicked(), and ~FWCollectionSummaryWidget().
|
private |
Definition at line 101 of file FWCollectionSummaryWidget.h.
Referenced by FWCollectionSummaryWidget().
|
private |
Definition at line 100 of file FWCollectionSummaryWidget.h.
Referenced by colorClicked(), displayChanged(), FWCollectionSummaryWidget(), and setBackgroundToWhite().
|
private |
Definition at line 116 of file FWCollectionSummaryWidget.h.
Referenced by FWCollectionSummaryWidget(), and ~FWCollectionSummaryWidget().
|
private |
Definition at line 107 of file FWCollectionSummaryWidget.h.
Referenced by displayChanged(), FWCollectionSummaryWidget(), setBackgroundToWhite(), and ~FWCollectionSummaryWidget().
|
private |
Definition at line 94 of file FWCollectionSummaryWidget.h.
Referenced by toggleShowHide().
|
private |
Definition at line 105 of file FWCollectionSummaryWidget.h.
Referenced by FWCollectionSummaryWidget(), and setBackgroundToWhite().
|
private |
Definition at line 109 of file FWCollectionSummaryWidget.h.
Referenced by colorChangeRequested(), colorClicked(), and itemColorClicked().
|
private |
Definition at line 103 of file FWCollectionSummaryWidget.h.
Referenced by FWCollectionSummaryWidget(), and setBackgroundToWhite().
|
private |
Definition at line 97 of file FWCollectionSummaryWidget.h.
Referenced by displayChanged(), FWCollectionSummaryWidget(), setBackgroundToWhite(), and toggleItemVisible().
|
private |
Definition at line 98 of file FWCollectionSummaryWidget.h.
Referenced by displayChanged(), FWCollectionSummaryWidget(), and toggleItemVisible().
|
private |
Definition at line 104 of file FWCollectionSummaryWidget.h.
Referenced by displayChanged(), FWCollectionSummaryWidget(), and setBackgroundToWhite().
|
private |
Definition at line 95 of file FWCollectionSummaryWidget.h.
Referenced by toggleShowHide().
|
private |
Definition at line 96 of file FWCollectionSummaryWidget.h.
Referenced by FWCollectionSummaryWidget(), setBackgroundToWhite(), and toggleShowHide().
|
private |
Definition at line 102 of file FWCollectionSummaryWidget.h.
Referenced by FWCollectionSummaryWidget(), and itemChanged().
|
private |
Definition at line 108 of file FWCollectionSummaryWidget.h.
Referenced by colorTable(), and toggleShowHide().
|
private |
Definition at line 112 of file FWCollectionSummaryWidget.h.
Referenced by toggleShowHide().
|
private |
Definition at line 113 of file FWCollectionSummaryWidget.h.
Referenced by colorTable(), and toggleShowHide().