Public Member Functions | |
virtual FWTableCellRendererBase * | cellRenderer (int iSortedRowNumber, int iCol) const override |
DataAdderTableManager (FWJobMetadataManager *manager) | |
virtual std::vector< std::string > | getTitles () const override |
returns the title names for each column More... | |
virtual void | implSort (int col, bool sortOrder) override |
Called by 'sort' method to actually handle the sorting of the rows. Arguments are the same as 'sort'. More... | |
virtual int | numberOfColumns () const override |
Number of columns in the table. More... | |
virtual int | numberOfRows () const override |
Number of rows in the table. More... | |
void | reset () |
virtual bool | rowIsSelected (int row) const |
int | selectedRow () const |
void | setSelection (int row, int mask) |
virtual void | sortWithFilter (const char *filter) |
virtual const std::string | title () const |
virtual 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... | |
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... | |
ClassDef (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... | |
virtual | ~FWTableManagerBase () |
Public Attributes | |
sigc::signal< void, int > | indexSelected_ |
Private Member Functions | |
void | changeSelection (int iRow) |
Private Attributes | |
std::string | m_filter |
FWJobMetadataManager * | m_manager |
FWTextTableCellRenderer | m_renderer |
std::vector< int > | m_row_to_index |
int | m_selectedRow |
Additional Inherited Members |
Definition at line 71 of file FWGUIEventDataAdder.cc.
|
inline |
Definition at line 73 of file FWGUIEventDataAdder.cc.
References reset().
|
inlineoverridevirtual |
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 113 of file FWGUIEventDataAdder.cc.
References AlCaHLTBitMon_QueryRunRegistry::data, dataForColumn(), m_manager, m_renderer, m_row_to_index, m_selectedRow, FWTextTableCellRenderer::setData(), AlCaHLTBitMon_QueryRunRegistry::string, and FWJobMetadataManager::usableData().
|
inlineprivate |
Definition at line 159 of file FWGUIEventDataAdder.cc.
References indexSelected_, m_selectedRow, and FWTableManagerBase::visualPropertiesChanged().
Referenced by reset(), and setSelection().
|
inlineoverridevirtual |
returns the title names for each column
Implements FWTableManagerBase.
Definition at line 102 of file FWGUIEventDataAdder.cc.
References kNColumns.
|
overridevirtual |
Called by 'sort' method to actually handle the sorting of the rows. Arguments are the same as 'sort'.
Implements FWTableManagerBase.
Definition at line 338 of file FWGUIEventDataAdder.cc.
References m_filter, m_manager, m_row_to_index, FWTableManagerBase::sortOrder(), and FWJobMetadataManager::usableData().
|
inlineoverridevirtual |
Number of columns in the table.
Implements FWTableManagerBase.
Definition at line 82 of file FWGUIEventDataAdder.cc.
References kNColumns.
|
inlineoverridevirtual |
Number of rows in the table.
Implements FWTableManagerBase.
Definition at line 79 of file FWGUIEventDataAdder.cc.
References m_row_to_index.
|
inline |
Definition at line 148 of file FWGUIEventDataAdder.cc.
References changeSelection(), FWTableManagerBase::dataChanged(), i, m_manager, m_row_to_index, and FWJobMetadataManager::usableData().
Referenced by DataAdderTableManager(), and FWGUIEventDataAdder::metadataUpdatedSlot().
|
inlinevirtual |
|
inline |
|
inline |
Definition at line 127 of file FWGUIEventDataAdder.cc.
References changeSelection(), and m_selectedRow.
Referenced by FWGUIEventDataAdder::rowClicked().
|
inlinevirtual |
Updates the table using the passed filter. Notice that in this case we reset the sorting and show results by those best matching the filter.
Definition at line 90 of file FWGUIEventDataAdder.cc.
References FWTableManagerBase::dataChanged(), alcazmumu_cfi::filter, m_filter, FWTableManagerBase::sort(), and FWTableManagerBase::sortOrder().
Referenced by FWGUIEventDataAdder::updateFilterString().
|
inlinevirtual |
Definition at line 136 of file FWGUIEventDataAdder.cc.
Referenced by cuy.plotElement::__init__(), cuy.additionElement::__init__(), cuy.superimposeElement::__init__(), cuy.graphElement::__init__(), Vispa.Views.LineDecayView.LineDecayContainer::autolayout(), Vispa.Views.LineDecayView.LineDecayContainer::autolayoutThreadFinished(), Vispa.Views.LineDecayView.LineDecayContainer::childFinishedAutolayouting(), and Vispa.Gui.PortWidget.PortWidget::name().
|
inlineoverridevirtual |
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 97 of file FWGUIEventDataAdder.cc.
References m_row_to_index.
sigc::signal<void,int> DataAdderTableManager::indexSelected_ |
Definition at line 157 of file FWGUIEventDataAdder.cc.
Referenced by changeSelection(), and FWGUIEventDataAdder::createWindow().
|
private |
Definition at line 173 of file FWGUIEventDataAdder.cc.
Referenced by implSort(), and sortWithFilter().
|
private |
Definition at line 170 of file FWGUIEventDataAdder.cc.
Referenced by cellRenderer(), implSort(), and reset().
|
mutableprivate |
Definition at line 174 of file FWGUIEventDataAdder.cc.
Referenced by cellRenderer().
|
private |
Definition at line 171 of file FWGUIEventDataAdder.cc.
Referenced by cellRenderer(), implSort(), numberOfRows(), reset(), and unsortedRowNumber().
|
private |
Definition at line 172 of file FWGUIEventDataAdder.cc.
Referenced by cellRenderer(), changeSelection(), rowIsSelected(), selectedRow(), and setSelection().