MCPcopy Create free account
hub / github.com/OpenMS/OpenMS / addCountRow

Function addCountRow

src/openms_gui/source/VISUAL/DIALOGS/LayerStatisticsDialog.cpp:128–137  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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),

Callers 1

LayerStatisticsDialogMethod · 0.85

Calls 3

addEmptyRowFunction · 0.85
populateRowFunction · 0.85
toStringWithLocaleFunction · 0.85

Tested by

no test coverage detected