10 : m_view(view), m_graphicsContext(nullptr), m_renderer(nullptr) {
29 std::vector<std::string>
ret;
31 for (
unsigned int i = 0;
i <
n; ++
i) {
45 const int acceptColumn = 1;
68 template <
typename TMap>
70 const std::vector<FWTriggerTableView::Column>& iData,
72 std::vector<int>& oRowToIndex) {
73 unsigned int index = 0;
74 for (std::vector<std::string>::const_iterator it = iData.at(col).values.begin(), itEnd = iData.at(col).values.end();
77 iOrdered.insert(std::make_pair(*it, index));
80 for (
typename TMap::iterator it = iOrdered.begin(), itEnd = iOrdered.end(); it != itEnd; ++it, ++row) {
81 oRowToIndex[row] = it->second;
88 std::multimap<std::string, int, std::greater<std::string> > ordered;
91 std::multimap<std::string, int> ordered;
tuple ret
prodAgent to be discontinued
FWTextTableCellRenderer * m_renderer
FWTableCellRendererBase * cellRenderer(int iSortedRowNumber, int iCol) const override
const FWTriggerTableView * m_view
std::vector< Column > m_columns
int numberOfColumns() const override
Number of columns in the table.
void implSort(int iCol, bool iSortOrder) override
void dataChanged()
Classes which inherit from FWTableManagerBase must call this when their underlying data changes...
FWTableWidget * m_tableWidget
int numberOfRows() const override
Number of rows in the table.
FWTriggerTableViewTableManager(const FWTriggerTableView *)
std::vector< int > m_sortedToUnsortedIndices
Color_t backgroundColor() const
void setData(const std::string &, bool isSelected)
std::vector< std::string > getTitles() const override
returns the title names for each column
~FWTriggerTableViewTableManager() override
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 und...