#include <Fireworks/Core/interface/FWTableView.h>
Public Member Functions | |
void | addColumn () |
virtual void | addTo (FWConfiguration &) const |
void | columnSelected (Int_t iCol, Int_t iButton, Int_t iKeyMod) |
void | dataChanged () |
void | deleteColumn () |
FWTableView (TEveWindowSlot *, FWTableViewManager *) | |
const FWEventItem * | item () const |
void | modelSelected (Int_t iRow, Int_t iButton, Int_t iKeyMod, Int_t, Int_t) |
void | modifyColumn () |
void | resetColors (const class FWColorManager &) |
virtual void | saveImageTo (const std::string &iName) const |
void | selectCollection (Int_t) |
void | setBackgroundColor (Color_t) |
virtual void | setFrom (const FWConfiguration &) |
void | toggleShowHide () |
void | updateEvaluators () |
void | updateItems () |
virtual | ~FWTableView () |
Public Member Functions inherited from FWViewBase | |
virtual FWViewContextMenuHandlerBase * | contextMenuHandler () const |
void | destroy () |
FWViewBase (FWViewType::EType, unsigned int iVersion=1) | |
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) | |
unsigned int | version () const |
virtual | ~FWConfigurableParameterizable () |
Public Member Functions inherited from FWParameterizable | |
void | add (FWParameterBase *) |
const_iterator | begin () const |
const_iterator | end () const |
FWParameterizable () | |
virtual | ~FWParameterizable () |
Public Member Functions inherited from FWConfigurable | |
FWConfigurable () | |
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 |
Private Member Functions | |
FWTableView (const FWTableView &) | |
const FWTableView & | operator= (const FWTableView &) |
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 | |
virtual | ~FWViewBase () |
Description: <one line="" class="" summary>="">
Usage: <usage>
Definition at line 50 of file FWTableView.h.
FWTableView::FWTableView | ( | TEveWindowSlot * | iParent, |
FWTableViewManager * | manager | ||
) |
Definition at line 206 of file FWTableView.cc.
References arrow_right(), arrow_right_disabled(), FWColorManager::background(), FWViewManagerBase::colorManager(), diffTwoXMLs::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().
|
virtual |
Definition at line 294 of file FWTableView.cc.
References m_eveWindow, m_tableManager, m_validator, and m_vert.
|
private |
void FWTableView::addColumn | ( | ) |
Definition at line 667 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, and AlCaHLTBitMon_QueryRunRegistry::string.
|
virtual |
Reimplemented from FWConfigurableParameterizable.
Definition at line 336 of file FWTableView.cc.
References FWConfiguration::addKeyValue(), FWConfigurableParameterizable::addTo(), FWTableViewManager::addToImpl(), runEdmFileComparison::collection, ecaldqm::collectionName, FWTableWidget::descendingSort(), FWTableViewManager::items(), kCollection, kDescendingSort, kSortColumn, kTableView, m_iColl, m_manager, m_tableWidget, FWTableViewManager::m_views, main(), FWTableWidget::sortedColumn(), and AlCaHLTBitMon_QueryRunRegistry::string.
void FWTableView::columnSelected | ( | Int_t | iCol, |
Int_t | iButton, | ||
Int_t | iKeyMod | ||
) |
Definition at line 648 of file FWTableView.cc.
References 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 585 of file FWTableView.cc.
References FWTableViewTableManager::dataChanged(), m_tableManager, and updateEvaluators().
Referenced by FWTableViewManager::notifyViews(), and selectCollection().
void FWTableView::deleteColumn | ( | ) |
Definition at line 693 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 578 of file FWTableView.cc.
References FWTableViewManager::items(), m_iColl, and m_manager.
Referenced by Vispa.Views.TableView.TableView::_selectedRow(), FWTableViewTableManager::cellRenderer(), FWTableViewTableManager::dataChanged(), FWTableViewTableManager::implSort(), Vispa.Views.TableView.TableView::itemSelectionChanged(), modelSelected(), FWTableViewTableManager::numberOfRows(), FWTableViewTableManager::rowHeader(), Vispa.Views.TableView.TableView::select(), selectCollection(), Vispa.Views.TableView.TableView::selection(), and updateItems().
void FWTableView::modelSelected | ( | Int_t | iRow, |
Int_t | iButton, | ||
Int_t | iKeyMod, | ||
Int_t | iGlobalX, | ||
Int_t | iGlobalY | ||
) |
Definition at line 634 of file FWTableView.cc.
References FWSelectionManager::clearSelection(), item(), FWViewBase::openSelectedModelContextMenu_, FWEventItem::select(), FWEventItem::selectionManager(), and FWEventItem::toggleSelect().
void FWTableView::modifyColumn | ( | ) |
Definition at line 711 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, and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
void FWTableView::resetColors | ( | const class FWColorManager & | ) |
Definition at line 314 of file FWTableView.cc.
References FWColorManager::background(), FWColorManager::foreground(), m_tableWidget, FWTableWidget::SetBackgroundColor(), and FWTableWidget::SetLineSeparatorColor().
Referenced by FWTableView().
|
virtual |
Implements FWViewBase.
Definition at line 443 of file FWTableView.cc.
References EnergyCorrector::c, FWTableViewTableManager::cellRenderer(), gather_cfg::cout, FWTextTableCellRenderer::data(), data, cmsPerfStripChart::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 606 of file FWTableView.cc.
References 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 307 of file FWTableView.cc.
References m_tableWidget, and FWTableWidget::SetBackgroundColor().
Referenced by Vispa.Plugins.EdmBrowser.EventContentView.LabelItem::__init__().
|
virtual |
Reimplemented from FWConfigurableParameterizable.
Definition at line 377 of file FWTableView.cc.
References assert(), ecal_dqm_sourceclient-live_cfg::cerr, runEdmFileComparison::collection, ecaldqm::collectionName, FWTableViewManager::items(), kCollection, kDescendingSort, kSortColumn, kTableView, m_collection, m_manager, m_tableManager, m_tableWidget, FWTableViewManager::m_views, main(), FWTableViewTableManager::numberOfColumns(), FWConfigurableParameterizable::setFrom(), FWTableViewManager::setFrom(), FWTableWidget::sort(), python.multivaluedict::sort(), AlCaHLTBitMon_QueryRunRegistry::string, FWConfiguration::value(), FWConfiguration::valueForKey(), and FWConfiguration::version().
void FWTableView::toggleShowHide | ( | ) |
Definition at line 521 of file FWTableView.cc.
References arrow_down(), arrow_down_disabled(), arrow_right(), arrow_right_disabled(), FWColorManager::background(), FWViewManagerBase::colorManager(), down, m_column_control, m_columnUIButton, m_manager, m_showColumnUI, m_vert, and FWCustomIconsButton::swapIcons().
void FWTableView::updateEvaluators | ( | ) |
Definition at line 573 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 546 of file FWTableView.cc.
References alignCSCRings::e, i, cmsHarvester::index, item(), FWTableViewManager::items(), m_collection, m_iColl, m_manager, Min(), and FWEventItem::name().
Referenced by FWTableView(), and FWTableViewManager::notifyViews().
|
friend |
Definition at line 51 of file FWTableView.h.
|
protected |
Definition at line 87 of file FWTableView.h.
Referenced by FWTableView(), setFrom(), and updateItems().
|
protected |
Definition at line 88 of file FWTableView.h.
Referenced by FWTableView(), and toggleShowHide().
|
protected |
Definition at line 96 of file FWTableView.h.
Referenced by addColumn(), columnSelected(), deleteColumn(), FWTableView(), and modifyColumn().
|
protected |
Definition at line 95 of file FWTableView.h.
Referenced by addColumn(), columnSelected(), deleteColumn(), FWTableView(), and modifyColumn().
|
protected |
Definition at line 98 of file FWTableView.h.
Referenced by addColumn(), columnSelected(), deleteColumn(), FWTableView(), and modifyColumn().
|
protected |
Definition at line 94 of file FWTableView.h.
Referenced by FWTableView(), and toggleShowHide().
|
protected |
Definition at line 99 of file FWTableView.h.
Referenced by addColumn(), columnSelected(), deleteColumn(), and modifyColumn().
|
protected |
Definition at line 86 of file FWTableView.h.
Referenced by FWTableView(), and ~FWTableView().
|
protected |
Definition at line 89 of file FWTableView.h.
Referenced by addTo(), item(), selectCollection(), FWTableViewTableManager::updateEvaluators(), and updateItems().
|
protected |
Definition at line 90 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 93 of file FWTableView.h.
Referenced by toggleShowHide().
|
protected |
Definition at line 91 of file FWTableView.h.
Referenced by addColumn(), columnSelected(), dataChanged(), deleteColumn(), FWTableView(), modifyColumn(), saveImageTo(), selectCollection(), setFrom(), updateEvaluators(), and ~FWTableView().
|
protected |
Definition at line 92 of file FWTableView.h.
Referenced by addColumn(), addTo(), deleteColumn(), FWTableView(), FWTableViewTableManager::FWTableViewTableManager(), FWTableViewTableManager::implSort(), modifyColumn(), resetColors(), selectCollection(), setBackgroundColor(), and setFrom().
|
protected |
Definition at line 100 of file FWTableView.h.
Referenced by selectCollection().
|
protected |
Definition at line 97 of file FWTableView.h.
Referenced by FWTableView(), selectCollection(), and ~FWTableView().
|
protected |
Definition at line 88 of file FWTableView.h.
Referenced by FWTableView(), toggleShowHide(), and ~FWTableView().