| 126 | } |
| 127 | |
| 128 | void addCountRow(QTableWidget* table, int& row_i, const QString& row_name, const StatsCounter& row_data) |
| 129 | { |
| 130 | addEmptyRow(table, row_i, row_name); |
| 131 | |
| 132 | // column data |
| 133 | populateRow(table, row_i, {toStringWithLocale(row_data.counter), "-", "-", "-"}); |
| 134 | |
| 135 | // next row |
| 136 | ++row_i; |
| 137 | } |
| 138 | |
| 139 | LayerStatisticsDialog::LayerStatisticsDialog(PlotWidget* parent, std::unique_ptr<LayerStatistics>&& stats) : |
| 140 | QDialog(parent), |
no test coverage detected