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

Function addEmptyRow

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

Source from the content-addressed store, hash-verified

57 }
58
59 void addEmptyRow(QTableWidget* table, const int row_i, const QString& row_name)
60 {
61 table->setRowCount(row_i + 1);
62
63 // set row header name
64 QTableWidgetItem* item = new QTableWidgetItem();
65 item->setText(row_name);
66 table->setVerticalHeaderItem(row_i, item);
67 }
68
69 constexpr int col_count = 4; // columns: count, min, max, avg
70

Callers 3

addHeaderRowFunction · 0.85
addRangeRowFunction · 0.85
addCountRowFunction · 0.85

Calls 1

setTextMethod · 0.80

Tested by

no test coverage detected