Simple implementation of CSV file import. Successfully imported items are appended to the model.

This commit is contained in:
2026-01-04 13:38:54 +01:00
parent 2ccbe3839a
commit 2702b9c835
10 changed files with 258 additions and 13 deletions

View File

@ -50,5 +50,13 @@ static int GET_ROLE_FOR_COLUMN(const int column) {
break;
}
}
static QList<QString> GET_HEADER_NAMES() {
QList<QString> result;
for (const UserRoles& role : USER_FACING_ROLES) {
const QString headerName = ROLE_NAMES.value(role);
result.append(headerName);
}
return result;
}
#endif // METADATA_H