Added a ModelItem class to hold the data for each row.

This commit is contained in:
2025-12-03 11:07:39 +01:00
parent 6a3725bde7
commit 0dba9639e6
6 changed files with 129 additions and 7 deletions

View File

@ -72,7 +72,10 @@ void GenericCore::triggerApplicationUpdate() {
std::shared_ptr<QAbstractItemModel> GenericCore::getModel() const { return m_mainModel; }
void GenericCore::setupModels() { m_mainModel = make_shared<TableModel>(this); }
void GenericCore::setupModels() {
m_mainModel = make_shared<TableModel>(this);
// TODO add QAbstractItemModelTester
}
QString GenericCore::getMaintenanceToolFilePath() const {
QString applicationDirPath = QCoreApplication::applicationDirPath();