1
Fork 0
mirror of https://github.com/redstrate/Novus.git synced 2025-04-25 13:17:46 +00:00

Add support for showing excel data types in column headers

This commit is contained in:
Joshua Goins 2022-04-11 11:58:06 -04:00
parent 42d9234b70
commit e3e71c10ad
2 changed files with 5 additions and 1 deletions

2
libxiv

@ -1 +1 @@
Subproject commit 58cd40912f15c4c66d157eab4ed708755803c753
Subproject commit fbe386c958e5caa716aac13c82e05af0c4abcbe7

View file

@ -55,6 +55,10 @@ MainWindow::MainWindow(GameData& data) : data(data) {
auto newItem = new QTableWidgetItem(exd.rows[i].data[j].data.c_str());
tableWidget->setItem(i, j, newItem);
QTableWidgetItem* headerItem = new QTableWidgetItem();
headerItem->setText(exd.rows[i].data[j].type.c_str());
tableWidget->setHorizontalHeaderItem(j, headerItem);
}
}
}