| 122 | } |
| 123 | |
| 124 | void UpdateItemTableRow(QTableWidget *table, int row, |
| 125 | const QStringList &cellLabels) |
| 126 | { |
| 127 | int col = 1; // Skip the name cell |
| 128 | for (const auto &cellLabel : cellLabels) { |
| 129 | auto item = table->item(row, col); |
| 130 | item->setText(cellLabel); |
| 131 | item->setToolTip(cellLabel); |
| 132 | col++; |
| 133 | } |
| 134 | } |
| 135 | |
| 136 | void RenameItemTableRow(QTableWidget *table, const QString &oldName, |
| 137 | const QString &newName) |
no test coverage detected