| 192 | } |
| 193 | |
| 194 | virtual QModelIndex mapToSource(const QModelIndex &proxyIndex) const override |
| 195 | { |
| 196 | int row = -1; |
| 197 | if(proxyIndex.row() >= 0 && proxyIndex.row() < m_VisibleRows.count()) |
| 198 | row = m_VisibleRows[proxyIndex.row()]; |
| 199 | |
| 200 | return sourceModel()->index(row, proxyIndex.column()); |
| 201 | } |
| 202 | |
| 203 | virtual int rowCount(const QModelIndex &parent = QModelIndex()) const override |
| 204 | { |
no test coverage detected