#include <Fireworks/Core/interface/FWTableView.h>
Public Member Functions | |
void | addColumn () |
void | addTo (FWConfiguration &) const override |
void | columnSelected (Int_t iCol, Int_t iButton, Int_t iKeyMod) |
void | dataChanged () |
void | deleteColumn () |
FWTableView (TEveWindowSlot *, FWTableViewManager *) | |
FWTableView (const FWTableView &)=delete | |
const FWEventItem * | item () const |
void | modelSelected (Int_t iRow, Int_t iButton, Int_t iKeyMod, Int_t, Int_t) |
void | modifyColumn () |
const FWTableView & | operator= (const FWTableView &)=delete |
void | resetColors (const class FWColorManager &) |
void | saveImageTo (const std::string &iName) const override |
void | selectCollection (Int_t) |
void | setBackgroundColor (Color_t) |
void | setFrom (const FWConfiguration &) override |
void | toggleShowHide () |
void | updateEvaluators () |
void | updateItems () |
~FWTableView () override | |
Public Member Functions inherited from FWViewBase | |
virtual FWViewContextMenuHandlerBase * | contextMenuHandler () const |
void | destroy () |
FWViewBase (FWViewType::EType, unsigned int iVersion=1) | |
FWViewBase (const FWViewBase &)=delete | |
const FWViewBase & | operator= (const FWViewBase &)=delete |
virtual void | populateController (ViewerParameterGUI &) const |
void | promptForSaveImageTo (TGFrame *) const |
FWViewType::EType | typeId () const |
const std::string & | typeName () const |
Public Member Functions inherited from FWConfigurableParameterizable | |
FWConfigurableParameterizable (unsigned int iVersion=1) | |
FWConfigurableParameterizable (const FWConfigurableParameterizable &)=delete | |
const FWConfigurableParameterizable & | operator= (const FWConfigurableParameterizable &)=delete |
unsigned int | version () const |
~FWConfigurableParameterizable () override | |
Public Member Functions inherited from FWParameterizable | |
void | add (FWParameterBase *) |
const_iterator | begin () const |
const_iterator | end () const |
FWParameterizable () | |
FWParameterizable (const FWParameterizable &)=delete | |
const FWParameterizable & | operator= (const FWParameterizable &)=delete |
virtual | ~FWParameterizable () |
Public Member Functions inherited from FWConfigurable | |
FWConfigurable () | |
FWConfigurable (const FWConfigurable &)=delete | |
const FWConfigurable & | operator= (const FWConfigurable &)=delete |
virtual | ~FWConfigurable () |
Protected Attributes | |
TGComboBox * | m_collection |
TGCompositeFrame * | m_column_control |
FWGUIValidatingTextEntry * | m_column_expr_field |
TGTextEntry * | m_column_name_field |
TGTextEntry * | m_column_prec_field |
FWCustomIconsButton * | m_columnUIButton |
int | m_currentColumn |
TEveWindowFrame * | m_eveWindow |
int | m_iColl |
FWTableViewManager * | m_manager |
bool | m_showColumnUI |
FWTableViewTableManager * | m_tableManager |
FWTableWidget * | m_tableWidget |
bool | m_useColumnsFromConfig |
FWExpressionValidator * | m_validator |
TGCompositeFrame * | m_vert |
Protected Attributes inherited from FWViewBase | |
FWViewType | m_type |
Friends | |
class | FWTableViewTableManager |
Additional Inherited Members | |
Public Types inherited from FWParameterizable | |
typedef std::vector< FWParameterBase * >::const_iterator | const_iterator |
Public Attributes inherited from FWViewBase | |
sigc::signal< void(const FWViewBase *)> | beingDestroyed_ |
sigc::signal< void(Int_t, Int_t)> | openSelectedModelContextMenu_ |
Protected Member Functions inherited from FWViewBase | |
~FWViewBase () override | |
Description: <one line="" class="" summary>="">
Usage: <usage>
Definition at line 50 of file FWTableView.h.
FWTableView::FWTableView | ( | TEveWindowSlot * | iParent, |
FWTableViewManager * | manager | ||
) |
Definition at line 198 of file FWTableView.cc.
References arrow_right(), arrow_right_disabled(), FWColorManager::background(), FWViewManagerBase::colorManager(), FWTableWidget::disableGrowInWidth(), RecoTauValidation_cfi::header, label, m_collection, m_column_control, m_column_expr_field, m_column_name_field, m_column_prec_field, m_columnUIButton, m_eveWindow, m_manager, m_tableManager, m_tableWidget, m_validator, m_vert, resetColors(), FWTableWidget::SetHeaderBackgroundColor(), FWGUIValidatingTextEntry::setValidator(), and updateItems().
|
override |
Definition at line 284 of file FWTableView.cc.
References m_eveWindow, m_tableManager, m_validator, and m_vert.
|
delete |
void FWTableView::addColumn | ( | ) |
Definition at line 627 of file FWTableView.cc.
References FWTableViewManager::dataChanged(), MillePedeFileConverter_cfg::e, electrons_cff::expr, FWTableWidget::forceLayout(), fwLog, createfilelist::int, fwlog::kInfo, m_column_expr_field, m_column_name_field, m_column_prec_field, m_currentColumn, m_manager, FWTableViewTableManager::m_tableFormats, m_tableManager, m_tableWidget, mergeVDriftHistosByStation::name, mps_setup::stdout, and AlCaHLTBitMon_QueryRunRegistry::string.
|
overridevirtual |
Reimplemented from FWConfigurableParameterizable.
Definition at line 320 of file FWTableView.cc.
References FWConfiguration::addKeyValue(), FWConfigurableParameterizable::addTo(), FWTableViewManager::addToImpl(), universalConfigTemplate::collection, bysipixelclustmulteventfilter_cfi::collectionName, FWTableWidget::descendingSort(), FWTableViewManager::items(), kCollection, kDescendingSort, kSortColumn, kTableView, m_iColl, m_manager, m_tableWidget, FWTableViewManager::m_views, magneticFieldFilterJSON::main(), FWTableWidget::sortedColumn(), and AlCaHLTBitMon_QueryRunRegistry::string.
void FWTableView::columnSelected | ( | Int_t | iCol, |
Int_t | iButton, | ||
Int_t | iKeyMod | ||
) |
Definition at line 611 of file FWTableView.cc.
References mps_splice::entry, m_column_expr_field, m_column_name_field, m_column_prec_field, m_currentColumn, FWTableViewTableManager::m_tableFormats, and m_tableManager.
void FWTableView::dataChanged | ( | ) |
Definition at line 551 of file FWTableView.cc.
References FWTableViewTableManager::dataChanged(), m_tableManager, and updateEvaluators().
Referenced by selectCollection().
void FWTableView::deleteColumn | ( | ) |
Definition at line 651 of file FWTableView.cc.
References FWTableViewManager::dataChanged(), FWTableWidget::forceLayout(), m_column_expr_field, m_column_name_field, m_column_prec_field, m_currentColumn, m_manager, FWTableViewTableManager::m_tableFormats, m_tableManager, and m_tableWidget.
const FWEventItem * FWTableView::item | ( | ) | const |
Definition at line 545 of file FWTableView.cc.
References FWTableViewManager::items(), m_iColl, and m_manager.
Referenced by FWTableViewTableManager::cellRenderer(), FWTableViewTableManager::dataChanged(), FWTableViewTableManager::implSort(), modelSelected(), FWTableViewTableManager::numberOfRows(), FWTableViewTableManager::rowHeader(), selectCollection(), and updateItems().
void FWTableView::modelSelected | ( | Int_t | iRow, |
Int_t | iButton, | ||
Int_t | iKeyMod, | ||
Int_t | iGlobalX, | ||
Int_t | iGlobalY | ||
) |
Definition at line 598 of file FWTableView.cc.
References FWSelectionManager::clearSelection(), item(), FWViewBase::openSelectedModelContextMenu_, FWEventItem::select(), FWEventItem::selectionManager(), and FWEventItem::toggleSelect().
void FWTableView::modifyColumn | ( | ) |
Definition at line 666 of file FWTableView.cc.
References FWTableViewManager::dataChanged(), MillePedeFileConverter_cfg::e, electrons_cff::expr, FWTableWidget::forceLayout(), fwLog, createfilelist::int, fwlog::kInfo, m_column_expr_field, m_column_name_field, m_column_prec_field, m_currentColumn, m_manager, FWTableViewTableManager::m_tableFormats, m_tableManager, m_tableWidget, mergeVDriftHistosByStation::name, mps_setup::stdout, and AlCaHLTBitMon_QueryRunRegistry::string.
|
delete |
void FWTableView::resetColors | ( | const class FWColorManager & | ) |
Definition at line 301 of file FWTableView.cc.
References FWColorManager::background(), FWColorManager::foreground(), m_tableWidget, FWTableWidget::SetBackgroundColor(), and FWTableWidget::SetLineSeparatorColor().
Referenced by FWTableView().
|
overridevirtual |
Implements FWViewBase.
Definition at line 424 of file FWTableView.cc.
References DummyCfis::c, FWTableViewTableManager::cellRenderer(), gather_cfg::cout, FWTextTableCellRenderer::data(), data, dqm-mbProfile::format, FWTableViewTableManager::m_tableFormats, m_tableManager, FWTableViewTableManager::numberOfColumns(), FWTableViewTableManager::numberOfRows(), alignCSCRings::r, confdb::splitter(), contentValuesCheck::ss, AlCaHLTBitMon_QueryRunRegistry::string, and FWTableViewTableManager::unsortedRowNumber().
void FWTableView::selectCollection | ( | Int_t | i_coll | ) |
Select the collection to be displayed by the table view and updates the evaluators required to retrieve the data from the event.
Definition at line 570 of file FWTableView.cc.
References cms::cuda::assert(), dataChanged(), FWTableWidget::forceLayout(), fwLog, item(), FWTableViewManager::items(), fwlog::kInfo, m_iColl, m_manager, FWTableViewManager::m_tableFormats, FWTableViewTableManager::m_tableFormats, m_tableManager, m_tableWidget, m_useColumnsFromConfig, m_validator, FWEventItem::modelType(), edm::second(), FWExpressionValidator::setType(), and FWTableViewManager::tableFormats().
void FWTableView::setBackgroundColor | ( | Color_t | iColor | ) |
Definition at line 295 of file FWTableView.cc.
References m_tableWidget, and FWTableWidget::SetBackgroundColor().
|
overridevirtual |
Reimplemented from FWConfigurableParameterizable.
Definition at line 359 of file FWTableView.cc.
References cms::cuda::assert(), DMR_cfg::cerr, universalConfigTemplate::collection, bysipixelclustmulteventfilter_cfi::collectionName, ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, FWTableViewManager::items(), kCollection, kDescendingSort, kSortColumn, kTableView, m_collection, m_manager, m_tableManager, m_tableWidget, FWTableViewManager::m_views, FWTableViewTableManager::numberOfColumns(), FWConfigurableParameterizable::setFrom(), FWTableViewManager::setFrom(), jetUpdater_cfi::sort, FWTableWidget::sort(), AlCaHLTBitMon_QueryRunRegistry::string, FWConfiguration::valueForKey(), and FWConfiguration::version().
void FWTableView::toggleShowHide | ( | ) |
Definition at line 495 of file FWTableView.cc.
References arrow_down(), arrow_down_disabled(), arrow_right(), arrow_right_disabled(), FWColorManager::background(), FWViewManagerBase::colorManager(), mps_check::disabled, down, m_column_control, m_columnUIButton, m_manager, m_showColumnUI, m_vert, and FWCustomIconsButton::swapIcons().
void FWTableView::updateEvaluators | ( | ) |
Definition at line 543 of file FWTableView.cc.
References m_tableManager, and FWTableViewTableManager::updateEvaluators().
Referenced by dataChanged().
void FWTableView::updateItems | ( | void | ) |
Reconstructs the combo box using the information coming from FWEventItemsManager.
Definition at line 519 of file FWTableView.cc.
References MillePedeFileConverter_cfg::e, mps_fire::i, item(), FWTableViewManager::items(), m_collection, m_iColl, m_manager, METSkim_cff::Min, and FWEventItem::name().
Referenced by FWTableView().
|
friend |
Definition at line 51 of file FWTableView.h.
|
protected |
Definition at line 86 of file FWTableView.h.
Referenced by FWTableView(), setFrom(), and updateItems().
|
protected |
Definition at line 87 of file FWTableView.h.
Referenced by FWTableView(), and toggleShowHide().
|
protected |
Definition at line 95 of file FWTableView.h.
Referenced by addColumn(), columnSelected(), deleteColumn(), FWTableView(), and modifyColumn().
|
protected |
Definition at line 94 of file FWTableView.h.
Referenced by addColumn(), columnSelected(), deleteColumn(), FWTableView(), and modifyColumn().
|
protected |
Definition at line 97 of file FWTableView.h.
Referenced by addColumn(), columnSelected(), deleteColumn(), FWTableView(), and modifyColumn().
|
protected |
Definition at line 93 of file FWTableView.h.
Referenced by FWTableView(), and toggleShowHide().
|
protected |
Definition at line 98 of file FWTableView.h.
Referenced by addColumn(), columnSelected(), deleteColumn(), and modifyColumn().
|
protected |
Definition at line 85 of file FWTableView.h.
Referenced by FWTableView(), and ~FWTableView().
|
protected |
Definition at line 88 of file FWTableView.h.
Referenced by addTo(), item(), selectCollection(), FWTableViewTableManager::updateEvaluators(), and updateItems().
|
protected |
Definition at line 89 of file FWTableView.h.
Referenced by addColumn(), addTo(), FWTableViewTableManager::cellRenderer(), deleteColumn(), FWTableView(), item(), modifyColumn(), FWTableViewTableManager::rowHeader(), selectCollection(), setFrom(), toggleShowHide(), FWTableViewTableManager::updateEvaluators(), and updateItems().
|
protected |
Definition at line 92 of file FWTableView.h.
Referenced by toggleShowHide().
|
protected |
Definition at line 90 of file FWTableView.h.
Referenced by addColumn(), columnSelected(), dataChanged(), deleteColumn(), FWTableView(), modifyColumn(), saveImageTo(), selectCollection(), setFrom(), updateEvaluators(), and ~FWTableView().
|
protected |
Definition at line 91 of file FWTableView.h.
Referenced by addColumn(), addTo(), deleteColumn(), FWTableView(), FWTableViewTableManager::FWTableViewTableManager(), FWTableViewTableManager::implSort(), modifyColumn(), resetColors(), selectCollection(), setBackgroundColor(), and setFrom().
|
protected |
Definition at line 99 of file FWTableView.h.
Referenced by selectCollection().
|
protected |
Definition at line 96 of file FWTableView.h.
Referenced by FWTableView(), selectCollection(), and ~FWTableView().
|
protected |
Definition at line 87 of file FWTableView.h.
Referenced by FWTableView(), toggleShowHide(), and ~FWTableView().