CSV import has now support for optional columns.

This commit is contained in:
2026-03-12 10:37:12 +01:00
parent 5530aff2f3
commit 5b62f9461b
4 changed files with 19 additions and 10 deletions

View File

@ -41,6 +41,8 @@ static QList<UserRoles> DOUBLE_ROLES = {FactorRole};
static const QList<UserRoles> TYPE_ROLES = {TypeRole};
static const QList<QString> TYPES = {"A", "B", "C", ""};
static const QStringList OPTIONAL_CSV_HEADERS = {"description", "info"};
/// JSON keys
static const QString ITEMS_KEY_STRING = "items";
static const QString ITEM_KEY_STRING = "item";