#include <Fireworks/Core/interface/FWTriggerTableViewTableManager.h>
Public Member Functions | |
FWTableCellRendererBase * | cellRenderer (int iSortedRowNumber, int iCol) const override |
void | dataChanged () |
FWTriggerTableViewTableManager (const FWTriggerTableView *) | |
FWTriggerTableViewTableManager (const FWTriggerTableViewTableManager &)=delete | |
std::vector< std::string > | getTitles () const override |
returns the title names for each column More... | |
int | numberOfColumns () const override |
Number of columns in the table. More... | |
int | numberOfRows () const override |
Number of rows in the table. More... | |
const FWTriggerTableViewTableManager & | operator= (const FWTriggerTableViewTableManager &)=delete |
int | unsortedRowNumber (int iSortedRowNumber) const override |
when passed the index to the sorted order of the rows it returns the original row number from the underlying data More... | |
~FWTriggerTableViewTableManager () override | |
Public Member Functions inherited from FWTableManagerBase | |
virtual void | buttonPressedInRowHeader (Int_t row, Event_t *event, Int_t relX, Int_t relY) |
Called if mouse button pressed in Row Header, defaults is to do nothing. More... | |
virtual void | buttonReleasedInRowHeader (Int_t row, Event_t *event, Int_t relX, Int_t relY) |
virtual bool | cellDataIsSortable () const |
virtual unsigned int | cellHeight () const |
require all cells to be the same height More... | |
ClassDefOverride (FWTableManagerBase, 0) | |
void | dataChanged () |
Classes which inherit from FWTableManagerBase must call this when their underlying data changes. More... | |
FWTableManagerBase () | |
virtual bool | hasLabelHeaders () const |
virtual bool | hasRowHeaders () const |
Returns 'true' if this table has row headers. Defaults return value is false. More... | |
virtual std::vector< unsigned int > | maxWidthForColumns () const |
for each column in the table this returns the present maximum width for that column More... | |
virtual FWTableCellRendererBase * | rowHeader (int iSortedRowNumber) const |
Returns the renderer for the row header for the sorted row number iSortedRowNumber. More... | |
void | sort (int iCol, bool iSortOrder) |
Call to have table sorted on values in column iCol with the sort order being descending if iSortOrder is 'true'. More... | |
int | sortColumn (void) |
The current sort column. More... | |
bool | sortOrder (void) |
The current sort order for the table. More... | |
void | visualPropertiesChanged () |
Classes which inherit from FWTableManagerBase must call this when how the data is shown (e.g. color) changes. More... | |
~FWTableManagerBase () override | |
Protected Member Functions | |
void | implSort (int iCol, bool iSortOrder) override |
Protected Attributes | |
TGGC * | m_graphicsContext |
FWTextTableCellRenderer * | m_renderer |
std::vector< int > | m_sortedToUnsortedIndices |
const FWTriggerTableView * | m_view |
Friends | |
class | FWTriggerTableView |
Definition at line 31 of file FWTriggerTableViewTableManager.h.
FWTriggerTableViewTableManager::FWTriggerTableViewTableManager | ( | const FWTriggerTableView * | view | ) |
Definition at line 9 of file FWTriggerTableViewTableManager.cc.
References m_graphicsContext, m_renderer, FWTriggerTableView::m_tableWidget, and m_view.
|
override |
Definition at line 16 of file FWTriggerTableViewTableManager.cc.
References m_renderer.
|
delete |
|
overridevirtual |
Returns the particular renderer used to handle the requested cell. Arguments: iSortedRowNumber: the row number from the present sort (i.e. the cell number of the view) iCol: the column number of the cell. The returned value must be used immediately and not held onto since the same Renderer can be used for subsequent calls
Implements FWTableManagerBase.
Definition at line 43 of file FWTriggerTableViewTableManager.cc.
References FWTriggerTableView::backgroundColor(), createfilelist::int, FWTriggerTableView::m_columns, m_graphicsContext, m_renderer, m_view, FWTextTableCellRenderer::setData(), AlCaHLTBitMon_QueryRunRegistry::string, and unsortedRowNumber().
Referenced by FWTriggerTableView::saveImageTo().
void FWTriggerTableViewTableManager::dataChanged | ( | void | ) |
Definition at line 60 of file FWTriggerTableViewTableManager.cc.
References FWTableManagerBase::dataChanged(), mps_fire::i, m_sortedToUnsortedIndices, and numberOfRows().
Referenced by FWTriggerTableView::dataChanged(), and FWHLTTriggerTableView::fillTable().
|
overridevirtual |
returns the title names for each column
Implements FWTableManagerBase.
Definition at line 27 of file FWTriggerTableViewTableManager.cc.
References mps_fire::i, FWTriggerTableView::m_columns, m_view, dqmiodumpmetadata::n, numberOfColumns(), and runTheMatrix::ret.
|
overrideprotectedvirtual |
Called by 'sort' method to actually handle the sorting of the rows. Arguments are the same as 'sort'
Implements FWTableManagerBase.
Definition at line 86 of file FWTriggerTableViewTableManager.cc.
References cuy::col, HLT_2024v12_cff::doSort, FWTriggerTableView::m_columns, m_sortedToUnsortedIndices, m_view, and FWTableManagerBase::sortOrder().
|
overridevirtual |
Number of columns in the table.
Implements FWTableManagerBase.
Definition at line 25 of file FWTriggerTableViewTableManager.cc.
References FWTriggerTableView::m_columns, and m_view.
Referenced by getTitles(), FWTriggerTableView::saveImageTo(), and FWTriggerTableView::setFrom().
|
overridevirtual |
Number of rows in the table.
Implements FWTableManagerBase.
Definition at line 18 of file FWTriggerTableViewTableManager.cc.
References FWTriggerTableView::m_columns, and m_view.
Referenced by dataChanged(), and FWTriggerTableView::saveImageTo().
|
delete |
|
overridevirtual |
when passed the index to the sorted order of the rows it returns the original row number from the underlying data
Implements FWTableManagerBase.
Definition at line 37 of file FWTriggerTableViewTableManager.cc.
References m_sortedToUnsortedIndices.
Referenced by cellRenderer().
|
friend |
Definition at line 32 of file FWTriggerTableViewTableManager.h.
|
protected |
Definition at line 55 of file FWTriggerTableViewTableManager.h.
Referenced by cellRenderer(), and FWTriggerTableViewTableManager().
|
protected |
Definition at line 56 of file FWTriggerTableViewTableManager.h.
Referenced by cellRenderer(), FWTriggerTableViewTableManager(), and ~FWTriggerTableViewTableManager().
|
protected |
Definition at line 52 of file FWTriggerTableViewTableManager.h.
Referenced by dataChanged(), implSort(), and unsortedRowNumber().
|
protected |
Definition at line 54 of file FWTriggerTableViewTableManager.h.
Referenced by cellRenderer(), FWTriggerTableViewTableManager(), getTitles(), implSort(), numberOfColumns(), and numberOfRows().