#include <Fireworks/Core/interface/FWTableView.h>
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(), 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(), alignCSCRings::e, FWTableWidget::forceLayout(), fwLog, 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, submitPVResolutionJobs::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, ecaldqm::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, FWTableViewManager::TableEntry::expression, m_column_expr_field, m_column_name_field, m_column_prec_field, m_currentColumn, FWTableViewTableManager::m_tableFormats, m_tableManager, FWTableViewManager::TableEntry::name, and FWTableViewManager::TableEntry::precision.
void FWTableView::dataChanged | ( | ) |
Definition at line 551 of file FWTableView.cc.
References FWTableViewTableManager::dataChanged(), m_tableManager, and updateEvaluators().
Referenced by FWTableViewManager::notifyViews(), and 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(), alignCSCRings::e, FWTableWidget::forceLayout(), fwLog, 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, submitPVResolutionJobs::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 c, FWTableViewTableManager::cellRenderer(), gather_cfg::cout, FWTextTableCellRenderer::data(), data, diffTreeTool::format(), FWTableViewTableManager::m_tableFormats, m_tableManager, FWTableViewTableManager::numberOfColumns(), FWTableViewTableManager::numberOfRows(), gpuVertexFinder::printf(), 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(), EcnaPython_AdcPeg12_S1_10_R170298_1_0_150_Dee0::cerr, universalConfigTemplate::collection, ecaldqm::collectionName, FWTableViewManager::items(), kCollection, kDescendingSort, kSortColumn, kTableView, m_collection, m_manager, m_tableManager, m_tableWidget, FWTableViewManager::m_views, magneticFieldFilterJSON::main(), FWTableViewTableManager::numberOfColumns(), FWConfigurableParameterizable::setFrom(), FWTableViewManager::setFrom(), FWTableWidget::sort(), AlCaHLTBitMon_QueryRunRegistry::string, FWConfiguration::value(), 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 alignCSCRings::e, mps_fire::i, item(), FWTableViewManager::items(), m_collection, m_iColl, m_manager, siStripFEDMonitor_P5_cff::Min, and FWEventItem::name().
Referenced by FWTableView(), and FWTableViewManager::notifyViews().
|
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().